Explorar el Código

feat:采购入库审批增加列设置

liujt hace 1 mes
padre
commit
c997f25dfc

+ 5 - 2
src/views/bpm/handleTask/components/purchaseOrder/invoice/receiptInfo.vue

@@ -82,8 +82,9 @@
       ref="table"
       :needPage="false"
       :columns="columns"
-      :toolkit="[]"
       :datasource="detailData.productList"
+      :cache-key="cacheKey"
+      @columns-change="handleColumnChange"
       row-key="id"
       max-height="500px"
     >
@@ -101,10 +102,11 @@
   import { lbjtList } from '@/enum/dict.js';
   import { levelList,pricingWayList } from '@/enum/dict.js';
   import { parameterGetByCode } from '@/api/main/index.js';
+  import tabMixins from '@/mixins/tableColumnsMixin';
   // import fileMain from '@/components/addDoc/index.vue';
   export default {
     // components: { fileMain },
-    mixins: [dictMixins],
+    mixins: [dictMixins, tabMixins],
 
     props: {
       form: { type: Object, default: () => {} },
@@ -114,6 +116,7 @@
 
     data() {
       return {
+        cacheKey: '202605141437-receiptInfoTableColumns',
         reviewStatusEnum,
         isHidePrice: 0
       };