luobang 2 years ago
parent
commit
6571bd7289

+ 2 - 2
build/utils.js

@@ -17,8 +17,8 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 
 
 // let devModules = ['all']
 // let devModules = ['all']
-// let devModules = ['index', 'statisticalReport', 'appoint']
-let devModules = ['all']
+let devModules = ['index', 'statisticalReport', 'appoint', 'ADMINISTRATORS']
+// let devModules = ['all']
 
 
 // let devModules = ['index', 'ADMINISTRATORS']
 // let devModules = ['index', 'ADMINISTRATORS']
 
 

+ 2 - 2
config/index.js

@@ -72,8 +72,8 @@ let proxyTable = {
   },
   },
   // 所有数据的请求域名地址
   // 所有数据的请求域名地址
   '/api/v1': {
   '/api/v1': {
-    target: 'http://172.16.33.166:80',
-    // target: 'http://localhost:8080',
+    // target: 'http://172.16.33.166:80',
+    target: 'http://localhost:8080',
     // target: 'http://192.168.1.104:8080',
     // target: 'http://192.168.1.104:8080',
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {

+ 66 - 3
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -26,6 +26,29 @@
             clearable
             clearable
           ></el-input>
           ></el-input>
         </el-form-item>
         </el-form-item>
+        <el-form-item>
+          <el-select
+            v-model="screen1"
+            placeholder="请选择需筛选的内容"
+            clearable
+            @change="changeScreen"
+            style="width:90px"
+          >
+            <el-option
+              v-for="item in options1"
+              :key="item.value"
+              :label="item.label"
+              :value="item.value"
+            >
+            </el-option>
+          </el-select>
+          <el-input
+            style="width:150px"
+            v-model="input1"
+            placeholder="请输入查询条件"
+            clearable
+          ></el-input>
+        </el-form-item>
         <el-form-item>
         <el-form-item>
           <label class="el-form-item__label" style="width: auto;"
           <label class="el-form-item__label" style="width: auto;"
             >订单日期:</label
             >订单日期:</label
@@ -1454,6 +1477,26 @@ export default {
           lable: '分录ID'
           lable: '分录ID'
         }
         }
       ],
       ],
+      input1: null,
+      screen1: '',
+      options1: [
+        {
+          value: '客户',
+          lable: '客户'
+        },
+        {
+          value: '承运商',
+          lable: '承运商'
+        },
+        {
+          value: '车牌号',
+          lable: '车牌号'
+        },
+        {
+          value: '分录ID',
+          lable: '分录ID'
+        }
+      ],
       pickerOptions: {
       pickerOptions: {
         disabledDate(time) {
         disabledDate(time) {
           return time.getTime() > Date.now()
           return time.getTime() > Date.now()
@@ -2330,9 +2373,9 @@ export default {
         })
         })
       }
       }
     },
     },
-    selectOne(selection, row){
-      console.log("selection:",row);
-      this.rowClick(row);
+    selectOne(selection, row) {
+      console.log('selection:', row)
+      this.rowClick(row)
     },
     },
     handleSelectionChange() {
     handleSelectionChange() {
       console.log(this.$refs.tableRef.selection, 'selection')
       console.log(this.$refs.tableRef.selection, 'selection')
@@ -3763,6 +3806,17 @@ export default {
       } else {
       } else {
         remark = this.input
         remark = this.input
       }
       }
+      if (this.screen1 == '客户') {
+        consigneeName = this.input1
+      } else if (this.screen1 == '承运商') {
+        carrierName = this.input1
+      } else if (this.screen1 == '车牌号') {
+        capacityNo = this.input1
+      } else if (this.screen == '分录ID') {
+        easPrimaryId = this.input
+      } else {
+        remark = this.input1
+      }
       this.axios
       this.axios
         .post(
         .post(
           '/api/v1/tms/getSaleSteelReport?startTime=' +
           '/api/v1/tms/getSaleSteelReport?startTime=' +
@@ -3891,6 +3945,15 @@ export default {
       } else {
       } else {
         remark = this.input
         remark = this.input
       }
       }
+      if (this.screen1 == '客户') {
+        consigneeName = this.input1
+      } else if (this.screen1 == '承运商') {
+        carrierName = this.input1
+      } else if (this.screen1 == '车牌号') {
+        capacityNo = this.input1
+      } else {
+        remark = this.input1
+      }
       if (getCookie('orgCode') == 'chengyunshang') {
       if (getCookie('orgCode') == 'chengyunshang') {
         carrierSsoId = getCookie('userId')
         carrierSsoId = getCookie('userId')
       }
       }