Prechádzať zdrojové kódy

仓储业务模块删除修改

wengyuwen 4 rokov pred
rodič
commit
a65f74b12d

+ 1 - 1
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -323,7 +323,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="scope.row.fItemsStatus === 1"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:goodsTransfer:remove']"
           >删除

+ 1 - 2
src/views/warehouseBusiness/inStock/index.vue

@@ -338,8 +338,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-show="scope.row.fItemsStatus !== 4"
-            v-if="scope.row.fBillstatus < 4"
+            v-if="scope.row.fItemsStatus === 1"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:inStock:remove']"
           >删除

+ 1 - 2
src/views/warehouseBusiness/outStock/index.vue

@@ -317,8 +317,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-show="scope.row.fItemsStatus !== 4"
-            v-if="scope.row.fBillstatus < 4"
+            v-if="scope.row.fItemsStatus === 1"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:outStock:remove']"
           >删除

+ 1 - 2
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -315,9 +315,8 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-show="scope.row.fItemsStatus !== 6"
             @click="handleDelete(scope.row)"
-            v-if="scope.row.fBillstatus < 4"
+            v-if="scope.row.fItemsStatus === 1"
             v-hasPermi="['warehouseBusiness:stockTransfer:remove']"
             >删除
           </el-button>