Procházet zdrojové kódy

fix: 发货数量取未发货数量

liujt před 1 týdnem
rodič
revize
e8d3e12421

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

@@ -220,7 +220,7 @@
             <el-select
               v-model="scope.row.warehouseId"
               clearable
-              :disabled="scope.row.isLockSaleOrder == 1"
+              
               placeholder="请选择"
               @change="warehouseChange(scope.$index, scope.row, true)"
             >
@@ -1539,7 +1539,8 @@
           item.receiveTotalWeight = item.receiveTotalWeight || 0;
 
           item.saleCount = item.notGenerateSendCount;
-          item.totalCount = item.notGenerateSendCount;
+          // item.totalCount = item.notGenerateSendCount;
+          this.changeCount(item, index, false);
 
           if (item.weightUnit == item.measuringUnit) {
             item.sendTotalWeight = item.sendTotalWeight || item.totalCount;