1 年之前
父节点
当前提交
b5eb61cc8b
共有 1 个文件被更改,包括 24 次插入0 次删除
  1. 24 0
      src/views/purchase/purchase-order-record/PurchaseOrderRecord.vue

+ 24 - 0
src/views/purchase/purchase-order-record/PurchaseOrderRecord.vue

@@ -148,6 +148,27 @@ export default {
           checked: true,
           width: 150
         },
+        {
+          title: '已采购数量',
+          dataIndex: 'purchasedNum',
+          checked: true,
+          width: 150
+        },
+        {
+          title: '已入库数量',
+          dataIndex: 'inStoreNum',
+          checked: true,
+          width: 150
+        },
+        {
+          title: '明细状态',
+          width: 100,
+          dataIndex: 'detailStatus',
+          checked: true,
+          customRender: (text, record, index) => {
+            return this.BaseTool.Table.getMapText(this.detailStatusMap, text)
+          }
+        },
 
         {
           title: '创建人',
@@ -174,6 +195,7 @@ export default {
       // 下拉框map
       typeMap: {},
       statusMap: {},
+      detailStatusMap: {},
       payTypeMap: {},
       invoiceTypeMap: {},
       moneyTypeMap: {},
@@ -214,6 +236,8 @@ export default {
     this.payTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PURCHASE_PAY_TYPE)
     this.invoiceTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PURCHASE_INVOICE_TYPE)
     this.moneyTypeMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.MONEY_TYPE)
+    this.detailStatusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.LONG_YAN_PURCHASE_DETAIL_STATUS)
+
     this.tableOption()
   },
   methods: {