change
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user