|
|
|
|
@ -286,7 +286,7 @@ |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="6" v-if="notGlassCake"> |
|
|
|
|
<el-form-item label="是否印字:" prop="isPrint"> |
|
|
|
|
<el-radio-group v-model="formData.isPrint" > |
|
|
|
|
<el-radio-group v-model="formData.isPrint"> |
|
|
|
|
<el-radio value="2">单</el-radio> |
|
|
|
|
<el-radio value="3">双</el-radio> |
|
|
|
|
<el-radio value="1">否</el-radio> |
|
|
|
|
@ -794,12 +794,11 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 获取零件信息详情数据 |
|
|
|
|
getPartDetails() { |
|
|
|
|
let query_ = {} |
|
|
|
|
if(!this.updateRow.partVersion){ |
|
|
|
|
let query_ = {}; |
|
|
|
|
if (!this.updateRow.partVersion) { |
|
|
|
|
query_ = { taskId: this.updateRow.id, version: this.updateRow.version }; |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
query_ = { version: this.updateRow.partVersion,partCode:this.updateRow.partCode }; |
|
|
|
|
} else { |
|
|
|
|
query_ = { version: this.updateRow.partVersion, partCode: this.updateRow.partCode }; |
|
|
|
|
} |
|
|
|
|
getPartDetail(query_).then(res => { |
|
|
|
|
this.formData = res.data.data.dsPartEntity; |
|
|
|
|
@ -933,20 +932,22 @@ export default { |
|
|
|
|
if (this.formData.plateCode || this.formData.plateThickness) { |
|
|
|
|
if (!this.formData.plateGoodsCode) { |
|
|
|
|
isReturn = true; |
|
|
|
|
this.submitLoading = false |
|
|
|
|
this.submitLoading = false; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (isReturn && this.notSinTer) { |
|
|
|
|
this.submitLoading = false; |
|
|
|
|
return this.$message.warning('请选择镀层物料'); |
|
|
|
|
if (this.partType == '烧结') { |
|
|
|
|
if (isReturn && this.notSinTer) { |
|
|
|
|
this.submitLoading = false; |
|
|
|
|
return this.$message.warning('请选择物料编码'); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (this.formData.craftWay.indexOf('涂色') != -1) { |
|
|
|
|
if ( |
|
|
|
|
this.formData.tsdNum === null && |
|
|
|
|
this.formData.tsbNum === null && |
|
|
|
|
this.formData.tjtNum === null |
|
|
|
|
) { |
|
|
|
|
|
|
|
|
|
this.submitLoading = false; |
|
|
|
|
return this.$message.warning('一级路线包含涂色,请填写涂色数据'); |
|
|
|
|
} |
|
|
|
|
@ -1035,7 +1036,7 @@ export default { |
|
|
|
|
line-height: 50px !important; |
|
|
|
|
} |
|
|
|
|
:deep(.avue-crud .el-table th.el-table__cell) { |
|
|
|
|
height:36px !important; /* 设置你想要的高度 */ |
|
|
|
|
height: 36px !important; /* 设置你想要的高度 */ |
|
|
|
|
line-height: 36px !important; |
|
|
|
|
} |
|
|
|
|
</style> |
|
|
|
|
|