This commit is contained in:
2026-03-19 17:57:18 +08:00
parent d31fe97935
commit 3ec87f9585
2 changed files with 3 additions and 3 deletions

View File

@@ -236,7 +236,7 @@
return return
} }
try { try {
let res = await confirmBagAssembly(this.val1, this.materialData.material_id, this.materialData.supp_code, this.num, this.pcsn) let res = await confirmBagAssembly(this.val1, this.materialData.material_id, this.materialData.supp_code, this.num, this.pcsn, this.date)
if (res) { if (res) {
uni.showToast({ uni.showToast({
title: res.message, title: res.message,

View File

@@ -149,9 +149,9 @@ export const byBagCodeInfo = (mid) => request({
data: {material_id: mid} data: {material_id: mid}
}) })
// 物料组袋 // 物料组袋
export const confirmBagAssembly = (bagNo, mid, suppCode, qty, pcsn) => request({ export const confirmBagAssembly = (bagNo, mid, suppCode, qty, pcsn, vperiod) => request({
url:'api/pdaCommon/confirmBagAssembly', url:'api/pdaCommon/confirmBagAssembly',
data: {bagNo: bagNo, materialId: mid, suppCode: suppCode, qty: qty, pcsn: pcsn} data: {bagNo: bagNo, materialId: mid, suppCode: suppCode, qty: qty, pcsn: pcsn, validity_period: vperiod}
}) })
// 物料组袋-打印 // 物料组袋-打印
export const printBag = (row, printId) => request({ export const printBag = (row, printId) => request({