|
|
@@ -232,7 +232,7 @@
|
|
|
current: 1,
|
|
|
},
|
|
|
created() {
|
|
|
- let url = this.getBaseUrl() + `/api/receiveBoard/formList?size=${this.size}¤t=${this.current}`
|
|
|
+ let url = this.getBaseUrl() + `/api/device/check/receiveBoard/formList?size=${this.size}¤t=${this.current}`
|
|
|
this.initSearchDate();
|
|
|
this.getPageResult(url);
|
|
|
},
|
|
|
@@ -344,7 +344,7 @@
|
|
|
if (env === 'local') {
|
|
|
url = 'http://127.0.0.1:8116'
|
|
|
} else if (env === 'production') {
|
|
|
- url = 'https://device.baoshi56.com'
|
|
|
+ url = 'https://api.baoshi56.com'
|
|
|
}
|
|
|
return url;
|
|
|
},
|
|
|
@@ -354,11 +354,11 @@
|
|
|
} else if (flag === 'next' && this.current < this.resData.details.pages) {
|
|
|
this.current++;
|
|
|
}
|
|
|
- let url = this.getBaseUrl() + `/api/receiveBoard/formList?size=${this.size}¤t=${this.current}`
|
|
|
+ let url = this.getBaseUrl() + `/api/device/check/receiveBoard/formList?size=${this.size}¤t=${this.current}`
|
|
|
this.getPageResult(url);
|
|
|
},
|
|
|
showDetail({receiveTaskNo, reservationNo, asnNo,asnStatus,asnType,customerCode,warehouseId}) {
|
|
|
- let url = this.getBaseUrl() + `/api/receiveBoard/receiveDetail?receiveTaskNo=${receiveTaskNo}&reservationNo=${reservationNo}&asnNo=${asnNo}`
|
|
|
+ let url = this.getBaseUrl() + `/api/device/check/receiveBoard/receiveDetail?receiveTaskNo=${receiveTaskNo}&reservationNo=${reservationNo}&asnNo=${asnNo}`
|
|
|
axios.get(url, this.getSearch()).then(res => {
|
|
|
if (res.data.code !== 200) {
|
|
|
this.resData.itemDetail = null;
|
|
|
@@ -402,7 +402,7 @@
|
|
|
},
|
|
|
closeAsn(item) {
|
|
|
if(!confirm('确定要关闭ASN单号为:“'+item.asnNo+'”的订单吗?')){return};
|
|
|
- let url = this.getBaseUrl() + `/api/receiveBoard/closeAsn`
|
|
|
+ let url = this.getBaseUrl() + `/api/device/check/receiveBoard/closeAsn`
|
|
|
axios.post(url, this.getCloseAsnParam(item)).then(res => {
|
|
|
if (res.data.code !== 200 || !res.data.data) {
|
|
|
window.tempTip.setDuration(2000);
|
|
|
@@ -421,7 +421,7 @@
|
|
|
},
|
|
|
closeAsnDetail() {
|
|
|
if(!confirm('确定要关闭ASN单号为:“'+this.resData.asnNo+'”的订单吗?')){return};
|
|
|
- let url = this.getBaseUrl() + `/api/receiveBoard/closeAsn`
|
|
|
+ let url = this.getBaseUrl() + `/api/device/check/receiveBoard/closeAsn`
|
|
|
axios.post(url,this.getCloseAsnDetailParam()).then(res => {
|
|
|
if (res.data.code !== 200 || !res.data.data) {
|
|
|
window.tempTip.setDuration(2000);
|
|
|
@@ -440,7 +440,7 @@
|
|
|
},
|
|
|
deleteTask(receiveTaskNo) {
|
|
|
if(!confirm('确定要删除收获任务号单号为:“'+receiveTaskNo+'”的开单任务吗?')){return};
|
|
|
- let url = this.getBaseUrl() + `/api/receiveBoard/deleteTask?receiveTaskNo=${receiveTaskNo}`
|
|
|
+ let url = this.getBaseUrl() + `/api/device/check/receiveBoard/deleteTask?receiveTaskNo=${receiveTaskNo}`
|
|
|
axios.get(url).then(res => {
|
|
|
if (res.data.code !== 200 || !res.data.data) {
|
|
|
window.tempTip.setDuration(2000);
|