QuKatie 3 gadi atpakaļ
vecāks
revīzija
bec30fc9c0

+ 15 - 15
src/styles/media.scss

@@ -139,21 +139,21 @@
     width: 100% !important;
   }
   //主框架
-  .avue-tags {
-    display: none;
-  }
-  .avue-left,
-  .avue-logo {
-    left: -$width;
-  }
-  .avue-main {
-    left: 0;
-    width: 100%;
-  }
-  .avue-header {
-    margin-bottom: 15px;
-    padding-left: 0px;
-  }
+  // .avue-tags {
+  //   display: none;
+  // }
+  // .avue-left,
+  // .avue-logo {
+  //   left: -$width;
+  // }
+  // .avue-main {
+  //   left: 0;
+  //   width: 100%;
+  // }
+  // .avue-header {
+  //   margin-bottom: 15px;
+  //   padding-left: 0px;
+  // }
   .top-bar__item {
     display: none;
   }

+ 6 - 1
src/styles/variables.scss

@@ -56,4 +56,9 @@ p{
   .el-dialog__body {
     padding: 0px 20px !important;
   }
-} 
+} 
+.trading-crud{
+  .avue-form__menu {
+    width: 33.33333%;
+  }
+}

+ 2 - 1
src/views/exportTrade/customerInquiry/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 8,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "150",
   "showSummary": true,
   "searchIcon": true,
   "searchIndex": 2,

+ 1 - 7
src/views/exportTrade/customerInquiry/index.vue

@@ -2,6 +2,7 @@
   <div>
     <basic-container v-if="show" class="page-crad">
       <avue-crud
+        class="trading-crud"
         ref="crud"
         :option="option"
         :data="dataList"
@@ -89,13 +90,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"

+ 16 - 15
src/views/exportTrade/invoice/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 24,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "150",
   "searchLabelWidth": "90",
   "showSummary": true,
   "searchIcon": true,
@@ -17,7 +18,7 @@
       "label": "销售订单号",
       "prop": "orgOrderNo",
       "index": 1,
-      "width": 110,
+      "width": 120,
       "overHidden": true,
       "search": true,
       "searchSpan": 8
@@ -28,7 +29,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 2,
-      "width": 110,
+      "width": 120,
       "overHidden": true,
       "type": "date",
       "format": "yyyy-MM-dd"
@@ -39,7 +40,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 3,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -48,7 +49,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 4,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -56,7 +57,7 @@
       "prop": "",
       "search": true,
       "index": 5,
-      "width": 110,
+      "width": 120,
       "overHidden": true,
       "hide": true,
       "showColumn": false,
@@ -68,21 +69,21 @@
       "search": true,
       "searchSpan": 8,
       "index": 6,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "出库数量",
       "prop": "totalQuantity",
       "index": 7,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "出库金额",
       "prop": "deliveryAmount",
       "index": 8,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -91,7 +92,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 9,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -100,7 +101,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 10,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -109,7 +110,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 11,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -118,14 +119,14 @@
       "search": true,
       "searchSpan": 8,
       "index": 12,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "制单日期",
       "prop": "createTime",
       "index": 13,
-      "width": 110,
+      "width": 120,
       "search": true,
       "overHidden": true,
       "searchSpan": 8,
@@ -136,7 +137,7 @@
       "label": "制单人",
       "prop": "createUser",
       "index": 14,
-      "width": 110,
+      "width": 120,
       "search": true,
       "overHidden": true,
       "type": "select",

+ 0 - 7
src/views/exportTrade/invoice/index.vue

@@ -80,13 +80,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"

+ 16 - 15
src/views/exportTrade/purchaseContract/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 16,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "150",
   "searchLabelWidth": "90",
   "searchIcon": true,
   "searchIndex": 2,
