diff --git a/pages/StockOut/features/ProductStockIn/index.vue b/pages/StockOut/features/ProductStockIn/index.vue index 7854095..2f05216 100644 --- a/pages/StockOut/features/ProductStockIn/index.vue +++ b/pages/StockOut/features/ProductStockIn/index.vue @@ -187,7 +187,7 @@ getLocationName() { this.items_Location=[] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/checkplan/ErpLocationMoveNoInvoice/ErpLocationMoveNoInvoice.vue b/pages/checkplan/ErpLocationMoveNoInvoice/ErpLocationMoveNoInvoice.vue index 2053806..b8b083d 100644 --- a/pages/checkplan/ErpLocationMoveNoInvoice/ErpLocationMoveNoInvoice.vue +++ b/pages/checkplan/ErpLocationMoveNoInvoice/ErpLocationMoveNoInvoice.vue @@ -373,7 +373,7 @@ this.items_Location = [] this.BoxListInfo = []; if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/checkplan/InventPage/index.vue b/pages/checkplan/InventPage/index.vue index 7ebb107..3f05679 100644 --- a/pages/checkplan/InventPage/index.vue +++ b/pages/checkplan/InventPage/index.vue @@ -173,7 +173,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION1 != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION1, }).then(res => { console.log(res.data.resultObj) diff --git a/pages/checkplan/MaterialQuery/index.vue b/pages/checkplan/MaterialQuery/index.vue index 5af657b..5b4d8f7 100644 --- a/pages/checkplan/MaterialQuery/index.vue +++ b/pages/checkplan/MaterialQuery/index.vue @@ -221,7 +221,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/checkplan/ModifyLocationName/ModifyLocationName.vue b/pages/checkplan/ModifyLocationName/ModifyLocationName.vue index 87efe45..66a6bc9 100644 --- a/pages/checkplan/ModifyLocationName/ModifyLocationName.vue +++ b/pages/checkplan/ModifyLocationName/ModifyLocationName.vue @@ -363,7 +363,7 @@ getLocationName2() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { @@ -472,7 +472,7 @@ return; } var barCodeArr = this.MATERIALPACKINGNAME.split("|"); - await this.$MyRequest('/NoInvoice/getChangeLocationBarCode', { + await this.$MyRequest('/api/NoInvoice/getChangeLocationBarCode', { MATERIALPACKINGNAME: this.MATERIALPACKINGNAME, LocationName: this.LOCATIONNAME, ErpFactory: this.ERPFACTORY, diff --git a/pages/checkplan/ModifyMaterialPaking/ModifyMaterialPaking.vue b/pages/checkplan/ModifyMaterialPaking/ModifyMaterialPaking.vue index 2c28919..5e9b109 100644 --- a/pages/checkplan/ModifyMaterialPaking/ModifyMaterialPaking.vue +++ b/pages/checkplan/ModifyMaterialPaking/ModifyMaterialPaking.vue @@ -176,7 +176,7 @@ this.$showMessage("不存在需要换绑的信息") return; } - this.$MyRequest('/NoInvoice/ChangeSupplierCharge', { + this.$MyRequest('/api/NoInvoice/ChangeSupplierCharge', { boxList: boxList, commitDate : this.commitDate, user : this.userId @@ -245,7 +245,7 @@ this.$playFail() return; } - this.$MyRequest('/NoInvoice/getSupplierChargeByPakingname', { + this.$MyRequest('/api/NoInvoice/getSupplierChargeByPakingname', { MATERIALPACKINGNAME: this.MATERIALPACKINGNAME, }).then(res => { console.log(res.data.success) diff --git a/pages/checkplan/Palletizing/Palletizing.vue b/pages/checkplan/Palletizing/Palletizing.vue index f42ba65..e11f5e9 100644 --- a/pages/checkplan/Palletizing/Palletizing.vue +++ b/pages/checkplan/Palletizing/Palletizing.vue @@ -168,7 +168,7 @@ }) return } - var url = "//Palletizing/scanCode" + var url = "/api/Palletizing/scanCode" console.log(this.BoxListInfo[0]) this.$MyRequest(url, { materialPackingName: this.MaterialPackingcode, @@ -209,7 +209,7 @@ console.log(this.commitDate) if (this.BoxListInfo.length > 0) { this.loading = true; - this.$MyRequest('/Palletizing/addPalletizing', { + this.$MyRequest('/api/Palletizing/addPalletizing', { userId: this.userId, boxList: this.BoxListInfo }).then(res => { diff --git a/pages/material/features/ModifyLocationName/ModifyLocationName.vue b/pages/material/features/ModifyLocationName/ModifyLocationName.vue index 8a627ca..a2034a3 100644 --- a/pages/material/features/ModifyLocationName/ModifyLocationName.vue +++ b/pages/material/features/ModifyLocationName/ModifyLocationName.vue @@ -332,7 +332,7 @@ getLocationName2() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/OtherStockIn/index.vue b/pages/material/features/OtherStockIn/index.vue index 484d251..7a09688 100644 --- a/pages/material/features/OtherStockIn/index.vue +++ b/pages/material/features/OtherStockIn/index.vue @@ -296,7 +296,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue b/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue index 8636fc4..70cbbb4 100644 --- a/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue +++ b/pages/material/features/OtherStockInNoInvoic/OtherStockInNoInvoic.vue @@ -344,7 +344,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/ProductMaterialReturn/index.vue b/pages/material/features/ProductMaterialReturn/index.vue index e7253c4..29f72bf 100644 --- a/pages/material/features/ProductMaterialReturn/index.vue +++ b/pages/material/features/ProductMaterialReturn/index.vue @@ -197,7 +197,7 @@ getLocationName() { this.items_Location=[] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/ProductSaleReturn/index.vue b/pages/material/features/ProductSaleReturn/index.vue index 7338b5f..7dfde1f 100644 --- a/pages/material/features/ProductSaleReturn/index.vue +++ b/pages/material/features/ProductSaleReturn/index.vue @@ -323,7 +323,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { @@ -450,7 +450,7 @@ this.BoxListInfo = []; this.$MyRequest('/SaleReturn/getSaleReturnList', { ReceiveRequestName: this.ReceiveRequestName, - ReceiveRequestType: "4C" + ReceiveRequestType: "ZLR1" }).then(res => { console.log(res.data) if (res.data.success) { @@ -594,6 +594,8 @@ user : this.userId, commitDate : this.commitDate, opcode : this.opCode, + siteName: this.siteName, + receiveRequestName: this.ReceiveRequestName, materialreceiveAct : { ReceiveRequestName: this.ReceiveRequestName, siteName: this.siteName diff --git a/pages/material/features/ProductStockIn/index - 副本 (2).vue b/pages/material/features/ProductStockIn/index - 副本 (2).vue index cd30c5c..9ca6774 100644 --- a/pages/material/features/ProductStockIn/index - 副本 (2).vue +++ b/pages/material/features/ProductStockIn/index - 副本 (2).vue @@ -398,7 +398,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/ProductStockIn/index - 副本.vue b/pages/material/features/ProductStockIn/index - 副本.vue index dfb62e6..c96557f 100644 --- a/pages/material/features/ProductStockIn/index - 副本.vue +++ b/pages/material/features/ProductStockIn/index - 副本.vue @@ -413,7 +413,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/ProductStockIn/index.vue b/pages/material/features/ProductStockIn/index.vue index 9fc2d0b..c242d51 100644 --- a/pages/material/features/ProductStockIn/index.vue +++ b/pages/material/features/ProductStockIn/index.vue @@ -418,7 +418,7 @@ this.items_Location = [] this.items_LocationAll = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/TransferReceivePage/index.vue b/pages/material/features/TransferReceivePage/index.vue index b72c392..d7a60a9 100644 --- a/pages/material/features/TransferReceivePage/index.vue +++ b/pages/material/features/TransferReceivePage/index.vue @@ -349,7 +349,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/material/features/TransferReturn/index.vue b/pages/material/features/TransferReturn/index.vue index 8806c39..85b3553 100644 --- a/pages/material/features/TransferReturn/index.vue +++ b/pages/material/features/TransferReturn/index.vue @@ -188,7 +188,7 @@ getLocationName() { this.items_Location=[] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/product/features/LIbraryStockInOpt/index.vue b/pages/product/features/LIbraryStockInOpt/index.vue index d5f4cae..c3b454a 100644 --- a/pages/product/features/LIbraryStockInOpt/index.vue +++ b/pages/product/features/LIbraryStockInOpt/index.vue @@ -415,7 +415,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/product/features/LIbraryStockTransfer/index - 副本.vue b/pages/product/features/LIbraryStockTransfer/index - 副本.vue index 67300c2..1f347cf 100644 --- a/pages/product/features/LIbraryStockTransfer/index - 副本.vue +++ b/pages/product/features/LIbraryStockTransfer/index - 副本.vue @@ -427,7 +427,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) { diff --git a/pages/product/features/LIbraryStockTransfer/index.vue b/pages/product/features/LIbraryStockTransfer/index.vue index df98f96..68a5117 100644 --- a/pages/product/features/LIbraryStockTransfer/index.vue +++ b/pages/product/features/LIbraryStockTransfer/index.vue @@ -653,7 +653,7 @@ getLocationName() { this.items_Location = [] if (this.ERPLOCATION != '') { - this.$MyRequest('/storage/getLocationNameForERPLocation', { + this.$MyRequest('/api/storage/getLocationNameForERPLocation', { ERPLocation: this.ERPLOCATION }).then(res => { if (res.data.success) {