|
@@ -3,7 +3,7 @@
|
|
<div class="transportOrder">
|
|
<div class="transportOrder">
|
|
<div class="transportOrder_top">
|
|
<div class="transportOrder_top">
|
|
<el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
|
|
<el-input placeholder="请输入内容" v-model="input" clearable> </el-input>
|
|
- <el-button type="primary" class="btn" @click="onclick">
|
|
|
|
|
|
+ <el-button type="primary" class="btn" @click="getRequestUrl">
|
|
<i class="el-icon-search"></i>查询
|
|
<i class="el-icon-search"></i>查询
|
|
</el-button>
|
|
</el-button>
|
|
<el-badge
|
|
<el-badge
|
|
@@ -183,13 +183,17 @@ export default {
|
|
"/api/v1/ams/getPurRequirementList?apiId=431&requirementStatus=1&planStatus=3";
|
|
"/api/v1/ams/getPurRequirementList?apiId=431&requirementStatus=1&planStatus=3";
|
|
} else {
|
|
} else {
|
|
this.first.requestUrl =
|
|
this.first.requestUrl =
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1";
|
|
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
this.Received.requestUrl =
|
|
this.Received.requestUrl =
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5";
|
|
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
this.completed.requestUrl =
|
|
this.completed.requestUrl =
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2";
|
|
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
this.dispatched.requestUrl =
|
|
this.dispatched.requestUrl =
|
|
- "/api/v1/ams/getPurRequirementList?apiId=431&requirementStatus=1&planStatus=3";
|
|
|
|
|
|
+ "/api/v1/ams/getPurRequirementList?apiId=431&requirementStatus=1&planStatus=3&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
}
|
|
}
|
|
// this.initWebSocket();
|
|
// this.initWebSocket();
|
|
},
|
|
},
|
|
@@ -265,19 +269,25 @@ export default {
|
|
},
|
|
},
|
|
getRequestUrl() {
|
|
getRequestUrl() {
|
|
if (getCookie("orgCode") == "chengyunshang") {
|
|
if (getCookie("orgCode") == "chengyunshang") {
|
|
- this.first.requestUrl =
|
|
|
|
|
|
+ (this.first.requestUrl =
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1&carrierId=" +
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1&carrierId=" +
|
|
this.carrierUserId +
|
|
this.carrierUserId +
|
|
"&test=" +
|
|
"&test=" +
|
|
- new Date();
|
|
|
|
- this.Received.requestUrl =
|
|
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5&planEnableStatus=1&carrierId=" +
|
|
|
|
- this.carrierUserId +
|
|
|
|
- "&test=" +
|
|
|
|
- new Date();
|
|
|
|
- this.completed.requestUrl =
|
|
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2&carrierId=" +
|
|
|
|
- getCookie("userId");
|
|
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input),
|
|
|
|
+ (this.Received.requestUrl =
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5&planEnableStatus=1&carrierId=" +
|
|
|
|
+ this.carrierUserId +
|
|
|
|
+ "&test=" +
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input),
|
|
|
|
+ (this.completed.requestUrl =
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2&carrierId=" +
|
|
|
|
+ getCookie("userId") +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input);
|
|
} else if (
|
|
} else if (
|
|
getCookie("orgCode") == "dagangadmin" ||
|
|
getCookie("orgCode") == "dagangadmin" ||
|
|
getCookie("orgCode") == "zidonghuabu"
|
|
getCookie("orgCode") == "zidonghuabu"
|
|
@@ -285,24 +295,50 @@ export default {
|
|
this.first.requestUrl =
|
|
this.first.requestUrl =
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1" +
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1" +
|
|
"&test=" +
|
|
"&test=" +
|
|
- new Date();
|
|
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input;
|
|
|
|
+
|
|
this.Received.requestUrl =
|
|
this.Received.requestUrl =
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5" +
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5" +
|
|
"&test=" +
|
|
"&test=" +
|
|
- new Date();
|
|
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input;
|
|
|
|
+
|
|
this.completed.requestUrl =
|
|
this.completed.requestUrl =
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2";
|
|
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2" +
|
|
|
|
+ "&test=" +
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input;
|
|
} else {
|
|
} else {
|
|
this.first.requestUrl =
|
|
this.first.requestUrl =
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1" +
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=4&planEnableStatus=1" +
|
|
"&test=" +
|
|
"&test=" +
|
|
- new Date();
|
|
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input +
|
|
|
|
+ "&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
|
|
+
|
|
this.Received.requestUrl =
|
|
this.Received.requestUrl =
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5" +
|
|
"/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=5" +
|
|
"&test=" +
|
|
"&test=" +
|
|
- new Date();
|
|
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input +
|
|
|
|
+ "&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
|
|
+
|
|
this.completed.requestUrl =
|
|
this.completed.requestUrl =
|
|
- "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2";
|
|
|
|
|
|
+ "/api/v1/oms/getPurInwardOrderList?apiId=432&orderStatus=2" +
|
|
|
|
+ "&test=" +
|
|
|
|
+ new Date() +
|
|
|
|
+ "&con=" +
|
|
|
|
+ this.input +
|
|
|
|
+ "&userId=" +
|
|
|
|
+ getCookie("orgCode");
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getTruckRequestUrl() {
|
|
getTruckRequestUrl() {
|