change
This commit is contained in:
@@ -236,7 +236,7 @@
|
||||
return
|
||||
}
|
||||
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) {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -149,9 +149,9 @@ export const byBagCodeInfo = (mid) => request({
|
||||
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',
|
||||
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({
|
||||
|
||||
Reference in New Issue
Block a user