diff --git a/src/api/basic/invWarehouse.js b/src/api/basic/invWarehouse.js index a9d0f1a..7185f01 100644 --- a/src/api/basic/invWarehouse.js +++ b/src/api/basic/invWarehouse.js @@ -180,3 +180,12 @@ export function getThrsysDetail(params) { params: params }); } + +//替换单据条码 +export function replaceCodes(data) { + return axios({ + url: "/warehouse/inout/replaceCodes", + method: "post", + data: data + }) +} diff --git a/src/api/warehouse/order.js b/src/api/warehouse/order.js index e3276d6..2223e7f 100644 --- a/src/api/warehouse/order.js +++ b/src/api/warehouse/order.js @@ -324,8 +324,21 @@ export function expireTimeCheck(query) { ) } +export function filterOrderForDelete(params) { + return axios({ + url: "/udiwms/inout/order/filterOrderForDelete", + method: "get", + params: params + }); +} - +export function updateOrderInfo(data) { + return axios({ + url: "/udiwms/inout/order/updateOrderInfo", + method: "post", + data: data + }) +} diff --git a/src/router/index.js b/src/router/index.js index a791e2d..aa22ce6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -49,6 +49,7 @@ import waitOrder from "../views/warehouse/IOWaitOrder.vue"; import stockOrder from "../views/warehouse/stockOrder"; import stockOrderInCode from "../views/warehouse/stockOrderInCode"; import stockOrderDelSearch from "../views/warehouse/stockOrderDelSearch"; +import stockOrderDelete from "../views/warehouse/stockOrderDelete"; import stockOrderEditor from "../views/warehouse/stockOrderEditor"; import stockOrderSearch from "../views/warehouse/stockOrderSearch"; import stockOrderNew from "../views/warehouse/stockOrderNew"; @@ -1035,7 +1036,14 @@ export const asyncRouterMap = [ authRule: ["stock/stockOrderDelSearch"] } }, - + { + path: "stockOrderEdit", + component: stockOrderDelete, + name: "单据编辑", + meta: { + authRule: ["stock/stockOrderDelete"] + } + }, ] }, diff --git a/src/views/warehouse/codeReplace.vue b/src/views/warehouse/codeReplace.vue new file mode 100644 index 0000000..820eb6f --- /dev/null +++ b/src/views/warehouse/codeReplace.vue @@ -0,0 +1,323 @@ + + + + + + + + + diff --git a/src/views/warehouse/stockOrderDelete.vue b/src/views/warehouse/stockOrderDelete.vue new file mode 100644 index 0000000..d4e281e --- /dev/null +++ b/src/views/warehouse/stockOrderDelete.vue @@ -0,0 +1,620 @@ + + + + + +