From f9e2d43f8064f7bacb5ad9d8cb7b91bbb6d1e4ff Mon Sep 17 00:00:00 2001
From: qb <1191961160@qq.com>
Date: Sat, 7 Oct 2023 14:07:57 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B4=A7=E4=BD=8D=E5=8F=AF=E8=A7=86=E5=8C=96?=
=?UTF-8?q?=E4=B8=8A=E6=9E=B6=E6=96=B0=E5=A2=9E=E7=A1=AE=E5=AE=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../goodsShelf/basicdataGoodsShelfView.vue | 30 +++++++++++++++++--
vite.config.js | 4 +--
2 files changed, 29 insertions(+), 5 deletions(-)
diff --git a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
index a3a2f8d1..6329ea9d 100644
--- a/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
+++ b/src/views/basicdata/warehouse/goodsShelf/basicdataGoodsShelfView.vue
@@ -188,8 +188,7 @@
-
-
+
+ 确定
+ 取消
+
+
{
searchbutdown();
};
const addhuoj = async scope => {
+ details.addhuojData = scope
+ details.isshowConfirmedListing = true
console.log(scope.row);
+};
+// 确定上架
+const confirmedListing = async () => {
let data = {
allocationId: details.checkite.id,
};
+ const scope = details.addhuojData
let url = '';
switch (details.isshowupt) {
case 1:
@@ -2035,6 +2056,8 @@ const addhuoj = async scope => {
break;
}
let response = await posturl(url, data);
+ // 关闭弹窗
+ details.isshowConfirmedListing = false
if (response.data.code == 200) {
console.log(response.data);
proxy.$message({
@@ -2050,7 +2073,7 @@ const addhuoj = async scope => {
message: response.data.msg,
});
}
-};
+}
async function allup() {
// console.log(scope.row);
let data = {
@@ -2194,6 +2217,7 @@ const {
loading,
checkregionse,
isshowupt,
+ isshowConfirmedListing,
columnList,
isshowcon,
arrlist,
diff --git a/vite.config.js b/vite.config.js
index 63926849..c93848db 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -14,8 +14,8 @@ export default ({ mode, command }) => {
'/api': {
// target: 'http://192.168.10.126:8889',
// target: 'http://192.168.10.48:8888',
- // target: 'http://192.168.10.123:8889',
- target: 'http://192.168.10.101:8888',
+ target: 'http://192.168.10.123:8889',
+ // target: 'http://192.168.10.101:8888',
// target: 'http://192.168.10.101:8888',
// target: 'http://192.168.10.29:13000',
// target: 'http://test.api.huitongys.com',