snow пре 1 година
родитељ
комит
609279633f

Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/static/js/0.js


+ 3 - 2
src/views/purchaseIn/deliveryWorkOrder/detail.vue

@@ -99,8 +99,9 @@
               />
             </el-collapse-item>
 
-            <el-collapse-item title="待库管发货" name="2"  v-if="canSend && sitem.status === '1' && !isSupertube && ppowers.includes('1')">
-              <express-node @refresh="() => initData()" :sitem="sitem" />
+            <el-collapse-item title="待库管发货" name="2"  v-if="sitem.status === '1' && !isSupertube && ppowers.includes('1')">
+              <express-node v-if="canSend" @refresh="() => initData()" :sitem="sitem" />
+              <el-alert v-else type="warning" :title="'当前节点只能由仓库管理员 ' + sitem.contactor_name + ' 操作'" :closable="false" show-icon />
             </el-collapse-item>
           </el-collapse>
         </el-tab-pane>

+ 4 - 3
src/views/purchaseIn/wsmInOrder/detail.vue

@@ -87,16 +87,18 @@
             <el-collapse-item
               title="入库验收"
               name="3"
-              v-if="canInStock && status == '1' && ppowers.some((i) => i == '1') && !isSupertube"
+              v-if="status == '1' && ppowers.some((i) => i == '1') && !isSupertube"
             >
               <wsm-in
-                v-if="newTime !== ''"
+                v-if="newTime !== '' && canInStock"
                 :id="queryId"
                 :newTime="newTime"
                 :modelSitem="{}"
                 :sitem="sitem"
                 @refresh="initData()"
               />
+
+              <el-alert v-else type="warning" :title="'当前节点只能由仓库管理员 ' + sitem.contactor_name + ' 操作'" :closable="false" show-icon />
             </el-collapse-item>
           </el-collapse>
         </el-tab-pane>
@@ -164,7 +166,6 @@ export default {
       sitem: null,
       status: "",
       statusOptions,
-
       newTime: "",
       loading: false,
       queryId: ""

+ 3 - 3
src/views/sellOut/deliveryWorkOrder/detail.vue

@@ -100,13 +100,13 @@
               />
             </el-collapse-item>
 
-            <!-- canSend -->
             <el-collapse-item
               title="待库管发货"
               name="2"
-              v-if="canSend && sitem.status === '1' && !isSupertube && ppowers.includes('1')"
+              v-if="sitem && sitem.status === '1' && !isSupertube && ppowers.includes('1')"
             >
-              <express-node @refresh="() => initData()" :sitem="sitem" />
+              <express-node v-if="canSend" @refresh="() => initData()" :sitem="sitem" />
+              <el-alert v-else type="warning" :title="'当前节点只能由仓库管理员 ' + sitem.contactor_name + ' 操作'" :closable="false" show-icon />
             </el-collapse-item>
           </el-collapse>
         </el-tab-pane>

+ 3 - 2
src/views/supplierPurchaseIn/supplierDeliveryWorkOrder/detail.vue

@@ -103,11 +103,12 @@
             </el-collapse-item>
 
             <el-collapse-item
+              v-if="sitem && sitem.status === '1' && !isSupertube && ppowers.includes('1')"
               title="待库管发货"
               name="3"
-              v-if="canSend && sitem.status === '1' && !isSupertube && ppowers.includes('1')"
             >
-              <express-node @refresh="() => initData()" :sitem="sitem" />
+              <express-node v-if="canSend" @refresh="() => initData()" :sitem="sitem" />
+              <el-alert v-else type="warning" :title="'当前节点只能由仓库管理员 ' + sitem.contactor_name + ' 操作'" :closable="false" show-icon />
             </el-collapse-item>
           </el-collapse>
         </el-tab-pane>

+ 3 - 2
src/views/supplierPurchaseIn/supplierWsmInOrder/detail.vue

@@ -86,16 +86,17 @@
             <el-collapse-item
               title="入库验收"
               name="3"
-              v-if="canInStock && status == '1' && ppowers.some((i) => i == '1') && !isSupertube"
+              v-if="status == '1' && ppowers.some((i) => i == '1') && !isSupertube"
             >
               <wsm-in
-                v-if="newTime !== ''"
+                v-if="newTime !== '' && canInStock"
                 :id="queryId"
                 :newTime="newTime"
                 :modelSitem="{}"
                 :sitem="sitem"
                 @refresh="initData()"
               />
+              <el-alert v-else type="warning" :title="'当前节点只能由仓库管理员 ' + sitem.contactor_name + ' 操作'" :closable="false" show-icon />
             </el-collapse-item>
           </el-collapse>
         </el-tab-pane>

Неке датотеке нису приказане због велике количине промена