liyg 2 anos atrás
pai
commit
50ab85ac5f

+ 10 - 10
src/views/sale/components/transport_appointment/openDistribution.vue

@@ -2,7 +2,7 @@
 <template>
   <div class="steel_inbound">
     <div class="sache">
-      <el-input placeholder="请输入内容" v-model="inputText" clearable>
+      <el-input placeholder="请输入内容" v-model="input" clearable>
       </el-input>
       <el-button type="primary" class="btn" @click="onclick1">
         <i class="el-icon-search"></i>查询
@@ -213,32 +213,32 @@ export default {
       if (getCookie("orgCode") == "chengyunshang") {
         this.first.requestUrl =
           "/api/v1/ams/getPCDispatchSaleOrderList?apiId=242&dispatchType=0&carrierSsoId=" +
-          getCookie("userId");
+          getCookie("userId")+"&con=" +this.input;
       } else {
         this.first.requestUrl =
           "/api/v1/ams/getPCDispatchSaleOrderList?apiId=242&dispatchType=0&carrierSsoId=" +
-          this.ssoId;
+          this.ssoId+"&con=" +this.input;
       }
     },
     secondGetRequestUrl() {
       if (getCookie("orgCode") == "chengyunshang") {
         this.second.requestUrl =
           "/api/v1/ams/selectDispatchSaleOrderList?apiId=233&carrierSsoId=" +
-          getCookie("userId");
+          getCookie("userId")+"&con=" +this.input;
       } else {
         this.second.requestUrl =
           "/api/v1/ams/selectDispatchSaleOrderList?apiId=233&carrierSsoId=" +
-          this.ssoId;
+          this.ssoId+"&con=" +this.input;
       }
     },
     onclick1() {
+      console.log();
       if (this.activeName == "first") {
-        this.option1.requestUrl =
-          "/api/v1/ams/getPCDispatchSaleOrderList?apiId=242&con=" + this.input;
+        this.firstGetRequestUrl();
+        console.log(this.first.requestUrl);
       } else if (this.activeName == "second") {
-        this.option2.requestUrl =
-          "/api/v1/ams/selectDispatchSaleOrderList?apiId=233&carrierId=1&con=" +
-          this.input;
+        this.secondGetRequestUrl();
+        console.log(this.second.requestUrl);
       }
     },
     dispatch(scope) {

+ 1 - 0
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -3216,6 +3216,7 @@ export default {
     updateCapacity() {
       console.log('我只想测')
       this.steelMap.capacityId = this.steelMap.newsCapacityId
+      this.steelMap.driverTel = this.steelMap.capacityTel
       if (this.steelMap.newsCapacityId == null) {
         this.$message.warning('请先注册车牌号或者选中弹出后再提交!')
         return