|
|
|
|
@ -794,11 +794,10 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 获取零件信息详情数据 |
|
|
|
|
getPartDetails() { |
|
|
|
|
let query_ = {} |
|
|
|
|
let query_ = {}; |
|
|
|
|
if (!this.updateRow.partVersion) { |
|
|
|
|
query_ = { taskId: this.updateRow.id, version: this.updateRow.version }; |
|
|
|
|
} |
|
|
|
|
else{ |
|
|
|
|
} else { |
|
|
|
|
query_ = { version: this.updateRow.partVersion, partCode: this.updateRow.partCode }; |
|
|
|
|
} |
|
|
|
|
getPartDetail(query_).then(res => { |
|
|
|
|
@ -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 (this.partType == '烧结') { |
|
|
|
|
if (isReturn && this.notSinTer) { |
|
|
|
|
this.submitLoading = false; |
|
|
|
|
return this.$message.warning('请选择镀层物料'); |
|
|
|
|
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('一级路线包含涂色,请填写涂色数据'); |
|
|
|
|
} |
|
|
|
|
|