diff --git a/pages/Material/hw-check.vue b/pages/Material/hw-check.vue index ee57469..d0ff389 100644 --- a/pages/Material/hw-check.vue +++ b/pages/Material/hw-check.vue @@ -122,6 +122,8 @@ return } try { + this.materialData.base_qty = this.kcqty + this.materialData.storagevehicle_code = this.val1 let res = await materialBoxInventoryConfirm(this.materialData) if (res) { uni.showToast({ diff --git a/utils/getData1.js b/utils/getData1.js index 3fb30d5..c2227c3 100644 --- a/utils/getData1.js +++ b/utils/getData1.js @@ -105,9 +105,9 @@ export const getCheckDocumentInfo = (bcode) => request({ data: {bill_code: bcode} }) // 确认盘点 -export const materialBoxInventoryConfirm = (bcode) => request({ +export const materialBoxInventoryConfirm = (obj) => request({ url:'api/pda/largeMaterialBox/materialBoxInventoryConfirm', - data: {} + data: {obj} }) // 根据载具号或点位获取库存数量_copy-getInvInfoQty