chenrui před 4 roky
rodič
revize
b2fbc2bb62

+ 4 - 2
src/views/allocationManagement/warehouseAllocation/edit.vue

@@ -93,7 +93,7 @@
             :columns="columns"
             :customRow="handleClickRow"
             :dataSource="loadData"
-            :scroll="{ x: 1780, y: 300 }"
+            :scroll="{ x: 1880, y: 300 }"
             :pagination="paginationProps"
             bordered>
             <!-- 产品分类 -->
@@ -268,7 +268,8 @@ export default {
         { title: '分类', scopedSlots: { customRender: 'productType' }, width: 200, align: 'center', ellipsis: true },
         { title: '调出仓位', dataIndex: 'warehouseLocationName', width: 140, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '调入仓位', scopedSlots: { customRender: 'putWarehouseLocationSn' }, width: 140, align: 'center' },
-        { title: '库存数量', dataIndex: 'currentQty', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '可用库存数', dataIndex: 'currentQty', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '冻结库存数', dataIndex: 'freezeQty', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '单位', dataIndex: 'unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '调出数量', scopedSlots: { customRender: 'outQty' }, width: 140, align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 100, align: 'center', fixed: 'right' }
@@ -322,6 +323,7 @@ export default {
       this.queryParam.productTypeSn2 = undefined
       this.queryParam.productTypeSn3 = undefined
       this.queryParam.warehouseLocationSn = undefined
+      this.productType = []
       this.getProductList(1)
     },
     // 双击快速添加