| | |
| | | </a-form-model-item> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-form-model-item :labelCol="labelColLong" :wrapperCol="wrapperColLong" prop="remark" label="保养图片"> |
| | | <a-form-model-item :labelCol="labelColLong" :wrapperCol="wrapperColLong" label="保养图片"> |
| | | <lx-upload :returnUrl="false" |
| | | :isMultiple="true" |
| | | file-type="image" |
| | | :disabled="confirmDisable" |
| | | :number="3" |
| | | v-model="model.imageFilesResult"/> |
| | | </a-form-model-item> |
| | | </a-row> |
| | |
| | | </a-card> |
| | | </a-tab-pane> |
| | | <a-tab-pane key='3' tab='流程图'> |
| | | <img :src="imageSrc" alt="Fetched Image"/>--> |
| | | <img :src="imageSrc" alt="Fetched Image"/> |
| | | </a-tab-pane> |
| | | </template> |
| | | <a-button v-if="!disableSubmit &&!confirmDisable&& selectedRowKeys.length > 0" slot="tabBarExtraContent" |
| | |
| | | :disabled="disableSubmit || finalAcceptanceDisable"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="6"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="initialAcceptanceFilesResult" |
| | | label="初验收附件"> |
| | | <lx-upload :returnUrl="false" |
| | | :isMultiple="true" |
| | | :disabled="disableSubmit || finalAcceptanceDisable" |
| | | v-model="model.initialAcceptanceFilesResult"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="randomInspectionFlag" |
| | | label="抽检标记"> |
| | | <lx-switch |
| | | checked-children='是' |
| | | un-checked-children='否' |
| | | v-model="model.randomInspectionFlag" |
| | | :disabled="disableSubmit || finalAcceptanceDisable" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | :disabled="disableSubmit || completionDisable"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="12"> |
| | | <a-col :span="6"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="finalAcceptanceFilesResult" |
| | | label="终验收附件"> |
| | | <lx-upload :returnUrl="false" |
| | | :isMultiple="true" |
| | | :disabled="disableSubmit || completionDisable" |
| | | v-model="model.finalAcceptanceFilesResult"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" prop="finalRandomInspectionFlag" |
| | | label="抽检标记"> |
| | | <lx-switch |
| | | checked-children='是' |
| | | un-checked-children='否' |
| | | v-model="model.finalRandomInspectionFlag" |
| | | :disabled="disableSubmit || completionDisable" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | }, |
| | | |
| | | recordDetail(record) { |
| | | console.log('record', record) |
| | | this.initParams() |
| | | this.model = Object.assign({}, record) |
| | | if (this.model.imageFiles) { |
| | |
| | | // 触发表单验证 |
| | | this.$refs.form.validate(valid => { |
| | | if (valid) { |
| | | that.confirmLoading = that.spinning = true |
| | | let tableData = that.$refs.editableDetailTable.getTableData() |
| | | |
| | | that.model.tableDetailList = [...tableData] |
| | | |
| | | that.confirmLoading = spinnning = true |
| | | let httpurl = this.url.approval |
| | | let method = 'put' |
| | | |
| | |
| | | that.$message.warning(res.message) |
| | | } |
| | | }).finally(() => { |
| | | that.confirmLoading = spinning = false |
| | | that.confirmLoading = that.spinning = false |
| | | }) |
| | | } else { |
| | | return false |