lilei há 2 anos atrás
pai
commit
5a5ea60331

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1668145163628
+  "version": 1668155844450
 }

+ 3 - 1
src/views/numsGoodsShelves/replenishmentManagement/creatReplenishmentOrder.vue

@@ -163,7 +163,9 @@ export default {
             }
             for (var i = 0; i < data.length; i++) {
               data[i].no = i + 1
-              data[i].replenishQty = data[i].replenishBillWaitQty || 1
+              const row = this.rowSelectionInfo && this.rowSelectionInfo.selectedRows || []
+              const cur = row.find(item => item.id == data[i].id)
+              data[i].replenishQty = cur ? cur.replenishQty : (data[i].replenishBillWaitQty || 1)
             }
             this.disabled = false
           }

+ 2 - 2
src/views/numsGoodsShelves/replenishmentManagement/list.vue

@@ -197,8 +197,8 @@ export default {
         { title: '货位号', dataIndex: 'product.code', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品编码', dataIndex: 'product.code', width: '20%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'product.name', width: '32%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '补货数量', dataIndex: 'qty', width: '12%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
-        { title: '签收数量', dataIndex: 'putQty', width: '12%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '补货数量', dataIndex: 'totalQty', width: '12%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '签收数量', dataIndex: 'totalPutQty', width: '12%', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '单位', dataIndex: 'product.unit', width: '8%', align: 'center', customRender: function (text) { return text || '--' } }
       ],
       listData: [],