fix(wms): 修复钢卷入库时当前钢卷号未设置的问题
在获取最大入库钢卷号时,同时设置当前钢卷号为去掉最后一位的钢卷号,确保表单数据完整
This commit is contained in:
@@ -735,6 +735,7 @@ export default {
|
|||||||
console.log(res)
|
console.log(res)
|
||||||
// 扣掉最后一位
|
// 扣掉最后一位
|
||||||
this.$set(this.form, 'enterCoilNo', res.data.maxEnterCoilNo.slice(0, -1));
|
this.$set(this.form, 'enterCoilNo', res.data.maxEnterCoilNo.slice(0, -1));
|
||||||
|
this.$set(this.form, 'currentCoilNo', res.data.maxEnterCoilNo.slice(0, -1));
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 检查钢卷号是否合法(后端检查)
|
// 检查钢卷号是否合法(后端检查)
|
||||||
|
|||||||
Reference in New Issue
Block a user