@@ -18,7 +19,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 1,
-      "width": 100,
+      "width": 110,
       "overHidden": true
     },
     {
@@ -27,7 +28,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 2,
-      "width": 100,
+      "width": 110,
       "overHidden": true,
       "type": "date",
       "format": "yyyy-MM-dd"
@@ -38,7 +39,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 3,
-      "width": 100,
+      "width": 110,
       "overHidden": true
     },
     {
@@ -47,7 +48,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 4,
-      "width": 100,
+      "width": 110,
       "overHidden": true,
       "type": "date",
       "format": "yyyy-MM-dd"
@@ -57,7 +58,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 5,
-      "width": 100,
+      "width": 110,
       "overHidden": true,
       "type": "date",
       "format": "yyyy-MM-dd"
@@ -66,7 +67,7 @@
       "label": "付款方式",
       "prop": "paymentType",
       "index": 6,
-      "width": 100,
+      "width": 110,
       "search": true,
       "searchSpan": 8,
       "overHidden": true,
@@ -80,28 +81,28 @@
       "label": "采购金额",
       "prop": "purchaseAmount",
       "index": 7,
-      "width": 100,
+      "width": 110,
       "overHidden": true
     },
     {
       "label": "数量合计",
       "prop": "orderQuantity",
       "index": 8,
-      "width": 100,
+      "width": 110,
       "overHidden": true
     },
     {
       "label": "收货金额",
       "prop": "",
       "index": 9,
-      "width": 100,
+      "width": 110,
       "overHidden": true
     },
     {
       "label": "收货数量",
       "prop": "actualQuantity",
       "index": 10,
-      "width": 100,
+      "width": 110,
       "overHidden": true
     },
     {
@@ -109,7 +110,7 @@
       "prop": "sysNo",
       "search": true,
       "index": 11,
-      "width": 100,
+      "width": 110,
       "overHidden": true,
       "searchSpan": 8
     },
@@ -117,7 +118,7 @@
       "label": "制单人",
       "prop": "createUser",
       "index": 12,
-      "width": 100,
+      "width": 110,
       "search": true,
       "overHidden": true,
       "type": "select",
@@ -133,7 +134,7 @@
       "label": "制单日期",
       "prop": "createTime",
       "index": 13,
-      "width": 100,
+      "width": 110,
       "search": true,
       "overHidden": true,
       "searchSpan": 8,
@@ -144,7 +145,7 @@
       "label": "备注",
       "prop": "orderRemark",
       "index": 14,
-      "width": 100,
+      "width": 110,
       "overHidden": true,
       "search": true,
       "searchSpan": 8

+ 0 - 7
src/views/exportTrade/purchaseContract/index.vue

@@ -91,13 +91,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"

+ 16 - 15
src/views/exportTrade/purchaseInquiry/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 24,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "150",
   "searchIcon": true,
   "searchIndex": 2,
   "showSummary": true,
@@ -18,7 +19,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 1,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -27,7 +28,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 2,
-      "width": 110,
+      "width": 120,
       "type": "date",
       "format": "yyyy-MM-dd",
       "valueFormat": "yyyy-MM-dd 00:00:00",
@@ -39,7 +40,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 3,
-      "width": 110,
+      "width": 120,
       "type": "date",
       "format": "yyyy-MM-dd",
       "valueFormat": "yyyy-MM-dd 00:00:00",
@@ -51,7 +52,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 4,
-      "width": 110,
+      "width": 120,
       "overHidden": true,
       "type": "select",
       "props": {
@@ -63,21 +64,21 @@
       "label": "起运港",
       "prop": "portOfLoad",
       "index": 5,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "目的港",
       "prop": "portOfDestination",
       "index": 6,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "数量合计",
       "prop": "orderQuantity",
       "index": 7,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
@@ -85,7 +86,7 @@
       "prop": "",
       "search": true,
       "index": 8,
-      "width": 110,
+      "width": 120,
       "overHidden": true,
       "hide": true,
       "showColumn": false,
@@ -97,14 +98,14 @@
       "search": true,
       "searchSpan": 8,
       "index": 9,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "制单人",
       "prop": "createUser",
       "index": 10,
-      "width": 110,
+      "width": 120,
       "search": true,
       "searchSpan": 8,
       "type": "select",
@@ -120,7 +121,7 @@
       "label": "制单日期",
       "prop": "createTime",
       "index": 11,
-      "width": 110,
+      "width": 120,
       "search": true,
       "overHidden": true,
       "searchSpan": 8,
@@ -131,7 +132,7 @@
       "label": "备注",
       "prop": "orderRemark",
       "index": 12,
-      "width": 110,
+      "width": 120,
       "search": true,
       "overHidden": true,
       "searchSpan": 8
@@ -140,14 +141,14 @@
       "label": "采购备注",
       "prop": "purchaseRemark",
       "index": 13,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     },
     {
       "label": "销售备注",
       "prop": "shippingRemark",
       "index": 14,
-      "width": 110,
+      "width": 120,
       "overHidden": true
     }
   ]

