This commit is contained in:
parent
b82f89e8a5
commit
52350392b0
|
|
@ -68,8 +68,9 @@
|
|||
cartList: [],
|
||||
agreementId: "",
|
||||
submitList: {
|
||||
parentId: "",
|
||||
backApplyDetails: "",
|
||||
parentId: "",
|
||||
companyId:101,
|
||||
backApplyDetails: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
|
|
@ -158,7 +159,9 @@
|
|||
that.cartList = that.list.filter((item) => {
|
||||
return item.checked == true && item.offNum > 0;
|
||||
});
|
||||
console.log(1111111111111);
|
||||
console.log(that.cartList);
|
||||
|
||||
if (that.cartList.length == 0) {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
|
|
@ -171,7 +174,7 @@
|
|||
confirmText: "提交",
|
||||
success: (modalRes) => {
|
||||
if (modalRes.confirm) {
|
||||
console.log(this.cartList);
|
||||
console.log(this.cartList)
|
||||
that.submitList.backApplyDetails =
|
||||
that.cartList.map((item) => {
|
||||
return {
|
||||
|
|
@ -183,6 +186,7 @@
|
|||
companyId: item["companyId"],
|
||||
};
|
||||
});
|
||||
console.log(33333333333);
|
||||
console.log(that.submitList);
|
||||
// 提交退料清单
|
||||
that.$api.exitMaterial
|
||||
|
|
|
|||
Loading…
Reference in New Issue