Commit 21bdec38 authored by jingnan's avatar jingnan 👀

胶漆、涂料、阿洛丁查询台账的接口修改为线边库台账的接口,带出批次号修改

parent cf623275
......@@ -424,16 +424,16 @@ export default {
changeEvent(value) {
if (this.itemObj.attrKey === 'certificateNo') {
const obj = this.form.inventory.find(item => item.testNo === value)
this.$set(this.form, 'lotNo', obj.lotNo)
this.$set(this.form, 'lotNo', obj.batchNumber)
if (this.subTypeName === 'AssignCardPaint') {
const lotNoArr = obj.lotNo && obj.lotNo.split('/')
const lotNoArr = obj.batchNumber && obj.batchNumber.split('/')
this.$set(this.form, 'baseLotNo', lotNoArr[0] || '')
this.$set(this.form, 'curingLotNo', lotNoArr[1] || '')
this.$set(this.form, 'diluentLotNo', lotNoArr[2] || '')
}
} else if (this.itemObj.attrKey === 'certificateNum') {
const obj = this.form.inventory.find(item => item.testNo === value)
this.$set(this.form, 'diluentLotNo', obj.lotNo)
this.$set(this.form, 'diluentLotNo', obj.batchNumber)
} else if (this.itemObj.attrKey === 'baseModelNo') {
this.$set(this.form, 'certificateNo', '')
this.$set(this.form, 'lotNo', '')
......@@ -767,7 +767,7 @@ export default {
return {
label: `${item.testNo}`,
value: item.testNo,
lotNo: item.lotNo,
lotNo: item.batchNumber,
disabled
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment