Ver Fonte

fix: 安装条码信息更改

zh há 2 anos atrás
pai
commit
0e81f28a7b
1 ficheiros alterados com 14 adições e 3 exclusões
  1. 14 3
      src/components/LogisticsTabs/index.vue

+ 14 - 3
src/components/LogisticsTabs/index.vue

@@ -152,7 +152,7 @@
       <div slot="header">
         <span>安装条码</span>
       </div>
-      <zj-table :is-drop="true" :columns="formOutbound" :table-data="instalLList" />
+      <zj-table :is-drop="true" :columns="formInstall" :table-data="instalLList" />
     </el-card>
   </div>
 </template>
@@ -771,8 +771,19 @@ export default {
       return [
         {
           columnAttributes: {
+            label: '序号',
+            prop: '',
+            width: 50
+          },
+          render: (h, { row, index }) => {
+            return <div>{index + 1}</div>
+          }
+        },
+        {
+          columnAttributes: {
             label: '产品类型',
-            prop: 'specification'
+            prop: 'specification',
+            'min-width': '300'
           }
         },
         {
@@ -794,7 +805,7 @@ export default {
           },
           render: (h, { row }) => {
             const { orderState } = row
-            return <div>{orderState[orderState]}</div>
+            return <div>{this.orderState[orderState]}</div>
           }
         },
         {