From 3b02a02e6f615f167b06ca4d62d094cda777d862 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 22 一月 2024 09:55:35 +0800
Subject: [PATCH] 模具使用记录

---
 src/views/equipment/mouldrecord/index.vue |   83 +++++++++--------------------------------
 1 files changed, 18 insertions(+), 65 deletions(-)

diff --git a/src/views/equipment/mouldrecord/index.vue b/src/views/equipment/mouldrecord/index.vue
index 2a03676..cc335db 100644
--- a/src/views/equipment/mouldrecord/index.vue
+++ b/src/views/equipment/mouldrecord/index.vue
@@ -6,7 +6,7 @@
       :isShowHide="true"
       :ajaxFun="ajaxFun"
       :prelang="prelang"
-      :options="options" 
+      :options="options"
       ref="processconfiguration"
       >
       <template #toolbar>
@@ -19,8 +19,9 @@
 
 <script>
 import ttable from '@/views/common/ztt-table.vue'
-import { fetchList, } from '@/api/quality/finishedDelivery'
-
+import * as fecha from 'element-ui/lib/utils/date'
+import { fetchList, } from '@/api/equipment/mouldRecord'
+import { mapGetters } from 'vuex'
 export default {
   data(){
       return {
@@ -51,45 +52,13 @@
                 {
                   minWidth: '140',
                   prop: 'packageNo',
-                  label: '璁惧',
+                  label: '鎶ュ伐鍗曞彿',
                   isTrue: true,
                   isSearch: true,
                   searchInfoType: 'text',
                 },{
                   minWidth: '140',
                   prop: 'outBatchNo',
-                  label: '妯″叿缂栧彿',
-                  isTrue: true,
-                  isSearch: true,
-                  searchInfoType: 'text',
-                },
-                {
-                  minWidth: '140',
-                  prop: 'partNo',
-                  label: '妯″叿鍚嶇О',
-                  isTrue: true,
-                  isSearch: true,
-                  searchInfoType: 'text',
-                },
-                {
-                  minWidth: '140',
-                  prop: 'partName',
-                  label: '宸ュ簭',
-                  isTrue: true,
-                  isSearch: true,
-                  searchInfoType: 'text',
-                },
-                {
-                  minWidth: '140',
-                  prop: 'specs',
-                  label: '宸ユ',
-                  isTrue: true,
-                  isSearch: true,
-                  searchInfoType: 'text',
-                },
-                {
-                  minWidth: '140',
-                  prop: 'unit',
                   label: '鎵瑰彿',
                   isTrue: true,
                   isSearch: true,
@@ -97,55 +66,39 @@
                 },
                 {
                   minWidth: '140',
-                  prop: 'number',
-                  label: '浜ч噺',
+                  prop: 'partNo',
+                  label: '宸ュ崟缂栧彿',
                   isTrue: true,
                   isSearch: true,
                   searchInfoType: 'text',
                 },
                 {
                   minWidth: '140',
-                  prop: 'number',
-                  label: '瀵垮懡杞崲绯绘暟',
+                  prop: 'partName',
+                  label: '宸ヤ綔绔欏悕绉�',
                   isTrue: true,
                   isSearch: true,
                   searchInfoType: 'text',
                 },
                 {
                   minWidth: '140',
-                  prop: 'number',
-                  label: '浣跨敤閲�',
+                  prop: 'specs',
+                  label: '浣跨敤浜虹紪鍙�',
                   isTrue: true,
                   isSearch: true,
                   searchInfoType: 'text',
                 },
-                {
-                  minWidth: '140',
-                  prop: 'number',
-                  label: '鎶ュ伐鍗曞彿',
-                  isTrue: true,
-                  isSearch: true,
-                  searchInfoType: 'text',
-                },
-                {
-                  minWidth: '130',
-                  prop: 'createUser',
-                  label: '鐘舵��',
-                  sort: true,
-                  isTrue: true,
-                  isSearch: true,
-                  searchInfoType: 'text',
-                },
+
               ],
               toolbar: [],
-              // operator: [],
-              // operatorConfig: {}
+              operator: null,
+              operatorConfig: {}
           },
      }
   },
-  // computed: {
-  //   ...mapGetters(['permissions'])
-  // },
+  computed: {
+    ...mapGetters(['permissions'])
+  },
   components: {
     ttable
   },
@@ -155,4 +108,4 @@
     },
   },
 }
-</script>
\ No newline at end of file
+</script>

--
Gitblit v1.9.3