From 45b9b391916c94c42cea303c5c0f0fe0d0b1306c Mon Sep 17 00:00:00 2001
From: yyb <995253665@qq.com>
Date: 星期二, 23 九月 2025 15:08:01 +0800
Subject: [PATCH] 取消领料和领料页面
---
pages/storeManagement/CancelMaterialRequisition/index.vue | 32 +++++++++++++++++++-------------
1 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/pages/storeManagement/CancelMaterialRequisition/index.vue b/pages/storeManagement/CancelMaterialRequisition/index.vue
index 31cd906..5e4e975 100644
--- a/pages/storeManagement/CancelMaterialRequisition/index.vue
+++ b/pages/storeManagement/CancelMaterialRequisition/index.vue
@@ -51,7 +51,7 @@
<view class="_label-name">鍑�閲嶏細</view>
</view>
<view class="_content">
- {{ item.NW }}
+ {{ item.KW }}
</view>
</view>
</view>
@@ -95,7 +95,7 @@
</view>
<view class="packing-registration-param-item-right">
<text class="item-one item-two">{{
- detailedList.NW
+ detailedList.KW
}}</text>
</view>
</view>
@@ -150,23 +150,29 @@
});
},
methods: {
- // 鍥炴樉鎵爜鐨勪俊鎭�
+ cancel() {
+ // 澶勭悊鍙栨秷閫昏緫
+ this.showModal = false;
+ },
+ // 鍥炴樉鎵爜鐨勪俊鎭�
saveForm(val) {
this.detailedList = val;
this.showModal = true;
},
confirm() {
- // // 澶勭悊纭閫昏緫
- // this.$u.api.shiftingParking
- // .hasScanSn({
- // ...this.detailedList,
- // })
- // .then((res) => {
- // this.hasScanSnList.push(this.detailedList);
- // console.log("璁板綍", this.hasScanSnList);
- // this.$u.toast("鍙栨秷棰嗘枡鎴愬姛");
- // });
+ // 澶勭悊纭閫昏緫
+ this.$u.api.cancelMaterialRequisition
+ .cancelMaterialRequisition({
+ ...this.detailedList,
+ })
+ .then((res) => {
this.hasScanSnList.push(this.detailedList);
+ console.log("璁板綍", this.hasScanSnList);
+ this.$u.toast("鍙栨秷棰嗘枡鎴愬姛");
+ })
+ .catch((err) => {
+ this.$u.toast("鍙栨秷棰嗘枡澶辫触");
+ });
},
},
};
--
Gitblit v1.9.3