+ 0 - 7
src/views/exportTrade/purchaseInquiry/index.vue

@@ -72,13 +72,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"

+ 2 - 1
src/views/exportTrade/receipt/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 24,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "150",
   "searchLabelWidth": "90",
   "showSummary": true,
   "searchIcon": true,

+ 0 - 7
src/views/exportTrade/receipt/index.vue

@@ -71,13 +71,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"

+ 2 - 1
src/views/exportTrade/salesContract/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 24,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "150",
   "searchIcon": true,
   "searchIndex": 2,
   "searchLabelWidth": 90,

+ 0 - 7
src/views/exportTrade/salesContract/index.vue

@@ -88,13 +88,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"

+ 10 - 9
src/views/exportTrade/shippingInquiry/config/mainList.json

@@ -1,4 +1,5 @@
 {
+  "simplePage": true,
   "searchShow": true,
   "searchMenuSpan": 8,
   "border": true,
@@ -8,7 +9,7 @@
   "delBtn": false,
   "addBtn": false,
   "align": "center",
-  "menuWidth": "180",
+  "menuWidth": "80",
   "searchIcon": true,
   "searchIndex": 2,
   "column": [
@@ -18,7 +19,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 2,
-      "width": 180,
+      "minWidth": 100,
       "type": "date",
       "format": "yyyy-MM-dd",
       "valueFormat": "yyyy-MM-dd 00:00:00",
@@ -30,7 +31,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 3,
-      "width": 180,
+      "minWidth": 100,
       "type": "date",
       "format": "yyyy-MM-dd",
       "valueFormat": "yyyy-MM-dd 00:00:00",
@@ -42,7 +43,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 5,
-      "width": 180,
+      "minWidth": 100,
       "overHidden": true
     },
     {
@@ -51,7 +52,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 6,
-      "width": 180,
+      "minWidth": 100,
       "overHidden": true
     },
     {
@@ -60,14 +61,14 @@
       "search": true,
       "searchSpan": 8,
       "index": 9,
-      "width": 180,
+      "minWidth": 100,
       "overHidden": true
     },
     {
       "label": "制单人",
       "prop": "createUser",
       "index": 10,
-      "width": 180,
+      "minWidth": 100,
       "search": true,
       "searchSpan": 8,
       "type": "select",
@@ -83,7 +84,7 @@
       "label": "制单日期",
       "prop": "createTime",
       "index": 11,
-      "width": 180,
+      "minWidth": 100,
       "search": true,
       "overHidden": true,
       "searchSpan": 8,
@@ -96,7 +97,7 @@
       "search": true,
       "searchSpan": 8,
       "index": 14,
-      "width": 180,
+      "minWidth": 100,
       "overHidden": true
     }
   ]

+ 0 - 7
src/views/exportTrade/shippingInquiry/index.vue

@@ -76,13 +76,6 @@
         <template slot-scope="scope" slot="menu">
           <el-button
             type="text"
-            icon="el-icon-view"
-            size="small"
-            @click.stop="beforeOpenPage(scope.row, 1)"
-            >查看
-          </el-button>
-          <el-button
-            type="text"
             icon="el-icon-edit"
             size="small"
             @click.stop="editOpen(scope.row, 2)"