|
@@ -98,11 +98,11 @@ export default {
|
|
if(getCookie("orgCode") == "dagangadmin" || getCookie("orgCode") == "zidonghuabu"){
|
|
if(getCookie("orgCode") == "dagangadmin" || getCookie("orgCode") == "zidonghuabu"){
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0",
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0",
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1",
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1",
|
|
- this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=4&orderStatus=11"
|
|
|
|
|
|
+ this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=1&type1=1"
|
|
}else{
|
|
}else{
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0&userId=" + getCookie("userId"),
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0&userId=" + getCookie("userId"),
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&userId=" + getCookie("userId"),
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&userId=" + getCookie("userId"),
|
|
- this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=4&orderStatus=11&userId=" + getCookie("userId")
|
|
|
|
|
|
+ this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=1&type1=1&userId=" + getCookie("userId")
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -110,11 +110,11 @@ export default {
|
|
if(getCookie("orgCode") == "dagangadmin" || getCookie("orgCode") == "zidonghuabu"){
|
|
if(getCookie("orgCode") == "dagangadmin" || getCookie("orgCode") == "zidonghuabu"){
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0&test=" + new Date(),
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0&test=" + new Date(),
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&test=" + new Date(),
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&test=" + new Date(),
|
|
- this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=4&orderStatus=11&test=" + new Date()
|
|
|
|
|
|
+ this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=1&type1=1&test=" + new Date()
|
|
}else{
|
|
}else{
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0&userId=" + getCookie("userId") + "&test=" + new Date(),
|
|
this.option1.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=0&orderType=12&dispatchStatus=0&userId=" + getCookie("userId") + "&test=" + new Date(),
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&userId=" + getCookie("userId") + "&test=" + new Date(),
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&userId=" + getCookie("userId") + "&test=" + new Date(),
|
|
- this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=4&orderStatus=11&userId=" + getCookie("userId") + "&test=" + new Date()
|
|
|
|
|
|
+ this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=1&type1=1&userId=" + getCookie("userId") + "&test=" + new Date()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
stopSpoOrder(scope){
|
|
stopSpoOrder(scope){
|
|
@@ -164,7 +164,7 @@ export default {
|
|
}else if(this.activeName == "second"){
|
|
}else if(this.activeName == "second"){
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&con=" + this.input
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&con=" + this.input
|
|
}else{
|
|
}else{
|
|
- this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=4&orderStatus=11&con=" + this.input
|
|
|
|
|
|
+ this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=1&orderStatus=11&con=" + this.input
|
|
}
|
|
}
|
|
}else
|
|
}else
|
|
{
|
|
{
|
|
@@ -173,7 +173,7 @@ export default {
|
|
}else if(this.activeName == "second"){
|
|
}else if(this.activeName == "second"){
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&userId=" + getCookie("userId") + "&con=" + this.input
|
|
this.option2.requestUrl = "/api/v1/ams/getSporadicOrdersList?apiId=428&issueStatus=1&orderType=12&sporadicStatus=1&userId=" + getCookie("userId") + "&con=" + this.input
|
|
}else{
|
|
}else{
|
|
- this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=4&orderStatus=11&userId=" + getCookie("userId") + "&con=" + this.input
|
|
|
|
|
|
+ this.option3.requestUrl = "/api/v1/oms/getOthersOrderMesToSend?apiId=386&type=1&orderStatus=11&userId=" + getCookie("userId") + "&con=" + this.input
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|