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,