This commit is contained in:
wcy 2024-09-29 18:23:10 +08:00
parent b82f89e8a5
commit 52350392b0
1 changed files with 7 additions and 3 deletions

View File

@ -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