空管出入库

This commit is contained in:
2022-11-01 14:35:43 +08:00
parent 79c8bdd149
commit 19495248d6
5 changed files with 172 additions and 10 deletions

View File

@@ -87,8 +87,8 @@
};
},
created () {
this._queryProductArea()
this._queryMaterialInfo()
// this._queryProductArea()
// this._queryMaterialInfo()
},
methods: {
/** 选择器 */
@@ -102,7 +102,7 @@
},
/** 初始化查询 */
async _queryMaterialInfo () {
let res = await queryMaterialInfo1(this.val1, this.val2, this.index)
let res = await queryMaterialInfo1(this.val1, this.val2, this.index, '2')
this.dataList = [...res.data]
},
/** 确认 */
@@ -113,7 +113,7 @@
return
}
try {
let res = await emptyConfirm(this.pkObj, this.qty, this.val1)
let res = await emptyConfirm(this.pkObj, this.qty, this.val1, '2')
uni.showToast({
title: res.message,
icon: 'none'