quwangxin 2 년 전
부모
커밋
27cac17fc6
3개의 변경된 파일7개의 추가작업 그리고 8개의 파일을 삭제
  1. 2 1
      src/views/productionPlan/index.vue
  2. 2 0
      src/views/saleOrder/components/order-search.vue
  3. 3 7
      src/views/saleOrder/index.vue

+ 2 - 1
src/views/productionPlan/index.vue

@@ -188,7 +188,8 @@
             prop: 'productCode',
             label: '产品编号',
             align: 'center',
-            showOverflowTooltip: true
+            showOverflowTooltip: true,
+            minWidth: 140
           },
           {
             prop: 'brandNo',

+ 2 - 0
src/views/saleOrder/components/order-search.vue

@@ -245,6 +245,8 @@
           } else {
             this.where.proStu = 0;
           }
+
+          this.reset();
         },
         immediate: true
       }

+ 3 - 7
src/views/saleOrder/index.vue

@@ -8,7 +8,7 @@
         :activeName="activeName"
       >
       </order-search>
-      <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
+      <el-tabs v-model="activeName" type="card">
         <el-tab-pane label="待排产" name="first"></el-tab-pane>
         <el-tab-pane label="已排产" name="second"></el-tab-pane>
       </el-tabs>
@@ -119,15 +119,14 @@
             label: '销售订单号',
             align: 'center',
             showOverflowTooltip: true,
-            minWidth: 110,
+            minWidth: 150,
             slot: 'code'
           },
           {
             prop: 'lineNumber',
             label: '行号',
             align: 'center',
-            showOverflowTooltip: true,
-            minWidth: 110
+            showOverflowTooltip: true
           },
           {
             prop: 'productCode',
@@ -267,9 +266,6 @@
         this.$refs.table.reload({ page: 1, limit: 10, where });
       },
 
-      handleClick (tab, event) {
-        this.reload();
-      },
       openDetails (row) {
         this.$refs.detailDialog.open(row);
       },