rev:手持通用功能、小料箱功能测试修改
This commit is contained in:
@@ -267,6 +267,9 @@ export default {
|
||||
this.crud.notify('载具不能为空!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return
|
||||
}
|
||||
this.formMst.bom_id = ''
|
||||
this.formMst.out_type = ''
|
||||
this.formMst.is_need_delete = ''
|
||||
crudGroup.copySave(this.formMst).then(row => {
|
||||
this.crud.notify('操作成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
this.close()
|
||||
|
||||
@@ -127,10 +127,9 @@ export default {
|
||||
this.$emit('update:dialogShow', false)
|
||||
},
|
||||
getWeigh() {
|
||||
this.formMst.weigh_qty = '20'
|
||||
/* crudCallMaterialDtl.getWeigh(this.formMst).then(res => {
|
||||
crudCallMaterialDtl.getWeigh(this.formMst).then(res => {
|
||||
this.formMst.weigh_qty = res.weigh_qty
|
||||
})*/
|
||||
})
|
||||
},
|
||||
saveWeigh() {
|
||||
// 校验称重信息不能为0或者空
|
||||
|
||||
@@ -136,13 +136,12 @@ export default {
|
||||
this.formMst.material_qty = parseFloat(val) - parseFloat(this.formMst.ivt_qty)
|
||||
},
|
||||
getWeigh() {
|
||||
this.formMst.weight_qty = '100'
|
||||
this.changeQty(this.formMst.weight_qty)
|
||||
/* crudCombinedBox.getWeigh(this.formMst).then(res => {
|
||||
crudCombinedBox.getWeigh(this.formMst).then(res => {
|
||||
this.formMst.weigh_qty = res.weigh_qty
|
||||
this.changeQty(res.weight_qty)
|
||||
this.crud.notify('称重成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
})*/
|
||||
})
|
||||
},
|
||||
saveWeigh() {
|
||||
// 校验称重信息不能为0或者空
|
||||
|
||||
@@ -211,13 +211,11 @@ export default {
|
||||
this.crud.notify('拣选批次不能为空!', CRUD.NOTIFICATION_TYPE.INFO)
|
||||
return
|
||||
}
|
||||
this.formMst.weigh_qty = '40'
|
||||
this.formMst.select_qty = '10'
|
||||
/* crudSectout.getWeigh(this.current).then(res => {
|
||||
crudSectout.getWeigh(this.current).then(res => {
|
||||
this.formMst.weigh_qty = res.weigh_qty
|
||||
this.formMst.select_qty = res.select_qty
|
||||
this.crud.notify('称重成功!', CRUD.NOTIFICATION_TYPE.SUCCESS)
|
||||
})*/
|
||||
})
|
||||
},
|
||||
saveWeigh() {
|
||||
// 校验称重信息不能为0或者空
|
||||
|
||||
Reference in New Issue
Block a user