From abeae655e36d97ca4ec4518a894220bbd9f65c8d Mon Sep 17 00:00:00 2001 From: anthonywj Date: Tue, 25 Apr 2023 13:34:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=89=E6=9C=9F=E6=8B=A3?= =?UTF-8?q?=E8=B4=A7=EF=BC=8C=E6=97=A0=E4=B8=89=E6=9C=9F=E6=8B=A3=E8=B4=A7?= =?UTF-8?q?=EF=BC=8C=E4=B8=BA=E9=85=8D=E8=B4=A7=E7=AD=89=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 6 +- src/api/inout/order.js | 11 + src/api/inout/orderDetailBiz.js | 10 +- .../basic/busType/bussinessTypeModify.vue | 126 ++-- src/views/basic/business/stockOrder.vue | 4 +- src/views/basic/business/stockOrderPrint.vue | 4 +- src/views/basic/product/productUdiType.vue | 1 - src/views/inout/DialogCreateOrder.vue | 135 ++-- src/views/inout/DialogCreateOrderSelect.vue | 5 +- src/views/inout/InvoiceRegistration.vue | 8 +- src/views/inout/IoAuditedOrder.vue | 155 ++-- src/views/inout/IoCheckAuditOrder.vue | 14 +- src/views/inout/IoCheckErrorOrder.vue | 72 +- src/views/inout/IoCheckSuccessOrder.vue | 110 ++- src/views/inout/IoCreateBusOrder.vue | 24 +- src/views/inout/IoCreateErrorOrder.vue | 26 +- src/views/inout/IoCreateOrder.vue | 10 +- src/views/inout/IoCreateScanOrder.vue | 13 +- src/views/inout/IoDealOrder.vue | 14 +- src/views/inout/IoEditOrder.vue | 75 +- src/views/inout/IoWaitAllocateOrder.vue | 677 ++++++++++++++++++ src/views/inventory/InvProducts.vue | 4 +- .../inventory/trace/sickerUdiTraceOrder.vue | 6 +- src/views/system/dept/invWarehouse.vue | 1 - src/views/system/menu/index.vue | 32 +- 25 files changed, 1170 insertions(+), 373 deletions(-) create mode 100644 src/views/inout/IoWaitAllocateOrder.vue diff --git a/.env.production b/.env.production index 85178235..15436a12 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,6 @@ # 页面标题 -VUE_APP_TITLE = UDI管理系统 +VUE_APP_TITLE = UDI管理系统VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_WMS_MC/' + # 生产环境配置 ENV = 'production' @@ -9,12 +10,13 @@ ENV = 'production' #林纪裕cd # VUE_APP_BASE_API = 'http://101.43.77.55:9150/UDI_WMS_MC/' # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' -VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:5004/UDI_WMS_MC/' # 测试服务器 # VUE_APP_BASE_API = 'http://192.168.0.66:9150/UDI_WMS_MC/' +# 文明东 +# VUE_APP_BASE_API = 'http://192.168.0.62:9150/UDI_WMS_MC/' # 吴总测试服务器 # VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/' diff --git a/src/api/inout/order.js b/src/api/inout/order.js index 85622592..452696e5 100644 --- a/src/api/inout/order.js +++ b/src/api/inout/order.js @@ -49,6 +49,14 @@ export function submitBiz(query) { }); } +export function submitAllocateBiz(query) { + return axios({ + url: "/warehouse/inout/waitAllocate/submitOrderWeb", + method: "post", + data: query + }); +} + export function saveOrderWeb(query) { return axios({ @@ -421,6 +429,7 @@ export function getOrderList(params) { params: params }); } + export function getOrderFilter(params) { return axios({ url: "udiwms/inout/preInorder/filter", @@ -428,6 +437,7 @@ export function getOrderFilter(params) { params: params }); } + export function updateStatus(query) { return axios({ url: "/spms/inout/order/web/updateStatus", @@ -518,6 +528,7 @@ export function orderDetailAdd(params) { data: params }); } + export function orderChange(query) { return axios({ url: "/udiwms/stock/order/change", diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index 7b8795b5..b4aa8c90 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -41,7 +41,6 @@ export function insertInvoice(params) { } - export function getCheckDetailList(params) { return axios({ url: "/udiwms/inout/wditCheck/filterList", @@ -51,5 +50,14 @@ export function getCheckDetailList(params) { } +export function getWaitAllocateList(params) { + return axios({ + url: "/udiwms/inout/waitAllocate/filterList", + method: "get", + params: params + }); +} + + diff --git a/src/views/basic/busType/bussinessTypeModify.vue b/src/views/basic/busType/bussinessTypeModify.vue index c5fdc783..91087b05 100644 --- a/src/views/basic/busType/bussinessTypeModify.vue +++ b/src/views/basic/busType/bussinessTypeModify.vue @@ -115,7 +115,7 @@ + style="width: 90%" placeholder="是否允许"> @@ -125,7 +125,7 @@ + style="width: 90%" placeholder=""> @@ -153,7 +153,7 @@ + style="width: 90%" placeholder=""> @@ -163,7 +163,7 @@ + style="width: 90%" placeholder=""> @@ -192,7 +192,7 @@ - + @@ -239,7 +239,7 @@ + placeholder="是否启用"> @@ -295,7 +295,7 @@ - + @@ -335,7 +335,7 @@ + placeholder="是否启用"> @@ -355,7 +355,7 @@ + placeholder="是否启用"> @@ -436,7 +436,7 @@ - + @@ -454,7 +454,7 @@ - + - - - + + + + @@ -546,11 +548,13 @@ - - - + + + + @@ -566,11 +570,13 @@ - - - + + + + @@ -586,11 +592,13 @@ - - - + + + + @@ -606,11 +614,13 @@ - - - + + + + @@ -626,11 +636,13 @@ - - - + + + + @@ -645,11 +657,13 @@ - - - + + + + @@ -665,11 +679,13 @@ - - - + + + + @@ -684,11 +700,13 @@ - - - + + + + @@ -1125,7 +1143,7 @@ import {candidateBusType} from '@/api/basic/busType' import busTypeAdvancedSettings from '@/views/basic/busType/busTypeAdvancedSettings.vue' import {isBlank} from '@/utils/strUtil' -import {getOriginBusType,selectList} from '@/api/basic/busOriginType' +import {getOriginBusType, selectList} from '@/api/basic/busOriginType' import {getBasicUnitMaintains2} from '@/api/basic/basicUnitMaintain' export default { @@ -1259,17 +1277,17 @@ export default { }, - selectBussinessList(){ + selectBussinessList() { selectList().then((res) => { - this.preInBackList=res.data; + this.preInBackList = res.data; }) }, - getPreInBack(){ - if(this.inputQuery.preInBack==false){ - this.inputQuery.preInBackAction=null; - this.inputQuery.backPreinType=''; - }else{ - this.inputQuery.backPreinType=1; + getPreInBack() { + if (this.inputQuery.preInBack == false) { + this.inputQuery.preInBackAction = null; + this.inputQuery.backPreinType = ''; + } else { + this.inputQuery.backPreinType = 1; } }, //获取单据类型 @@ -1296,10 +1314,10 @@ export default { // this.inputQuery.actionType = null // } - // 联动修改允许手动输入客户信息值 - if (this.inputQuery.corpType != 1 || this.inputQuery.mainAction != "WarehouseOut") { - this.inputQuery.genUnit = false; - } + // // 联动修改允许手动输入客户信息 有bug允许手动输入一直为false + // if (this.inputQuery.corpType != 1 || this.inputQuery.mainAction != "WarehouseOut") { + // this.inputQuery.genUnit = false; + // } }, // 单据类型高级设置弹窗 @@ -1354,9 +1372,9 @@ export default { this.findSpecialMethod() this.selectBussinessList() this.oldData = Object.assign({}, this.inputQuery) - if(this.inputQuery.id==null || this.inputQuery.id==''){ - this.inputQuery.codeFillCheck=false; - this.inputQuery.preInBack=false; + if (this.inputQuery.id == null || this.inputQuery.id == '') { + this.inputQuery.codeFillCheck = false; + this.inputQuery.preInBack = false; } } diff --git a/src/views/basic/business/stockOrder.vue b/src/views/basic/business/stockOrder.vue index 7fc3c662..82be430d 100644 --- a/src/views/basic/business/stockOrder.vue +++ b/src/views/basic/business/stockOrder.vue @@ -100,9 +100,9 @@ {{ enableMap[scope.row.inCodeStatus] }} - + - + - + - + - - - +