第三方单据选入修改

prod
anthonywj 2 years ago
parent 11523ede3e
commit 7c300bd42c

@ -2,126 +2,134 @@ import axios from '@/utils/request'
//--------------获取ERP数据-------------------
export function getErpMainOrder(query) {
return axios({
url: "/warehouse/getErpMainOrder",
method: "get",
params: query
});
return axios({
url: "/warehouse/getErpMainOrder",
method: "get",
params: query
});
}
export function getCloudErp(query) {
return axios({
url: "/spms/erpOrder/filter",
method: "get",
params: query
});
return axios({
url: "/spms/erpOrder/filter",
method: "get",
params: query
});
}
export function getThirdSysOrder(query) {
return axios({
url: "/udiwms/thirdOrder/filter",
method: "get",
params: query
});
return axios({
url: "/udiwms/thirdOrder/filter",
method: "get",
params: query
});
}
export function getErpMainOrderStatus(query) {
return axios({
url: "/warehouse/getErpMainOrderStatus",
method: "get",
params: query
});
return axios({
url: "/warehouse/getErpMainOrderStatus",
method: "get",
params: query
});
}
export function getErpDetailOrder(query) {
return axios({
url: "/warehouse/getErpDetailOrder",
method: "get",
params: query
});
return axios({
url: "/warehouse/getErpDetailOrder",
method: "get",
params: query
});
}
export function importErpOrder(query) {
return axios({
url: "/warehouse/importErpOrder",
method: "post",
data: query
});
return axios({
url: "/warehouse/importErpOrder",
method: "post",
data: query
});
}
export function combineErpOrder(query) {
return axios({
url: "/warehouse/combineErpOrder",
method: "post",
data: query
});
return axios({
url: "/warehouse/combineErpOrder",
method: "post",
data: query
});
}
export function deleteErpOrder(query) {
return axios({
url: "/warehouse/deleteErpOrder",
method: "post",
data: query
});
return axios({
url: "/warehouse/deleteErpOrder",
method: "post",
data: query
});
}
export function selectErpOrder(query) {
return axios({
url: "/warehouse/selectErpOrder",
method: "post",
data: query
});
return axios({
url: "/warehouse/selectErpOrder",
method: "post",
data: query
});
}
export function importErpStock(query) {
return axios({
url: "/warehouse/stockPrint/importErpStock",
method: "post",
data: query
});
return axios({
url: "/warehouse/stockPrint/importErpStock",
method: "post",
data: query
});
}
export function repeatCheck(query) {
return axios({
url: "/warehouse/repeatCheck",
method: "post",
data: query
});
return axios({
url: "/warehouse/repeatCheck",
method: "post",
data: query
});
}
export function repeatPrintCheck(query) {
return axios({
url: "/warehouse/repeatPrintCheck",
method: "post",
data: query
});
return axios({
url: "/warehouse/repeatPrintCheck",
method: "post",
data: query
});
}
export function dlErpStock(query) {
return axios({
url: "/warehouse/dlErpStock",
method: "get",
params: query
});
return axios({
url: "/warehouse/dlErpStock",
method: "get",
params: query
});
}
export function addStockOrder(query) {
return axios({
url: "/udiwms/erpOrder/addStockOrder",
method: "get",
params: query
});
return axios({
url: "/udiwms/erpOrder/addStockOrder",
method: "get",
params: query
});
}
export function addReceiveOrder(query) {
return axios({
url: "/udiwms/inout/order/addReceiveOrder",
method: "post",
data: query
});
return axios({
url: "/udiwms/inout/order/addReceiveOrder",
method: "post",
data: query
});
}
export function addThrOrder(query) {
return axios({
url: "/udiwms/inout/order/addThrOrder",
method: "post",
data: query
});
}

@ -143,7 +143,7 @@
</template>
<script>
import {addStockOrder, getCloudErp} from "../../api/inout/erpOrder";
import {addStockOrder, addThrOrder, getCloudErp} from "../../api/inout/erpOrder";
import store from "../../store";
import {getOriginBusType} from "@/api/basic/busOriginType";
import {filterAllByUser} from "@/api/system/invWarehouse";
@ -319,7 +319,7 @@ export default {
locStorageCode: this.curLocInv,
invWarehouseCode: this.currentRow.invWarehouseCode,
}
addStockOrder(tQuery)
addThrOrder(tQuery)
.then((response) => {
if (response.code === 20000) {
this.closeDialog();

Loading…
Cancel
Save