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