ソースを参照

采购退货 库存数量

chenrui 3 年 前
コミット
9d99de75b9
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/views/purchasingManagement/purchaseReturn/edit.vue

+ 2 - 1
src/views/purchasingManagement/purchaseReturn/edit.vue

@@ -46,7 +46,7 @@
               :rowKey="(record) => record.id"
               :columns="columns"
               :data="loadData"
-              :scroll="{ x: 990, y: 300 }"
+              :scroll="{ x: 1070, y: 300 }"
               bordered>
               <!-- 数量 -->
               <template slot="returnQty" slot-scope="text, record">
@@ -162,6 +162,7 @@ export default {
         { title: '产品名称', dataIndex: 'dealerProductEntity.name', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '采购总数', dataIndex: 'qty', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '可退数量', dataIndex: 'refundableQty', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '库存数量', dataIndex: 'stock.currentStockQty', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '退货数量', scopedSlots: { customRender: 'returnQty' }, width: 100, align: 'center' },
         { title: '采购价', dataIndex: 'price', width: 80, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '单位', dataIndex: 'dealerProductEntity.unit', width: 60, align: 'center', customRender: function (text) { return text || '--' } },