| | |
| | | </a-col> |
| | | </a-row> |
| | | </div> |
| | | <div :style="{height: '115px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '50px 20px',background: '#fff',}"> |
| | | <div :style="{height: '175px',float: 'left',width: '10%',border: '1px solid #e9e9e9',padding: '50px 20px',background: '#fff',}"> |
| | | <span |
| | | class="ant-descriptions-title" |
| | | style="font-size: large;font-style: normal;font-size: 15px;" |
| | | >零件状态</span> |
| | | </div> |
| | | <div :style="{height: '115px',float: 'right',width: '90%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <div :style="{height: '175px',float: 'right',width: '90%',border: '1px solid #e9e9e9',padding: '10px 10px',background: '#fff',}"> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | :labelCol="{ span: 8 }" |
| | | :wrapperCol="{ span: 12 }" |
| | | label="检测调试后试加工零件号:" |
| | | > |
| | | <a-input v-model="model.sparePart" /> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | <a-row :gutter="24"> |
| | | <a-col :span="12"> |
| | | <a-form-item |
| | | :labelCol="{ span: 8 }" |
| | | :wrapperCol="{ span: 4 }" |
| | | label="检测调试后试加工零件号:" |
| | | label="零件加工:" |
| | | > |
| | | <a-switch |
| | | checked-children="合格" |
| | |
| | | @click="handleOk()" |
| | | type="primary" |
| | | :loading="confirmLoading" |
| | | :disabled="disableSubmit || confirmLoading" |
| | | :disabled="this.model.precisionInspectionStatus == '5'" |
| | | >确定</a-button> |
| | | |
| | | </template> |
| | | </a-modal> |
| | | |
| | |
| | | }, |
| | | |
| | | handleOk() { |
| | | |
| | | // if (this.model.precisionInspectionStatus === '2') { |
| | | // if ((this.model.eachTolerance === "0" || this.model.eachTolerance === 0) && (this.model.partTolerance === "0" || this.model.partTolerance === 0)) { |
| | | // this.$message.warning("请对精度状态结果勾选!"); |
| | | // return |
| | | // } |
| | | // } |
| | | // if (this.model.precisionInspectionStatus === '3') { |
| | | // if ((this.model.processPass === "0" || this.model.processPass === 0) && (this.model.meetProcessRequire === "0" || this.model.meetProcessRequire === 0)) { |
| | | // this.$message.warning("请对零件状态结果勾选!"); |
| | | // return |
| | | // } |
| | | // } |
| | | const that = this; |
| | | // 触发表单验证 |
| | | that.form.validateFields((err, values) => { |
| | | if (!err) { |
| | | this.$confirm({ |
| | |
| | | |
| | | onChangeJudgmentResult(e) { |
| | | this.model.judgmentResult = e.target.value |
| | | this.model = Object.assign({}, this.model); |
| | | }, |
| | | |
| | | handleChange(value, key, column, index) { |