From 5d2189d2619dc333791c8e326a09d8ea28536e62 Mon Sep 17 00:00:00 2001
From: zhuzhilei <987324949@qq.com>
Date: Fri, 17 Nov 2023 13:31:52 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E5=85=A5=E5=BA=93=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E6=9D=83=E9=99=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/mes/wm/productrecpt/index.vue | 32 ++++++++++++-------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/views/mes/wm/productrecpt/index.vue b/src/views/mes/wm/productrecpt/index.vue
index 1a6030c..72b380f 100644
--- a/src/views/mes/wm/productrecpt/index.vue
+++ b/src/views/mes/wm/productrecpt/index.vue
@@ -58,7 +58,7 @@
size="mini"
:disabled="single"
@click="handleUpdate"
- v-hasPermi="['mes:wm:productrecpt:edit']"
+ v-hasPermi="['mes:productrecpt:edit']"
>修改
@@ -69,7 +69,7 @@
size="mini"
:disabled="multiple"
@click="handleDelete"
- v-hasPermi="['mes:wm:productrecpt:remove']"
+ v-hasPermi="['mes:productrecpt:remove']"
>删除
@@ -110,7 +110,7 @@
icon="el-icon-video-play"
v-if="scope.row.status =='PREPARE'"
@click="handleExecute(scope.row)"
- v-hasPermi="['mes:wm:productrecpt:edit']"
+ v-hasPermi="['mes:productrecpt:edit']"
>执行入库
修改
删除
-
+
+ @change="handleAutoGenChange(autoGenFlag)" v-if="optType != 'view' && form.status =='PREPARE'">
@@ -188,7 +188,7 @@
-
+
@@ -197,13 +197,13 @@
- 物料信息
+ 物料信息
@@ -302,16 +302,16 @@ export default {
});
},
getWarehouseList(){
- getTreeList().then( response =>{
+ getTreeList().then( response =>{
this.warehouseOptions = response.data;
this.warehouseOptions.map(w =>{
w.children.map(l =>{
- let lstr =JSON.stringify(l.children).replace(/locationId/g,'lId').replace(/areaId/g, 'pId').replace(/areaName/g,'pName');
+ let lstr =JSON.stringify(l.children).replace(/locationId/g,'lId').replace(/areaId/g, 'pId').replace(/areaName/g,'pName');
l.children = JSON.parse(lstr);
});
-
- let wstr = JSON.stringify(w.children).replace(/warehouseId/g,'wId').replace(/locationId/g, 'pId').replace(/locationName/g,'pName');
- w.children = JSON.parse(wstr);
+
+ let wstr = JSON.stringify(w.children).replace(/warehouseId/g,'wId').replace(/locationId/g, 'pId').replace(/locationName/g,'pName');
+ w.children = JSON.parse(wstr);
});
let ostr=JSON.stringify(this.warehouseOptions).replace(/warehouseId/g,'pId').replace(/warehouseName/g, 'pName');
@@ -459,7 +459,7 @@ export default {
}
},
//选择默认的仓库、库区、库位
- handleWarehouseChanged(obj){
+ handleWarehouseChanged(obj){
if(obj !=null){
this.form.warehouseId = obj[0];
this.form.locationId = obj[1];