Browse Source

fix(发货单): 挂起增加菜单权限

liujt 7 months ago
parent
commit
03f6a7bafc

+ 1 - 0
src/views/saleManage/saleOrder/invoice/components/addInvoiceDialog.vue

@@ -984,6 +984,7 @@ import {
             }
 
             if(item.isSuspend == 1) {
+              item.offsetDetail[0]['reverseQuantity'] = item.saleCount;
               item['reverseQuantity'] = item.saleCount;
             } else {
               item['reverseQuantity'] = 0;

+ 1 - 1
src/views/saleManage/saleOrder/invoice/components/inventoryTable.vue

@@ -378,7 +378,7 @@
           替代料
         </el-link>
         
-        <template v-if="scope.row.batchNo">
+        <template v-if="scope.row.batchNo && $hasPermission('eom:saleordersendrecord:pending')">
           <el-popconfirm
             v-if="scope.row.isSuspend === 1"
             class="ele-action"