|
|
|
|
@ -1028,10 +1028,10 @@ export default { |
|
|
|
|
if (isReturn == 1) { |
|
|
|
|
return this.$message.warning('涂色标的工时定额必须大于0,请修改!'); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
const res = await getPartDetail(this.partId); |
|
|
|
|
console.log(res); |
|
|
|
|
let dsCraftMold = res.data.data.dsPartEntity; |
|
|
|
|
console.log(898989,this.partInfoData) |
|
|
|
|
// const res = await getPartDetail(this.partId); |
|
|
|
|
// console.log(res); |
|
|
|
|
let dsCraftMold = this.partInfoData; |
|
|
|
|
|
|
|
|
|
if (dsCraftMold.markingsTest == '1') { |
|
|
|
|
if (!arr.includes('涂色标')) { |
|
|
|
|
@ -1198,6 +1198,8 @@ export default { |
|
|
|
|
this.$message.success('保存成功'); |
|
|
|
|
this.craftLoading = false |
|
|
|
|
this.getDetails(); |
|
|
|
|
}).catch(err=>{ |
|
|
|
|
this.craftLoading = false |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|