diff --git a/src/api/basic/basicHospType.js b/src/api/basic/basicHospType.js index 766b347..b7a7d02 100644 --- a/src/api/basic/basicHospType.js +++ b/src/api/basic/basicHospType.js @@ -13,12 +13,21 @@ export function getBasicHospType(query) { export function getListMenu(query) { return axios({ url: "/udiwms/basic/hosp/type/menuList", + method: "post", + data: query + }); +} + +export function getOneName(query) { + return axios({ + url: "/udiwms/basic/hosp/type/getOneName", method: "get", params: query }); } + export function saveBasicHospType(query) { return axios({ url: "/udiwms/basic/hosp/type/save", diff --git a/src/api/inout/order.js b/src/api/inout/order.js index a32fa73..031b8d6 100644 --- a/src/api/inout/order.js +++ b/src/api/inout/order.js @@ -505,3 +505,11 @@ export function updateOrderDetailBiz(params) { }); } + +export function orderDetailAdd(params) { + return axios({ + url: "/inv/inner/order/orderDetailAdd", + method: "post", + data: params + }); +} diff --git a/src/api/sync/spsSyncStatus.js b/src/api/sync/spsSyncStatus.js index d3425b4..091be2f 100644 --- a/src/api/sync/spsSyncStatus.js +++ b/src/api/sync/spsSyncStatus.js @@ -43,3 +43,12 @@ export function updateConfig(query) { }); } +export function infoByStatus(query) { + return axios({ + url: "/spssync/basic/udiinfo/infoByStatus", + method: "post", + data: query, + responseType: 'blob' + }); +} + diff --git a/src/utils/request.js b/src/utils/request.js index b02dfd7..86a9ce2 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -86,7 +86,7 @@ service.interceptors.response.use(res => { if (res.request.responseType === 'blob' || res.request.responseType === 'arraybuffer') { return res.data } - if (code === 401) { + if (code === 2) { if (!isRelogin.show) { isRelogin.show = true; MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { diff --git a/src/views/basic/business/stockOrder.vue b/src/views/basic/business/stockOrder.vue index 2f8f704..7fc3c66 100644 --- a/src/views/basic/business/stockOrder.vue +++ b/src/views/basic/business/stockOrder.vue @@ -152,7 +152,7 @@ - + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ item.name }} + + + + + + + + + + + 草稿 + 待校验 + 待核对 + 待审核 + 已审核 + + + + + + + + + + + + + + + + +
+ + 显示/隐藏搜索栏 + 重置 + 查询 + 选入 + +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + diff --git a/src/views/basic/locUdi/UdiSupplement.vue b/src/views/basic/locUdi/UdiSupplement.vue index 9d2fc44..5079951 100644 --- a/src/views/basic/locUdi/UdiSupplement.vue +++ b/src/views/basic/locUdi/UdiSupplement.vue @@ -113,6 +113,12 @@ width="120" show-overflow-tooltip > + - +