diff --git a/.env.production b/.env.production
index bfdbe4e0..4d77837e 100644
--- a/.env.production
+++ b/.env.production
@@ -4,7 +4,7 @@ VUE_APP_TITLE = UDI管理系统
# 生产环境配置
ENV = 'production'
# VUE_APP_BASE_API = 'http://116.204.71.86:9150/UDI_WMS_MC/'
-VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/'
+VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.0.66:9160/UDI_WMS_MC/'
# 应用访问路径 例如使用前缀 /admin/
VUE_APP_CONTEXT_PATH = '/UDI_WMS_NEW/'
diff --git a/src/api/basic/busOriginType.js b/src/api/basic/busOriginType.js
index d99fc36d..fc7fdd2c 100644
--- a/src/api/basic/busOriginType.js
+++ b/src/api/basic/busOriginType.js
@@ -1,4 +1,4 @@
-import axios from "../../utils/request";
+import axios from "@/utils/request";
export function getOriginBusType(query) {
return axios({
diff --git a/src/api/basic/busType.js b/src/api/basic/busType.js
index 62d2149d..72704968 100644
--- a/src/api/basic/busType.js
+++ b/src/api/basic/busType.js
@@ -1,4 +1,4 @@
-import axios from "../../utils/request";
+import axios from "@/utils/request";
export function getBusTypeList(params) {
return axios({
diff --git a/src/api/basic/busTypeChange.js b/src/api/basic/busTypeChange.js
index 0ab63dc3..681a45f7 100644
--- a/src/api/basic/busTypeChange.js
+++ b/src/api/basic/busTypeChange.js
@@ -1,4 +1,4 @@
-import axios from "../../utils/request";
+import axios from "@/utils/request";
export function getBusTypeChangeList(params) {
return axios({
diff --git a/src/api/basic/busTypePre.js b/src/api/basic/busTypePre.js
index 8d5dfe96..f26181d2 100644
--- a/src/api/basic/busTypePre.js
+++ b/src/api/basic/busTypePre.js
@@ -1,4 +1,4 @@
-import axios from "../../utils/request";
+import axios from "@/utils/request";
export function getBusTypePreResList(params) {
return axios({
diff --git a/src/api/basic/bussinessType.js b/src/api/basic/bussinessType.js
index 525f28c4..a2e7431a 100644
--- a/src/api/basic/bussinessType.js
+++ b/src/api/basic/bussinessType.js
@@ -1,4 +1,4 @@
-import axios from "../../utils/request";
+import axios from "@/utils/request";
export function getBussinessType(query) {
return axios({
diff --git a/src/api/inout/acceptOrder.js b/src/api/inout/acceptOrder.js
index e4ffc885..750d0416 100644
--- a/src/api/inout/acceptOrder.js
+++ b/src/api/inout/acceptOrder.js
@@ -26,3 +26,12 @@ export function acceptAddCode(query) {
data: query
});
}
+
+export function getAcceptStatus(query) {
+ return axios({
+ url: "/udiwms/stock/order/accept/getStatus",
+ method: "get",
+ params: query
+ });
+}
+
diff --git a/src/api/inout/code.js b/src/api/inout/code.js
index bc637415..aa5167fa 100644
--- a/src/api/inout/code.js
+++ b/src/api/inout/code.js
@@ -16,6 +16,23 @@ export function tabCode(query) {
});
}
+export function getCodeLost(query) {
+ return axios({
+ url: "/warehouse/inout/getCodeLost",
+ method: "post",
+ data: query
+ });
+}
+
+export function updateCodeLost(query) {
+ return axios({
+ url: "/warehouse/inout/updateCodeLost",
+ method: "post",
+ data: query
+ });
+}
+
+
export function findByCode(query) {
return axios(
diff --git a/src/api/inout/order.js b/src/api/inout/order.js
index 8163470c..fc6656f7 100644
--- a/src/api/inout/order.js
+++ b/src/api/inout/order.js
@@ -58,6 +58,14 @@ export function saveOrderWeb(query) {
});
}
+export function filterInvoice(params) {
+ return axios({
+ url: "/udiwms/inout/order/filterInvoice",
+ method: "get",
+ params: params
+ });
+}
+
export function orderListError(query) {
return axios({
@@ -423,6 +431,15 @@ export function updateStatus(query) {
});
}
+export function thirdUpdateStatus(query) {
+ return axios({
+ url: "/spms/inout/order/third/updateStatus",
+ method: "post",
+ data: query
+ });
+}
+
+
export function filterOrderTrace(params) {
return axios({
url: "/udiwms/inout/order/filterOrderTrace",
diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js
index 79953cc4..7b8795b5 100644
--- a/src/api/inout/orderDetailBiz.js
+++ b/src/api/inout/orderDetailBiz.js
@@ -8,6 +8,40 @@ export function getBizDetailList(params) {
});
}
+export function filterListInvoice(params) {
+ return axios({
+ url: "/udiwms/inout/bizDetail/filterListInvoice",
+ method: "get",
+ params: params
+ });
+}
+
+export function deleteById(params) {
+ return axios({
+ url: "/udiwms/inout/biz/deleteById",
+ method: "get",
+ params: params
+ });
+}
+
+export function updateById(data) {
+ return axios({
+ url: "/udiwms/inout/biz/updateById",
+ method: "post",
+ data: data
+ });
+}
+
+export function insertInvoice(params) {
+ return axios({
+ url: "/udiwms/inout/biz/insertInvoice",
+ method: "post",
+ data: params
+ });
+}
+
+
+
export function getCheckDetailList(params) {
return axios({
url: "/udiwms/inout/wditCheck/filterList",
diff --git a/src/api/inout/orderDetailResult.js b/src/api/inout/orderDetailResult.js
index 1c84516b..244896f9 100644
--- a/src/api/inout/orderDetailResult.js
+++ b/src/api/inout/orderDetailResult.js
@@ -7,3 +7,11 @@ export function getResultDetailList(params) {
params: params
});
}
+
+export function getResultOrderList(params) {
+ return axios({
+ url: "/udiwms/inout/resultDetail/filterOrderList",
+ method: "get",
+ params: params
+ });
+}
diff --git a/src/views/basic/busType/busTypeAdvancedSettings.vue b/src/views/basic/busType/busTypeAdvancedSettings.vue
index ed12ed7b..1fcee1f5 100644
--- a/src/views/basic/busType/busTypeAdvancedSettings.vue
+++ b/src/views/basic/busType/busTypeAdvancedSettings.vue
@@ -2,877 +2,952 @@
-
-
-
-
- 设置项
-
- 启用单据类型
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 是否启用此单据类型
-
-
-
-
-
- 设置项
-
- 允许手动输入客户信息
-
-
-
-
- 是否允许
-
-
- 允许
- 不允许
-
-
-
-
-
- 描述
-
- 允许客户在做单时手动输入客户信息
-
-
-
-
-
- 设置项
-
- 允许科室多次使用出库
-
-
-
-
- 是否启用
-
-
- 允许
- 不允许
-
-
-
-
-
- 描述
-
- 允许产品多次使用使用出库
-
-
-
-
-
- 设置项
-
- 手持终端提交单据至自助平台
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手持终端提交单据至自助平台
-
-
-
-
-
- 设置项
-
- 允许验收自助平台单据
-
-
-
-
- 是否启用
-
-
- 允许
- 不允许
-
-
-
-
-
- 描述
-
- 允许验收自助平台单据
-
-
-
-
-
- 设置项
-
- 寄售类型单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 设置此单据是否为寄售单据类型
-
-
-
-
-
- 设置项
-
- 预验收
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 设置此单据类型为预验收单据类型
-
-
-
-
-
- 设置项
-
- 允许供应商使用
-
-
-
-
- 是否启用
-
-
- 允许
- 不允许
-
-
-
-
-
- 描述
-
- 是否允许供应商使用此单据类型
-
-
-
-
-
-
- 设置项
-
- 预验收是否带回
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 预验收是否带回
-
-
+
+
+
+ 单据设置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 启用单据类型
+
+
+
+
+
+
+
+
+
+
+ 是否启用此单据类型
+
+
+
+
+
+
+ 允许手动输入客户信息
+
+
+
+
+
+
+
+
+
+
+ 允许客户在做单时手动输入客户信息
+
+
+
+
+
+
+ 允许科室多次使用出库
+
+
+
+
+
+
+
+
+
+
+ 允许产品多次使用使用出库
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预验收是否带回
+
+
+
+
+
+
+
+
+
+
+ 预验收是否带回
+
+
+
+
+
+
+
+ 单据默认选项
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 出库时必须校验预验收库存
+
+
+
+
+
+
+
+
+
+
+ 出库时必须校验预验收库存
+
+
-
-
-
-
-
- 设置项
-
- 出库时必须校验预验收库存
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 出库时必须校验预验收库存
-
-
-
-
-
- 设置项
-
- 是否只允许有库存产品出库
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 设置是否只允许有库存产品出库
-
-
-
-
-
- 设置项
-
- 采集UDI码时进行三期校验
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 采集UDI码时进行三期校验
-
-
-
-
-
- 设置项
-
- 校验产品是否可配送
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 校验产品是否可配送
-
-
-
-
-
- 设置项
-
- 校验是否集采产品
-
-
-
-
- 是否启用
-
-
-
-
-
+
+
+
+ 是否只允许有库存产品出库
+
+
+
+
+
+
-
-
-
-
- 描述
-
- 校验是否集采产品
-
-
+
+
+
+ 设置是否只允许有库存产品出库
+
+
+
+
+
+ 采集UDI码时进行三期校验
+
+
+
+
+
+
+
+
+
+
+ 采集UDI码时进行三期校验
+
+
-
-
-
-
-
- 设置项
-
- 需要校验的单据来源类型(一次复核)
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 需要校验的单据来源类型(一次复核)
-
-
-
-
-
- 设置项
-
- web端新增单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- web端新增单据
-
-
-
-
-
- 设置项
-
- 手持终端未校验单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手持终端未校验单据
-
-
-
-
-
- 设置项
-
- 手持终端已校验单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手持终端已校验单据
-
-
-
-
-
- 设置项
-
- 是否校验UDIMS平台单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 是否校验UDIMS平台单据
-
-
-
-
-
- 设置项
-
- UDI扫码通
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- UDI扫码通
-
-
-
-
-
- 设置项
-
- 校验产品是否可配送
-
-
-
-
- 自助平台同步
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 自助平台同步
-
-
-
-
-
- 设置项
-
- 自动补单
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 自动补单
-
-
-
-
-
- 设置项
-
- 平衡补单
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 平衡补单
-
-
-
-
-
- 设置项
-
- 手动补单
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手动补单
-
-
-
-
- 描述
-
- 手动补单
-
-
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
-
-
-
-
- 设置项
-
- 需要单据复核的单据来源类型(二次复核)
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 需要单据复核的单据来源类型(二次复核)
-
-
-
-
-
- 设置项
-
- web端新增单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- web端新增单据
-
-
-
-
-
- 设置项
-
- 手持终端未校验单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手持终端未校验单据
-
-
-
-
-
- 设置项
-
- 手持终端已校验单据
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手持终端已校验单据
-
-
-
-
-
- 设置项
-
- 校验产品是否可配送
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 是否校验UDIMS平台单据
-
-
-
-
-
- 设置项
-
- UDI扫码通
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- UDI扫码通
-
-
-
-
-
- 设置项
-
- 校验产品是否可配送
-
-
-
-
- 自助平台同步
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 自助平台同步
-
-
-
-
-
- 设置项
-
- 自动补单
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 自动补单
-
-
-
-
-
- 设置项
-
- 平衡补单
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 平衡补单
-
-
-
-
-
- 设置项
-
- 手动补单
-
-
-
-
- 是否启用
-
-
- 启用
- 不启用
-
-
-
-
-
- 描述
-
- 手动补单
-
-
+
+
+
+ 校验是否集采产品
+
+
+
+
+
+
+
+
+
+
+
+ 校验是否集采产品
+
+
+
+
+
+
+
+
+
+
+ 单据是否必须手动校验业务单,请指定单据的来源类型(校验业务单)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+ 自助平台同步
+
+
+
+
+
+
+
+
+
+
+ 自助平台同步
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+
+ 单据是否必须手动确认出入库(送/收货),请指定单据的来源类型(一次审核)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+
+ 单据是否必须手动审核,请指定单据的来源类型(二次审核)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 手动补单
+
+
+
+
@@ -903,4 +978,28 @@ export default {
margin-bottom: 12px;
}
+.el-divider {
+ margin: 6px 0px 8px 0px;
+ background: 0 0;
+ border-top: 1px solid #E6EBF5;
+}
+
+.spanTitle {
+ font-size: 15px;
+ font-weight: bold;
+ color: #000000
+}
+
+.spanHeader {
+ font-size: 14px;
+ font-weight: bold;
+ color: #3d3b3b
+}
+
+
+.sptext {
+ font-size: 13px;
+ font-weight: normal;
+}
+
diff --git a/src/views/basic/busType/bussinessType.vue b/src/views/basic/busType/bussinessType.vue
index f503f47a..74f3346f 100644
--- a/src/views/basic/busType/bussinessType.vue
+++ b/src/views/basic/busType/bussinessType.vue
@@ -60,12 +60,17 @@
{{ enableMap[scope.row.enable] }}
-
+
{{ enableMap[scope.row.checkEnable] }}
-
+
+
+ {{ enableMap[scope.row.thrCheckEnable] }}
+
+
+
{{ enableMap[scope.row.secCheckEnable] }}
@@ -123,7 +128,7 @@
v-if="modifyDialogVisible"
>
-
+
提交
@@ -218,9 +223,27 @@ export default {
originAction: null,
checkBalance: null,
secCheckBalance: null,
- preInBack:null,
- vailDispatch:null,
- vailGroupBuy:null,
+ preInBack: true,
+ vailDispatch: null,
+ vailGroupBuy: null,
+ inStock: false,
+ actionType: 0,
+ fillCodeRel: false,
+
+ thrCheckEnable: null,
+ thrCheckWebNew: null,
+ thrCheckPdaUn: null,
+ thrCheckPdaEd: null,
+ thrCheckUdims: null,
+ thrCheckPc: null,
+ thrCheckSp: null,
+ thrCheckChange: null,
+ thrCheckBalance: null,
+ thrCheckCopy: null,
+ checkVailDate:true, //校验近效期
+ checkExpire:true, //校验过期
+ checkCertExpire:true, //校验证书过期
+
},
enableMap: {
true: "是",
@@ -288,18 +311,32 @@ export default {
},
onAddSubmit() {
+ //默认初始化
+ this.inputQuery.corpType = 2;
if (isBlank(this.inputQuery.name)) {
this.$message.error("单据类型名称不能为空!");
return;
}
- if (this.$isBlank(this.inputQuery.corpType)) {
- this.$message.error("往来信息类型不能为空!");
- return;
- }
if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) {
this.$message.error("出入库类型不能为空!");
return;
}
+ if (isBlank(this.inputQuery.name)) {
+ this.$message.error("单据类型名称不能为空!");
+ return;
+ }
+ // if (isBlank(this.inputQuery.actionType)) {
+ // this.$message.error("请选择单据类型!");
+ // return;
+ // }
+ if (isBlank(this.inputQuery.inStock)) {
+ this.$message.error("请选择是否更改库存!");
+ return;
+ }
+ // if (isBlank(this.inputQuery.busType)) {
+ // this.$message.error("请选择特定页面!");
+ // return;
+ // }
insertBusType(this.inputQuery)
.then((response) => {
if (response.code == 20000) {
@@ -316,14 +353,32 @@ export default {
},
onModifySubmit() {
- if (this.inputQuery.name == "" || this.inputQuery.name == null) {
- this.$message.error("单据类型不能为空!");
+
+ if (isBlank(this.inputQuery.name)) {
+ this.$message.error("单据类型名称不能为空!");
return;
}
if (this.inputQuery.mainAction == "" || this.inputQuery.mainAction == null) {
this.$message.error("出入库类型不能为空!");
return;
}
+ if (isBlank(this.inputQuery.name)) {
+ this.$message.error("单据类型名称不能为空!");
+ return;
+ }
+ // if (isBlank(this.inputQuery.actionType)) {
+ // this.$message.error("请选择单据类型!");
+ // return;
+ // }
+ if (isBlank(this.inputQuery.inStock)) {
+ this.$message.error("请选择是否更改库存!");
+ return;
+ }
+ // if (isBlank(this.inputQuery.busType)) {
+ // this.$message.error("请选择特定页面!");
+ // return;
+ // }
+
updateBusType(this.inputQuery)
.then((response) => {
if (response.code == 20000) {
@@ -412,9 +467,26 @@ export default {
advanceType: null,
preIn: null,
originAction: null,
- preInBack:null,
- vailDispatch:null,
- vailGroupBuy:null,
+ preInBack: true,
+ vailDispatch: null,
+ vailGroupBuy: null,
+ inStock: false,
+ actionType: 0,
+ fillCodeRel: false,
+ thrCheckEnable: null,
+ thrCheckWebNew: null,
+ thrCheckPdaUn: null,
+ thrCheckPdaEd: null,
+ thrCheckUdims: null,
+ thrCheckPc: null,
+ thrCheckSp: null,
+ thrCheckChange: null,
+ thrCheckBalance: null,
+ thrCheckCopy: null,
+
+ checkVailDate:true, //校验近效期
+ checkExpire:true, //校验过期
+ checkCertExpire:true, //校验证书过期
}
this.addDialogVisible = true;
},
diff --git a/src/views/basic/busType/bussinessTypeModify.vue b/src/views/basic/busType/bussinessTypeModify.vue
index ae867cd2..3f15795d 100644
--- a/src/views/basic/busType/bussinessTypeModify.vue
+++ b/src/views/basic/busType/bussinessTypeModify.vue
@@ -1,20 +1,20 @@
-
+
-
+
+ style="width: 90%"
+ >
-
@@ -29,191 +29,1061 @@
-
+
+ @change="corpTypeChange"
+ >
+ :value="item.value"
+ >
-
+
+
+
+
+
+
+
+
+
-
-
+
+ placeholder="单据类型"
+ >
+ :value="item.action"
+ >
{{ item.name }}
+
+
-
-
+
-
- {{ item.name }}
-
+
+
-
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
-
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
- 高级设置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 采集UDI码时进行三期校验
+
+
+
+
+
+
+
+
+
+
+ 采集UDI码时进行三期校验
+
+
+
+
+
+ 外包装码补齐关联关系
+
+
+
+
+
+
+
+
+
+
+ 外包装码补齐关联关系
+
+
+
+
+
+ 校验物资是否可配送
+
+
+
+
+
+
+
+
+
+
+ 校验物资是否可配送
+
+
+
+
+
+
+ 校验是否集采产品
+
+
+
+
+
+
+
+
+
+
+
+ 校验是否集采产品
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 预验收使用禁止无库存出库
+
+
+
+
+
+
+
+
+
+
+ 出库时必须校验预验收库存
+
+
+
+
+
+
+ 是否只允许有库存产品出库
+
+
+
+
+
+
+
+
+
+
+ 设置是否只允许有库存产品出库
+
+
+
+
+
+ 允许科室多次使用出库
+
+
+
+
+
+
+
+
+
+
+ 允许科室多次使用出库
+
+
+
+
+
+
+
+
+
+
+
+
+ 单据是否必须校验业务单,请指定单据的来源类型
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+ 自助平台同步
+
+
+
+
+
+
+
+
+
+
+ 自助平台同步
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 单据是否必须人工核对,请指定单据的来源类型
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 单据是否必须人工审核,请指定单据的来源类型
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+
+
+
+
+ web端新增单据
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端未校验单据
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+
+
+
+
+ 手持终端已校验单据
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 是否校验UDIMS平台单据
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+
+
+
+
+ UDI扫码通
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+
+
+
+
+ 校验产品是否可配送
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+
+
+
+
+ 缺量补单
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+
+
+
+
+ 平衡补单
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
+
+
+
+
+ 手动补单
+
+
+
+
+
+
diff --git a/src/views/basic/business/stockOrder.vue b/src/views/basic/business/stockOrder.vue
index a7517f49..cb5fc6c9 100644
--- a/src/views/basic/business/stockOrder.vue
+++ b/src/views/basic/business/stockOrder.vue
@@ -1,183 +1,183 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
- 显示/隐藏搜索栏
- 重置
- 查询
-
-
+
+
+
+
+
-
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
- {{ sourceMap[scope.row.fromType] }}
-
-
-
-
-
- {{ scope.row.status | statusFilterName }}
-
-
-
-
-
-
+
-
-
-
-
- 内部码详情
-
-
-
-
-
+
+
+ 显示/隐藏搜索栏
+ 重置
+ 查询
+
+
-
+
-
-
-
-
-
-
-
-
- {{ convertDateFun(scope.row.productDate) }}
-
-
-
-
- {{ convertDateFun(scope.row.expireDate) }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ enableMap[scope.row.inCodeStatus] }}
+
+
+
+
+
+
+
+
+ {{ sourceMap[scope.row.fromType] }}
+
+
+
+
+ 内部码
+
+
+
+
-
-
+
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+ {{ convertDateFun(scope.row.productDate) }}
+
+
+
+
+ {{ convertDateFun(scope.row.expireDate) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/basic/business/stockOrderDistribution.vue b/src/views/basic/business/stockOrderDistribution.vue
index efed7f88..52ca1f3a 100644
--- a/src/views/basic/business/stockOrderDistribution.vue
+++ b/src/views/basic/business/stockOrderDistribution.vue
@@ -79,7 +79,7 @@
-
+
diff --git a/src/views/basic/business/stockOrderQRCodeDetail.vue b/src/views/basic/business/stockOrderQRCodeDetail.vue
index 3c0f1d3d..924d8695 100644
--- a/src/views/basic/business/stockOrderQRCodeDetail.vue
+++ b/src/views/basic/business/stockOrderQRCodeDetail.vue
@@ -24,7 +24,7 @@
-
+
diff --git a/src/views/inout/DialogCreateOrder.vue b/src/views/inout/DialogCreateOrder.vue
index dcd9b9d7..1e187225 100644
--- a/src/views/inout/DialogCreateOrder.vue
+++ b/src/views/inout/DialogCreateOrder.vue
@@ -15,7 +15,7 @@
size="mini"
type="primary"
@click.native="submit()"
- >提交订单
+ >立即提交
@@ -44,39 +44,41 @@
-
-
+
+ @change="actionChange">
+ :value="item.action">
{{ item.name }}
- {{
- item.code
- }}
+
-
-
+
+ :disabled="corpOrderIdDisabled" @change="changeInv" filterable>
+ :value="item.code">
{{ item.name }}
+ {{
+ item.warehouseName
+ }}
+
@@ -161,7 +163,7 @@
-
+
+
+
@@ -327,7 +331,7 @@ export default {
isScan: true,
scanText: "扫码录入:",
corpOrderIdDisabled: false,
-
+ isSupVesion: false,
loading: false,
index: null,
formLoading: false,
@@ -449,8 +453,9 @@ export default {
this.bizShow = false;
if (this.curAction.corpType == 0 || this.curAction.corpType == 2 || (this.curAction.corpType == 1 && !this.curAction.genUnit)) {
//1.切换往来单位
- this.orderFormData.fromCorp = null;
- this.findMethod();
+ this.orderFormData.fromCorp = null;
+ this.findMethod();
+
} else if (this.curAction.corpType == 3) {
//2. 切换往来仓库
this.orderFormData.fromInvCode = null;
@@ -791,31 +796,30 @@ export default {
event.preventDefault();
event.stopPropagation();
};
- if (this.viewType !== 1) {
- var that = this;
- var inputer = document.getElementById("inputer");
- window.sc = new A.KeyScaner(inputer);//传入要监听的DOM节点
- sc.onInput = function (text) {
- if (text.includes("delete")) {
- that.codeFormData.code = "";
- that.sictomText = "";
- that.originCode = "";
- return;
- }
- if (that.sitcomScan) {
- let tempTxt = text;
- let str = tempTxt.replace(/[\r]/g, "");
- that.sictomText = that.sictomText + str;
- that.codeFormData.code = that.sictomText;
- } else {
-
- that.codeFormData.code = text;
- }
- };
- inputer.focus();
- }
+ var that = this;
+ var inputer = document.getElementById("inputer");
+ window.sc = new A.KeyScaner(inputer);//传入要监听的DOM节点
+ sc.onInput = function (text) {
+ if (text.includes("delete")) {
+ that.codeFormData.code = "";
+ that.sictomText = "";
+ that.originCode = "";
+ return;
+ }
+ if (that.sitcomScan) {
+ let tempTxt = text;
+ let str = tempTxt.replace(/[\r]/g, "");
+ that.sictomText = that.sictomText + str;
+ that.codeFormData.code = that.sictomText;
+ } else {
+
+ that.codeFormData.code = text;
+ }
+ };
+ inputer.focus();
},
created() {
+
//页面初始化
this.codeFormData.code = '';
diff --git a/src/views/inout/DialogReviewOrder.vue b/src/views/inout/DialogReviewOrder.vue
index 8b53b8d5..5e829228 100644
--- a/src/views/inout/DialogReviewOrder.vue
+++ b/src/views/inout/DialogReviewOrder.vue
@@ -5,14 +5,14 @@
完成验收
+ @click.native="checkFinish()"
+ >完成审核
重新验收
+ >重新审核
@@ -42,7 +42,7 @@
-
+
@@ -52,7 +52,7 @@
-
+
@@ -61,7 +61,7 @@
-
+
-
-
+
+
-
+
+
-
-
+
+
+
+
@@ -121,8 +124,8 @@
+
+
diff --git a/src/views/inout/IoAuditedOrder.vue b/src/views/inout/IoAuditedOrder.vue
index d8bc808b..60354392 100644
--- a/src/views/inout/IoAuditedOrder.vue
+++ b/src/views/inout/IoAuditedOrder.vue
@@ -87,7 +87,7 @@
-
@@ -122,7 +122,7 @@
-
+
@@ -225,12 +225,12 @@
prop="price"
>
@@ -340,7 +340,7 @@ import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {getResultDetailList} from "@/api/inout/orderDetailResult";
import {getCodeDetailList} from "@/api/inout/orderDetailCode";
import {getCodeList} from "@/api/inout/code";
-import {inspectionOrderPDFFromTemplateFile, orderPDFFromTemplateFile} from "@/api/itextpdf/orderPrint"
+import {inspectionOrderPDFFromTemplateFile,orderPDFFromTemplateFile} from "@/api/itextpdf/orderPrint"
const formJson = {
@@ -374,7 +374,7 @@ export default {
4: "处理异常",
5: "校验成功",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝"
},
invList: [],
@@ -389,7 +389,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
@@ -815,6 +815,5 @@ export default {
};
-
diff --git a/src/views/inout/IoCheckErrorOrder.vue b/src/views/inout/IoCheckErrorOrder.vue
index c4c3a73f..a4eabb58 100644
--- a/src/views/inout/IoCheckErrorOrder.vue
+++ b/src/views/inout/IoCheckErrorOrder.vue
@@ -3,14 +3,14 @@
-
+
-
-
+
@@ -19,7 +19,23 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
-
-
-
-
+
+
+
@@ -90,31 +109,30 @@
-
-
-
-
-
+
+
+
+
- {{ fromTypeMap[scope.row.fromType] }}
+
+ {{ scope.row.createTime }}
-
-
-
+
-
+
-
+
-
+
+
-
- {{ scope.row.createTime }}
+ {{ fromTypeMap[scope.row.fromType] }}
-
+
+
{{
checkStatus[scope.row.status]
@@ -185,7 +203,7 @@
>
@@ -219,12 +237,12 @@
prop="price"
>
@@ -270,7 +288,7 @@
>
@@ -306,12 +324,12 @@
show-overflow-tooltip
>
@@ -430,7 +448,7 @@ import {
} from "../../api/inout/order";
import {filterAllByUser} from "@/api/system/invWarehouse";
import {getLocalJoinByUser} from "@/api/basic/busType";
-import {filterSubByInv} from "@/api/system/invSubWarehouse";
+import {filterSubAll} from "@/api/system/invSubWarehouse";
import {isBlank} from "@/utils/strUtil";
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
import {getBizDetailList} from "@/api/inout/orderDetailBiz";
@@ -470,7 +488,7 @@ export default {
4: "处理异常",
5: "校验成功",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝"
},
storageList: [],
@@ -486,7 +504,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
@@ -732,7 +750,7 @@ export default {
let query = {
pcode: this.filterQuery.locStorageCode
};
- filterSubByInv(query)
+ filterSubAll(query)
.then((response) => {
this.subInvList = response.data || [];
})
@@ -743,7 +761,7 @@ export default {
let query = {
filter: 3,
};
- filterSubByInv(query)
+ filterSubAll(query)
.then((response) => {
this.subInvList = response.data || [];
this.getList();
diff --git a/src/views/inout/IoCheckSuccessOrder.vue b/src/views/inout/IoCheckSuccessOrder.vue
index 6fa97613..89182f30 100644
--- a/src/views/inout/IoCheckSuccessOrder.vue
+++ b/src/views/inout/IoCheckSuccessOrder.vue
@@ -92,7 +92,7 @@
@current-change="handleSelectionChange">
-
+
@@ -202,7 +202,7 @@
>
@@ -210,21 +210,10 @@
label="规格型号"
prop="spec"
>
-
-
-
-
-
-
-
+
@@ -297,7 +286,7 @@
>
@@ -333,12 +322,12 @@
show-overflow-tooltip
>
@@ -489,16 +478,17 @@ export default {
endTime: null,
invCode: this.$store.getters.locInvCode,
},
+ customerId: this.$store.getters.customerId,
checkStatus: {
1: "草稿",
2: "等待处理",
3: "等待校验",
4: "处理异常",
- 5: "待验收",
+ 5: "待核对",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝",
- 9: "正在处理"
+ 9: "正在处理", 10: "待审核",
},
storageList: [],
invList: [],
@@ -513,7 +503,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
diff --git a/src/views/inout/IoCreateBusOrder.vue b/src/views/inout/IoCreateBusOrder.vue
index 4657d853..aa054468 100644
--- a/src/views/inout/IoCreateBusOrder.vue
+++ b/src/views/inout/IoCreateBusOrder.vue
@@ -6,15 +6,15 @@
ref="form"
class="query-form" size="mini" label-width="100px" v-show="showSearch">
-
-
+
+
-
+
+
@@ -23,8 +23,9 @@
-
-
+
+
+
@@ -38,11 +39,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
@@ -56,7 +75,7 @@
-
+
+
+
@@ -89,11 +110,11 @@
>
新增单据
- 选入第三方单据
-
+
+
+
选入领用单据
+ :loading="loading">选入单据
@@ -101,30 +122,24 @@
-
-
+
+
+
-
-
-
-
- {{ fromTypeMap[scope.row.fromType] }}
-
+
+
+
-
+
-
-
-
-
-
+
+
-
- {{ scope.row.createTime }}
+ {{ fromTypeMap[scope.row.fromType] }}
-
+
{{
checkStatus[scope.row.status]
@@ -132,7 +147,7 @@
-
+
立即提交
+ >提交校验
@@ -257,9 +272,9 @@ export default {
4: "处理异常",
5: "校验成功",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝",
- 9: "正在处理"
+ 9: "正在处理", 10: "待审核",
},
curIndex: "",
idQuery: {},
@@ -283,7 +298,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
@@ -377,6 +392,7 @@ export default {
let query = {
code: this.filterQuery.invCode,
enabled: true,
+ vueType: "supDelivery",
};
getLocalJoinByUser(query)
.then((response) => {
@@ -409,6 +425,7 @@ export default {
//获取订单列表
getList() {
this.loading = true;
+ this.filterQuery.vueType = "supDelivery";
getOrderList(this.filterQuery)
.then((response) => {
this.loading = false;
diff --git a/src/views/inout/IoCreateErrorOrder.vue b/src/views/inout/IoCreateErrorOrder.vue
index b6f9c85d..3456c3db 100644
--- a/src/views/inout/IoCreateErrorOrder.vue
+++ b/src/views/inout/IoCreateErrorOrder.vue
@@ -3,14 +3,14 @@
-
+
-
+
@@ -19,7 +19,7 @@
-
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -141,7 +159,7 @@
size="small"
v-if="scope.row.status == 1"
@click.native.stop="onUpload(scope.row.billNo)"
- >立即提交
+ >校验提交
@@ -215,9 +233,9 @@ export default {
4: "处理异常",
5: "校验成功",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝",
- 9: "正在处理"
+ 9: "正在处理", 10: "待审核",
},
curIndex: "",
idQuery: {},
@@ -241,7 +259,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
diff --git a/src/views/inout/IoCreateOrder.vue b/src/views/inout/IoCreateOrder.vue
index c366bd0c..85623327 100644
--- a/src/views/inout/IoCreateOrder.vue
+++ b/src/views/inout/IoCreateOrder.vue
@@ -3,14 +3,57 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -19,7 +62,7 @@
-
+
-
-
-
+
+
@@ -52,7 +95,8 @@
-
+
+
+
+
@@ -90,30 +136,32 @@
-
-
+
+
-
-
-
+
- {{ fromTypeMap[scope.row.fromType] }}
+
+ {{ scope.row.createTime }}
-
-
-
+
+
+
+
+
-
+
-
+
+
-
- {{ scope.row.createTime }}
+ {{ fromTypeMap[scope.row.fromType] }}
-
+
+
{{
checkStatus[scope.row.status]
@@ -121,7 +169,7 @@
-
+
立即提交
+ >校验提交
@@ -203,6 +251,7 @@ import store from "../../store";
import {getInvListByUser} from "@/api/system/invWarehouse";
import {getLocalJoinByUser} from "@/api/basic/busType";
import {selectSysParamByKey} from "@/api/param/systemParamConfig";
+import {getDeptListByUser} from "@/api/auth/authDept";
export default {
@@ -216,14 +265,17 @@ export default {
mainAction: null,
action: null,
statusType: "newOrder",
+ busType: 2,
page: 1,
limit: 10,
startTime: null,
endTime: null,
+ // deptCode: this.$store.getters.locDeptCode,
invCode: this.$store.getters.locInvCode,
},
- viewType: 3,
+ corpLoading: false,
+ fromOptions: [],
checkStatus: {
1: "草稿",
2: "等待处理",
@@ -231,14 +283,15 @@ export default {
4: "处理异常",
5: "校验成功",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝",
- 9: "正在处理"
+ 9: "正在处理", 10: "待审核",
},
curIndex: "",
idQuery: {},
storageList: [],
invList: [],
+ deptList: [],
list: [],
codeDetailVisible: false,
addOrderVisible: false,
@@ -258,7 +311,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
@@ -347,7 +400,22 @@ export default {
hideSearch() {
this.showSearch = !this.showSearch;
},
-
+ findMethod(key) {
+ this.corpLoading = true;
+ this.fromOptions = [];
+ let params = {
+ key: key,
+ corpType: 2,
+ page: 1,
+ limit: 20
+ };
+ getBasicUnitMaintains(params).then((res) => {
+ this.corpLoading = false;
+ this.fromOptions = res.data.list || [];
+ }).catch(() => {
+ this.corpLoading = false;
+ })
+ },
handleSizeChange(val) {
this.filterQuery.limit = val;
this.getList();
@@ -451,6 +519,7 @@ export default {
this.loading = false;
if (response.code === 20000) {
this.$message.success("提交成功");
+ this.getList();
} else {
this.$message.error(response.message);
}
@@ -465,6 +534,13 @@ export default {
.catch(() => {
});
},
+
+
+ getDeptList() {
+ getDeptListByUser().then((res) => {
+ this.deptList = res.data || [];
+ });
+ },
invChange() {
this.filterQuery.action = null;
this.getBusType();
@@ -498,6 +574,7 @@ export default {
}
});
this.getList();
+ this.getDeptList();
},
};
diff --git a/src/views/inout/IoCreateScanOrder.vue b/src/views/inout/IoCreateScanOrder.vue
index 302db2f8..53fc8abb 100644
--- a/src/views/inout/IoCreateScanOrder.vue
+++ b/src/views/inout/IoCreateScanOrder.vue
@@ -3,14 +3,14 @@
-
+
-
+
@@ -19,7 +19,8 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
@@ -52,7 +70,7 @@
-
+
+
+
@@ -90,30 +110,25 @@
-
-
-
-
-
-
-
- {{ fromTypeMap[scope.row.fromType] }}
-
+
+
+
+
-
+
-
+
-
+
+
-
- {{ scope.row.createTime }}
+ {{ fromTypeMap[scope.row.fromType] }}
-
+
{{
checkStatus[scope.row.status]
@@ -121,7 +136,8 @@
-
+
+
立即提交
+ >提交校验
@@ -215,9 +231,9 @@ export default {
4: "处理异常",
5: "校验成功",
6: "校验异常",
- 7: "审核通过",
+ 7: "已审核",
8: "审核拒绝",
- 9: "正在处理"
+ 9: "正在处理", 10: "待审核",
},
curIndex: "",
idQuery: {},
@@ -241,7 +257,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
diff --git a/src/views/inout/IoDealOrder.vue b/src/views/inout/IoDealOrder.vue
index 2f4d60ea..9a7dcb72 100644
--- a/src/views/inout/IoDealOrder.vue
+++ b/src/views/inout/IoDealOrder.vue
@@ -3,14 +3,15 @@
-
+
-
+
+
@@ -19,7 +20,7 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
@@ -52,7 +69,11 @@
-
+
+
+
+
+
+
+
@@ -91,30 +114,30 @@
@current-change="handleSelectionChange"
border
>
-
-
+
+
-
-
-
+
- {{ fromTypeMap[scope.row.fromType] }}
+
+ {{ scope.row.createTime }}
-
+
-
+
-
+
+
-
- {{ scope.row.createTime }}
+ {{ fromTypeMap[scope.row.fromType] }}
-
+
+
{{
checkStatus[scope.row.status]
@@ -122,7 +145,7 @@
-
+
立即提交
+ >校验提交
@@ -191,7 +213,7 @@
- 单据 {{ currentRow.billNo }}-业务详情
+ 单据 {{ currentRow == null ? '' : currentRow.billNo }}-业务扫码校验结果
@@ -258,12 +280,12 @@
@@ -271,27 +293,29 @@
+
+
@@ -348,7 +372,7 @@ export default {
6: "校验异常",
7: "审核通过",
8: "审核拒绝",
- 9: "正在处理"
+ 9: "正在处理", 10: "待审核",
},
curIndex: "",
idQuery: {},
@@ -373,7 +397,7 @@ export default {
"3": "pda即时校验",
"4": "pda未校验",
"5": "pc端扫码精灵",
- "6": "缺量补录单据",
+ "6": "流转自动补单",
"7": "UDI供应商平台",
"8": "平衡补录单据",
"10": "手动补单",
@@ -521,6 +545,9 @@ export default {
if (response.code === 20000) {
this.list = response.data.list || [];
this.total = response.data.total || 0;
+ if (this.list.length == 0) {
+ this.bizDetailList = [];
+ }
} else {
this.$message.error(response.message);
}
@@ -576,6 +603,8 @@ export default {
this.loading = false;
if (response.code === 20000) {
this.$message.success("提交成功");
+ this.getList();
+ this.bizDetailList = [];
} else {
this.$message.error(response.message);
}
@@ -637,7 +666,7 @@ export default {
this.getBizDetailList();
},
getBizDetailList() {
- if (isBlank(this.currentRow.billNo)) {
+ if (this.currentRow == null || isBlank(this.currentRow.billNo)) {
this.$message.error("请先选择需要查询的单据!")
return;
}
diff --git a/src/views/inout/IoEditOrder.vue b/src/views/inout/IoEditOrder.vue
index f77d7a41..bdb5068b 100644
--- a/src/views/inout/IoEditOrder.vue
+++ b/src/views/inout/IoEditOrder.vue
@@ -21,7 +21,7 @@
border
@current-change="handleSelectionChange">
-
+
diff --git a/src/views/inout/PanelCreateOrderBizDetail.vue b/src/views/inout/PanelCreateOrderBizDetail.vue
index 479448b2..54cd29d0 100644
--- a/src/views/inout/PanelCreateOrderBizDetail.vue
+++ b/src/views/inout/PanelCreateOrderBizDetail.vue
@@ -8,7 +8,7 @@
ref="mainTable"
@click.native.stop="selectProductFunction()"
:loading="loading"
- >产品录入
+ >物资录入
@@ -23,7 +23,7 @@
max-height="350" height="350" ref="multipleTable">
@@ -32,7 +32,7 @@
prop="spec"
show-overflow-tooltip
>
-
+
-
+
-
+
-
+
-
-
+
+
+
+
+
@@ -158,7 +162,7 @@
-
+
@@ -21,8 +21,10 @@
-
-
+
+
+
+
diff --git a/src/views/inout/PanelCreateOrderCodes.vue b/src/views/inout/PanelCreateOrderCodes.vue
index fc3af031..3492962d 100644
--- a/src/views/inout/PanelCreateOrderCodes.vue
+++ b/src/views/inout/PanelCreateOrderCodes.vue
@@ -16,48 +16,50 @@
show-overflow-tooltip
>
-
+
-
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+ {{ orderStatus[scope.row.auditStatus] }}
+
+
+
+
+
+
+
+
+
+ {{ orderStatus[scope.row.busAuditStatus] }}
+
+
+
+
{{ typeMap[scope.row.type] }}
@@ -134,6 +153,13 @@ export default {
3: "采购计划",
4: "盘点转单"
},
+ orderStatus: {
+ 1: "草稿",
+ 2: "待审核",
+ 3: "已审核"
+ },
+
+
formMap: {
add: "新增单据生成设置",
edit: "编辑单据生成设置",
@@ -253,7 +279,9 @@ export default {
targetAction: null,
name: null,
enable: null,
- remark: null
+ remark: null,
+ auditStatus: null,
+ busAuditStatus: null,
};
this.modifyDialogVisible = true;
},
diff --git a/src/views/system/param/busTypeChangeModify.vue b/src/views/system/param/busTypeChangeModify.vue
index 13719b6e..ccfde0ad 100644
--- a/src/views/system/param/busTypeChangeModify.vue
+++ b/src/views/system/param/busTypeChangeModify.vue
@@ -4,34 +4,19 @@
-
+
-
+
-
-
-
-
-
-
- {{item.name}}
- {{item.action}}
-
-
-
-
-
-
+
+ >
-
-
-
+
+ 生成出入库单
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 草稿
+ 待审核
+ 已审核
+
+
+
+
+ 生成业务单
+
+
+
+
+
+ {{ item.originName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 草稿
+ 待审核
+ 已审核
+
+
+
+
+
@@ -81,7 +144,8 @@
diff --git a/src/views/system/param/busTypePre.vue b/src/views/system/param/busTypePre.vue
index 0826a7d7..58e8cc72 100644
--- a/src/views/system/param/busTypePre.vue
+++ b/src/views/system/param/busTypePre.vue
@@ -27,11 +27,29 @@
-
-
-
-
-
+
+
+
+
+
+
+ {{ orderStatus[scope.row.auditStatus] }}
+
+
+
+
+
+
+
+
+ {{ orderStatus[scope.row.busAuditStatus] }}
+
+
+
+
+
+
+
{{ enableMap[scope.row.supplementAll] }}
@@ -117,20 +135,29 @@ export default {
action: null,
invCode: null,
defaultInvCode: null,
- beforeTime: null,
+ beforeTime: 0,
+ busBeforeTime: 0,
supplementAll: null,
intro: null,
- remark: null
+ remark: null,
+ auditStatus: null,
+ busAuditStatus: null,
},
enableMap: {
true: "全量补单",
- false: "自动补单",
+ false: "缺量补单",
+ },
+
+ orderStatus: {
+ 1: "草稿",
+ 2: "待审核",
+ 3: "已审核"
},
total: 0,
loading: false,
formMap: {
- add: "新增单据流转设置",
- edit: "编辑单据流转设置",
+ add: "新增出入库单据流转设置",
+ edit: "编辑出入库单据流转设置",
},
formName: null,
};
@@ -184,18 +211,18 @@ export default {
this.$message.error("原单据类型不能为空!");
return;
}
- if (isBlank(this.inputQuery.action)) {
- this.$message.error("目标单据类型不能为空!")
- return;
- }
- if (isBlank(this.inputQuery.invCode)) {
- this.$message.error("目标所在仓库不能为空!")
- return;
- }
- if (!isBlank(this.inputQuery.beforeTime) && this.inputQuery.beforeTime < 0) {
- this.$message.error("推移时间不能小于0!");
+ if (isBlank(this.inputQuery.action) && isBlank(this.inputQuery.targetBusAction)) {
+ this.$message.error("目标出入库单与目标业务单不能同时为空!")
return;
}
+ // if (isBlank(this.inputQuery.invCode)) {
+ // this.$message.error("目标所在仓库不能为空!")
+ // return;
+ // }
+ // if (!isBlank(this.inputQuery.beforeTime) && this.inputQuery.beforeTime < 0) {
+ // this.$message.error("推移时间不能小于0!");
+ // return;
+ // }
if (this.formName === "add") {
let numRegExp = '^[0-9]*$';
@@ -210,7 +237,7 @@ export default {
this.loading = false;
this.cancelDialog();
this.getList();
- }else{
+ } else {
this.$message.error(res.message);
}
}).catch(() => {
@@ -240,10 +267,13 @@ export default {
action: null,
invCode: null,
defaultInvCode: null,
- beforeTime: null,
+ beforeTime: 0,
+ busBeforeTime: 0,
supplementAll: null,
intro: null,
- remark: null
+ remark: null,
+ auditStatus: null,
+ busAuditStatus: null,
};
this.modifyDialogVisible = true;
},
diff --git a/src/views/system/param/busTypePreModify.vue b/src/views/system/param/busTypePreModify.vue
index 6cea57ca..7170c40a 100644
--- a/src/views/system/param/busTypePreModify.vue
+++ b/src/views/system/param/busTypePreModify.vue
@@ -1,9 +1,9 @@
-
+
-
+
{{ item.name }}
- {{ item.action }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 生成出入库单
+
-
-
+
+
- {{ item.name }}
- {{ item.action }}
+ {{ item.name }}
-
-
-
-
-
-
- {{ item.name }}
-
-
+
+
+
+
+
+
+
+ 草稿
+ 待核对
+
+
+
+
+
+
+
+
+
+ 生成业务单
+
-
-
+
- {{ item.name }}
+ v-for="item in targetBusTypes"
+ :key="item.originAction"
+ :label="item.originName"
+ :value="item.originAction">
+ {{ item.originName }}
+
-
-
-
-
+
-
+
+
-
-
-
-
-
+
+
+ 草稿
+ 待审核
+
-
@@ -113,6 +164,7 @@
import {getBusTypeList, getBusTypeListByUser} from "@/api/basic/busType";
import {filterSubAll, findByFrom} from "@/api/system/invSubWarehouse";
import {isBlank} from "@/utils/strUtil";
+import {getBusTypeChangeList} from "@/api/basic/busTypeChange";
export default {
name: "BusTypePreModify",
@@ -130,6 +182,7 @@ export default {
isBuType: true,
},
originBusTypes: [],
+ targetTypes: [],
targetBusTypes: [],
locInvs: [],
fromInvs: [],
@@ -149,13 +202,13 @@ export default {
trigger: "blur"
}
],
- invCode: [
- {
- required: true,
- message: "目标所在仓库不能为空",
- trigger: "blur"
- }
- ],
+ // invCode: [
+ // {
+ // required: true,
+ // message: "目标所在仓库不能为空",
+ // trigger: "blur"
+ // }
+ // ],
// defaultInvCode: [
// {
// required: true,
@@ -193,7 +246,19 @@ export default {
let query = {
enable: true
};
- getBusTypeListByUser(query).then((res) => {
+ getBusTypeList(query).then((res) => {
+ if (res.code === 20000) {
+ this.targetTypes = res.data.list || [];
+ }
+ })
+ },
+
+
+ getTargetChangeType() {
+ let query = {
+ enable: true
+ };
+ getBusTypeChangeList(query).then((res) => {
if (res.code === 20000) {
this.targetBusTypes = res.data.list || [];
}
@@ -224,10 +289,10 @@ export default {
invChange() {
if (!isBlank(this.inputQuery.invCode)) {
this.getFromInv();
- this.getTargetBusType();
+
} else {
this.inputQuery.action = null;
- this.targetBusTypes = [];
+ this.targetTypes = [];
}
},
},
@@ -235,9 +300,14 @@ export default {
created() {
if (this.inputQuery.originAction == null) {
this.isAdd = true;
+ // this.inputQuery.auditStatus = 2;
+ // this.inputQuery.busAuditStatus = 2;
} else {
this.getTargetBusType();
}
+ this.getTargetBusType();
+ this.getTargetChangeType();
+
this.getOriginBusType();
this.getLocInv();
this.getFromInv();
diff --git a/vue.config.js b/vue.config.js
index c7371cbe..952e764e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target: `http://127.0.0.1:9991`,
+ target: `http://192.168.0.166:9991`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''