guarantee-lsq há 2 anos atrás
pai
commit
5fe48e9697
1 ficheiros alterados com 22 adições e 22 exclusões
  1. 22 22
      src/views/repair/application-form/modules/DetailRepair.vue

+ 22 - 22
src/views/repair/application-form/modules/DetailRepair.vue

@@ -183,7 +183,7 @@
             </span>
             <span slot="actionSpare" slot-scope="record">
               <template>
-                <a-popconfirm v-if=" userInfo.realName===record.updateUserName&& record.status==0" title="是否提交审核?" @confirm="updateStore(record.id)">
+                <a-popconfirm v-if=" userInfo.realName===record.createdUserName&& record.status==0" title="是否提交审核?" @confirm="updateStore(record.id)">
                   <a>提交审核</a>
                 </a-popconfirm>
               </template>
@@ -526,38 +526,38 @@ export default {
         }
       ],
       columnsSpare: [
-        {
-          title: '序号',
-          dataIndex: 'index',
-          customRender: (text, record, index) => {
-            return index + 1
-          }
-        },
+        // {
+        //   title: '序号',
+        //   dataIndex: 'index',
+        //   customRender: (text, record, index) => {
+        //     return index + 1
+        //   }
+        // },
         {
           title: '名称',
           dataIndex: 'spareName'
         },
-        {
-          title: '编号',
-          dataIndex: 'no'
-        },
+        // {
+        //   title: '编号',
+        //   dataIndex: 'no'
+        // },
         {
           title: '规格',
           dataIndex: 'ggxh'
         },
-        {
-          title: '批次',
-          dataIndex: 'cbatch'
-        },
+        // {
+        //   title: '批次',
+        //   dataIndex: 'cbatch'
+        // },
         {
           title: '数量',
           dataIndex: 'num'
         },
-        {
-          title: '库存',
-          dataIndex: 'storeNum',
-          width: 150
-        },
+        // {
+        //   title: '库存',
+        //   dataIndex: 'storeNum',
+        //   width: 150
+        // },
         {
           title: '单位',
           dataIndex: 'unit'
@@ -610,7 +610,7 @@ export default {
         },
         {
           title: '领用人',
-          dataIndex: 'updateUserName'
+          dataIndex: 'createdUserName'
         },
         {
           title: '仓库',