|
@@ -141,13 +141,13 @@ export default {
|
|
|
}
|
|
|
if (startTime && endTime) {
|
|
|
if (startTime < endTime) {
|
|
|
- if(getCookie("orgCode") == "dagangadmin" || getCookie("orgCode") == "zidonghuabu"){
|
|
|
+ // if(getCookie("orgCode") == "dagangadmin" || getCookie("orgCode") == "zidonghuabu"){
|
|
|
this.options.requestUrl = "/api/v1/wms/getWmsInboundResultStatistics?apiId=445&warehouseId="+3+"&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
|
|
|
- }else if(getCookie("orgCode") == "wuliuchuyunzhongxin"){
|
|
|
- this.options.requestUrl = "/api/v1/wms/getWmsInboundResultStatistics?apiId=445&warehouseId="+3+"&orderType=13&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
|
|
|
- }else{
|
|
|
- this.options.requestUrl = '/api/v1/wms/getWmsInboundResultStatistics?apiId=445&warehouseId="+3+"&userId=' + getCookie("orgCode") +"&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
|
|
|
- }
|
|
|
+ // }else if(getCookie("orgCode") == "wuliuchuyunzhongxin"){
|
|
|
+ // this.options.requestUrl = "/api/v1/wms/getWmsInboundResultStatistics?apiId=445&warehouseId="+3+"&orderType=13&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
|
|
|
+ // }else{
|
|
|
+ // this.options.requestUrl = '/api/v1/wms/getWmsInboundResultStatistics?apiId=445&warehouseId="+3+"&userId=' + getCookie("orgCode") +"&startTime=" + startTime + "&endTime=" + endTime + "&i=" +new Date();
|
|
|
+ // }
|
|
|
} else {
|
|
|
this.startTime = null;
|
|
|
this.endTime = null;
|