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

@ -69,6 +69,7 @@
agreementId: "", agreementId: "",
submitList: { submitList: {
parentId: "", parentId: "",
companyId:101,
backApplyDetails: "", backApplyDetails: "",
}, },
}; };
@ -158,7 +159,9 @@
that.cartList = that.list.filter((item) => { that.cartList = that.list.filter((item) => {
return item.checked == true && item.offNum > 0; return item.checked == true && item.offNum > 0;
}); });
console.log(1111111111111);
console.log(that.cartList); console.log(that.cartList);
if (that.cartList.length == 0) { if (that.cartList.length == 0) {
uni.showToast({ uni.showToast({
icon: "none", icon: "none",
@ -171,7 +174,7 @@
confirmText: "提交", confirmText: "提交",
success: (modalRes) => { success: (modalRes) => {
if (modalRes.confirm) { if (modalRes.confirm) {
console.log(this.cartList); console.log(this.cartList)
that.submitList.backApplyDetails = that.submitList.backApplyDetails =
that.cartList.map((item) => { that.cartList.map((item) => {
return { return {
@ -183,6 +186,7 @@
companyId: item["companyId"], companyId: item["companyId"],
}; };
}); });
console.log(33333333333);
console.log(that.submitList); console.log(that.submitList);
// 退 // 退
that.$api.exitMaterial that.$api.exitMaterial