From fd4af566a4e2ed97ea9f9c4cc0e920136086e9a5 Mon Sep 17 00:00:00 2001 From: wj <1285151836@qq.com> Date: Mon, 8 May 2023 11:37:08 +0800 Subject: [PATCH 01/20] =?UTF-8?q?=E7=99=BB=E5=BD=95=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E5=90=8E=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index 86a9ce2..36ce51b 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -98,7 +98,7 @@ service.interceptors.response.use(res => { isRelogin.show = false; store.dispatch('LogOut').then(() => { Cookies.remove() - location.href = process.env.VUE_APP_CONTEXT_PATH + "index"; + location.href = process.env.VUE_APP_CONTEXT_PATH; }) }).catch(() => { isRelogin.show = false; From 229e79d1e74b52f548367618635126761c71f786 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 8 May 2023 13:03:14 +0800 Subject: [PATCH 02/20] =?UTF-8?q?=E5=8F=91=E7=A5=A8=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceCkeck.vue | 8 ++++---- src/views/inout/InvoiceRegistration.vue | 8 +++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index aef041a..5abd0bf 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -349,7 +349,7 @@ export default { { required: true, message: "请输入发票编码", trigger: "blur" }, ], price: [{ required: true, message: "请输入发票价格", trigger: "blur" }], - remark: [{ required: true, message: "请输入备注", trigger: "blur" }], + invoiceDate: [{ required: true, message: "请输入备注", trigger: "blur" }], }, certFileUrl: "", Upinvoice: false, @@ -473,7 +473,7 @@ export default { components: { AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer }, methods: { onSubmit() { - if (this.invoiceRow.length == 0) { + if (this.invoiceRow == null) { this.$message.error("请选择要登记的物资! "); return false; } @@ -493,8 +493,8 @@ export default { this.$message.error("发票价格不能为空!"); return; } - if (this.$isBlank(this.inputQuery.remark)) { - this.$message.error("备注不能为空!"); + if (this.$isBlank(this.inputQuery.invoiceDate)) { + this.$message.error("日期不能为空!"); return; } this.inputQuery.list = this.invoiceRow; diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue index 3702053..8840a96 100644 --- a/src/views/inout/InvoiceRegistration.vue +++ b/src/views/inout/InvoiceRegistration.vue @@ -196,7 +196,7 @@ - 确认 + 确认 Date: Mon, 8 May 2023 14:47:12 +0800 Subject: [PATCH 03/20] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceCkeck.vue | 2 +- src/views/inout/InvoiceRegistration.vue | 2 +- .../inout/InvoiceRegistrationDetermine.vue | 2 +- src/views/inout/IoArrivalSearchOrder.vue | 2 +- src/views/inout/IoAuditedOrder.vue | 2 +- src/views/inout/IoCheckErrorOrder.vue | 2 +- src/views/inout/IoCheckSuccessOrder.vue | 2 +- src/views/inout/IoCreateBusOrder.vue | 2 +- src/views/inout/IoCreateErrorOrder.vue | 2 +- src/views/inout/IoCreateOrder.vue | 2 +- src/views/inout/IoCreateScanOrder.vue | 2 +- src/views/inout/IoDealOrder.vue | 2 +- src/views/inout/IoDeliveryAuditOrder.vue | 4 +- src/views/inout/IoDeliverySearchOrder.vue | 4 +- src/views/inout/IoEditOrder.vue | 2 +- src/views/inout/IoInoutSearchOrder.vue | 2 +- src/views/inout/IoReturnedSearchOrder.vue | 2 +- src/views/inout/IoSupAduitOrder.vue | 2 +- src/views/inout/IoSupSearchOrder.vue | 2 +- src/views/inout/IoSupSecAuditOrder.vue | 37 +++--- src/views/inout/IoWaitAllocateOrder.vue | 2 +- src/views/inout/uploadManage/uploadOrder.vue | 2 +- src/views/inventory/InvPreInSerach.vue | 2 +- src/views/inventory/InvSupPreInSerach.vue | 2 +- .../inventory/trace/invUdiTraceOrder.vue | 2 +- .../inventory/trace/sickerUdiTraceOrder.vue | 2 +- src/views/monitor/logininfor/index.vue | 12 +- src/views/monitor/operlog/index.vue | 51 +++++---- .../supplier/products/supDiProductsCheck.vue | 107 +++++++++--------- src/views/sync/SysUdimsConfig.vue | 59 +++++++++- src/views/sync/SysUdimsData.vue | 8 +- 31 files changed, 197 insertions(+), 131 deletions(-) diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index aef041a..beb3fcb 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -384,7 +384,7 @@ export default { 4: "pda未校验", 5: "pc端扫码精灵", 6: "流转自动补单", - 7: "UDI供应商平台", + 7: "UDI管理系统", 8: "平衡补录单据", 10: "手动补单", 11: "仓库盘点", diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue index 3702053..900b96b 100644 --- a/src/views/inout/InvoiceRegistration.vue +++ b/src/views/inout/InvoiceRegistration.vue @@ -614,7 +614,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/InvoiceRegistrationDetermine.vue b/src/views/inout/InvoiceRegistrationDetermine.vue index 1d9ea06..1fc32ff 100644 --- a/src/views/inout/InvoiceRegistrationDetermine.vue +++ b/src/views/inout/InvoiceRegistrationDetermine.vue @@ -314,7 +314,7 @@ export default { '4': 'pda未校验', '5': 'pc端扫码精灵', '6': '流转自动补单', - '7': 'UDI供应商平台', + '7': 'UDI管理系统', '8': '平衡补录单据', '10': '手动补单', '11': '仓库盘点', diff --git a/src/views/inout/IoArrivalSearchOrder.vue b/src/views/inout/IoArrivalSearchOrder.vue index 3be2872..aa3db48 100644 --- a/src/views/inout/IoArrivalSearchOrder.vue +++ b/src/views/inout/IoArrivalSearchOrder.vue @@ -532,7 +532,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoAuditedOrder.vue b/src/views/inout/IoAuditedOrder.vue index 0c0cc50..e616e80 100644 --- a/src/views/inout/IoAuditedOrder.vue +++ b/src/views/inout/IoAuditedOrder.vue @@ -390,7 +390,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoCheckErrorOrder.vue b/src/views/inout/IoCheckErrorOrder.vue index ec609ef..605dcd8 100644 --- a/src/views/inout/IoCheckErrorOrder.vue +++ b/src/views/inout/IoCheckErrorOrder.vue @@ -496,7 +496,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoCheckSuccessOrder.vue b/src/views/inout/IoCheckSuccessOrder.vue index eed9508..015e353 100644 --- a/src/views/inout/IoCheckSuccessOrder.vue +++ b/src/views/inout/IoCheckSuccessOrder.vue @@ -506,7 +506,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoCreateBusOrder.vue b/src/views/inout/IoCreateBusOrder.vue index 4794d89..9792cfc 100644 --- a/src/views/inout/IoCreateBusOrder.vue +++ b/src/views/inout/IoCreateBusOrder.vue @@ -288,7 +288,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoCreateErrorOrder.vue b/src/views/inout/IoCreateErrorOrder.vue index 9fb0555..c1c1f3b 100644 --- a/src/views/inout/IoCreateErrorOrder.vue +++ b/src/views/inout/IoCreateErrorOrder.vue @@ -259,7 +259,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoCreateOrder.vue b/src/views/inout/IoCreateOrder.vue index 03cf125..f326ea1 100644 --- a/src/views/inout/IoCreateOrder.vue +++ b/src/views/inout/IoCreateOrder.vue @@ -276,7 +276,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoCreateScanOrder.vue b/src/views/inout/IoCreateScanOrder.vue index 103ab4f..a39b6ee 100644 --- a/src/views/inout/IoCreateScanOrder.vue +++ b/src/views/inout/IoCreateScanOrder.vue @@ -249,7 +249,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoDealOrder.vue b/src/views/inout/IoDealOrder.vue index c1e7be4..c5a57ff 100644 --- a/src/views/inout/IoDealOrder.vue +++ b/src/views/inout/IoDealOrder.vue @@ -386,7 +386,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoDeliveryAuditOrder.vue b/src/views/inout/IoDeliveryAuditOrder.vue index 8de7c7b..69c809f 100644 --- a/src/views/inout/IoDeliveryAuditOrder.vue +++ b/src/views/inout/IoDeliveryAuditOrder.vue @@ -613,7 +613,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", @@ -1046,7 +1046,7 @@ export default { //单据撤回 rollback(row) { - this.$confirm('此操作将撤回单据至待校验, 是否继续?', '提示', { + this.$confirm('此操作将撤回单据至待核对, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' diff --git a/src/views/inout/IoDeliverySearchOrder.vue b/src/views/inout/IoDeliverySearchOrder.vue index 19469ff..8f3d3b0 100644 --- a/src/views/inout/IoDeliverySearchOrder.vue +++ b/src/views/inout/IoDeliverySearchOrder.vue @@ -608,7 +608,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", @@ -1012,7 +1012,7 @@ export default { //单据撤回 rollback(row) { - this.$confirm('此操作将撤回单据至待校验, 是否继续?', '提示', { + this.$confirm('此操作将撤回单据至待审核, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' diff --git a/src/views/inout/IoEditOrder.vue b/src/views/inout/IoEditOrder.vue index a55d391..517500d 100644 --- a/src/views/inout/IoEditOrder.vue +++ b/src/views/inout/IoEditOrder.vue @@ -437,7 +437,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoInoutSearchOrder.vue b/src/views/inout/IoInoutSearchOrder.vue index 42199f4..ca8c143 100644 --- a/src/views/inout/IoInoutSearchOrder.vue +++ b/src/views/inout/IoInoutSearchOrder.vue @@ -534,7 +534,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoReturnedSearchOrder.vue b/src/views/inout/IoReturnedSearchOrder.vue index ee987ea..894685e 100644 --- a/src/views/inout/IoReturnedSearchOrder.vue +++ b/src/views/inout/IoReturnedSearchOrder.vue @@ -569,7 +569,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoSupAduitOrder.vue b/src/views/inout/IoSupAduitOrder.vue index 849acb4..c685e2d 100644 --- a/src/views/inout/IoSupAduitOrder.vue +++ b/src/views/inout/IoSupAduitOrder.vue @@ -483,7 +483,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoSupSearchOrder.vue b/src/views/inout/IoSupSearchOrder.vue index 268436e..003f6ff 100644 --- a/src/views/inout/IoSupSearchOrder.vue +++ b/src/views/inout/IoSupSearchOrder.vue @@ -481,7 +481,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/IoSupSecAuditOrder.vue b/src/views/inout/IoSupSecAuditOrder.vue index 60b046c..7d8c2e1 100644 --- a/src/views/inout/IoSupSecAuditOrder.vue +++ b/src/views/inout/IoSupSecAuditOrder.vue @@ -292,7 +292,7 @@ show-overflow-tooltip > - {{ scope.row.checkFileName }} + {{ scope.row.checkFileName }} @@ -452,11 +452,10 @@ import AcceptOrder from "@/views/inout/DialogReviewOrder"; import {getDeptListByUser} from "@/api/auth/authDept"; import DialogCheck from "@/views/inout/DialogCheck"; import {getBizDetailList} from "@/api/inout/orderDetailBiz"; -import { previewImage } from '@/api/purchase/supCompany' +import {previewImage} from '@/api/purchase/supCompany' import ElImageViewer from "element-ui/packages/image/src/image-viewer"; - const formJson = { site_id: "", site_name: "", @@ -469,8 +468,8 @@ export default { data() { return { BASE_URL: process.env.VUE_APP_BASE_API, - imgList:[], - imgViewerVisible:false, + imgList: [], + imgViewerVisible: false, showSearch: true, Upinvoice: false, currentManufacturer: {}, @@ -518,7 +517,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", @@ -600,7 +599,7 @@ export default { acceptOrderVisible: false, }; }, - components: {AcceptOrder, DialogCheck,ElImageViewer}, + components: {AcceptOrder, DialogCheck, ElImageViewer}, methods: { onReset() { this.$router.push({ @@ -644,25 +643,29 @@ export default { hideSearch() { this.showSearch = !this.showSearch; }, - showImgViewer(row){ + showImgViewer(row) { this.certFileUrl = this.BASE_URL + "/udiwms/image/register/file/getImage?type=image2&name="; - console.log(this.certFileUrl+"========"); - this.imgList=[]; - previewImage({imageUrl:row.filePath,certFileUrl:this.certFileUrl}).then(response => { + console.log(this.certFileUrl + "========"); + this.imgList = []; + previewImage({imageUrl: row.filePath, certFileUrl: this.certFileUrl}).then(response => { if (response.code === 20000) { - this.imgList=response.data; + this.imgList = response.data; } console.log(this.imgList) this.imgViewerVisible = true; }); - const m = (e) => { e.preventDefault() }; + const m = (e) => { + e.preventDefault() + }; document.body.style.overflow = 'hidden'; document.addEventListener("touchmove", m, false); // 禁止页面滑动 }, - closeImgViewer(){ + closeImgViewer() { this.imgViewerVisible = false; - const m = (e) => { e.preventDefault() }; + const m = (e) => { + e.preventDefault() + }; document.body.style.overflow = 'auto'; document.removeEventListener("touchmove", m, true); }, @@ -944,7 +947,7 @@ export default { }, //单据撤回 rollback(row) { - this.$confirm('此操作将撤回单据至已校验未审核状态, 是否继续?', '提示', { + this.$confirm('此操作将撤回单据至待核对, 是否继续?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' @@ -968,7 +971,7 @@ export default { this.acceptQuery = row; this.acceptOrderVisible = true; }, - freshen(){ + freshen() { this.Upinvoice = false; this.getOrderDetails(); }, diff --git a/src/views/inout/IoWaitAllocateOrder.vue b/src/views/inout/IoWaitAllocateOrder.vue index 4e9b6f7..9463d4a 100644 --- a/src/views/inout/IoWaitAllocateOrder.vue +++ b/src/views/inout/IoWaitAllocateOrder.vue @@ -359,7 +359,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inout/uploadManage/uploadOrder.vue b/src/views/inout/uploadManage/uploadOrder.vue index 8b31eeb..0922ff4 100644 --- a/src/views/inout/uploadManage/uploadOrder.vue +++ b/src/views/inout/uploadManage/uploadOrder.vue @@ -422,7 +422,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inventory/InvPreInSerach.vue b/src/views/inventory/InvPreInSerach.vue index fbf9b71..47b649e 100644 --- a/src/views/inventory/InvPreInSerach.vue +++ b/src/views/inventory/InvPreInSerach.vue @@ -233,7 +233,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inventory/InvSupPreInSerach.vue b/src/views/inventory/InvSupPreInSerach.vue index 303f1c5..9d41e5a 100644 --- a/src/views/inventory/InvSupPreInSerach.vue +++ b/src/views/inventory/InvSupPreInSerach.vue @@ -293,7 +293,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "11": "仓库盘点", diff --git a/src/views/inventory/trace/invUdiTraceOrder.vue b/src/views/inventory/trace/invUdiTraceOrder.vue index d720a50..88fe949 100644 --- a/src/views/inventory/trace/invUdiTraceOrder.vue +++ b/src/views/inventory/trace/invUdiTraceOrder.vue @@ -268,7 +268,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单", "12": "采购计划", diff --git a/src/views/inventory/trace/sickerUdiTraceOrder.vue b/src/views/inventory/trace/sickerUdiTraceOrder.vue index d88b57b..7fce19b 100644 --- a/src/views/inventory/trace/sickerUdiTraceOrder.vue +++ b/src/views/inventory/trace/sickerUdiTraceOrder.vue @@ -192,7 +192,7 @@ export default { "4": "pda未校验", "5": "pc端扫码精灵", "6": "流转自动补单", - "7": "UDI供应商平台", + "7": "UDI管理系统", "8": "平衡补录单据", "10": "手动补单" }, diff --git a/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue index acf6086..aed72da 100644 --- a/src/views/monitor/logininfor/index.vue +++ b/src/views/monitor/logininfor/index.vue @@ -46,14 +46,16 @@ icon="el-icon-refresh" size="mini" @click="resetQuery" - >重置重置 + 搜索搜索 + @@ -132,7 +134,6 @@ align="center" prop="userName" :show-overflow-tooltip="true" - :sort-orders="['descending', 'ascending']" /> --> - + diff --git a/src/views/inventory/InvSupPreProducts.vue b/src/views/inventory/InvSupPreProducts.vue index e073fb9..6c4e818 100644 --- a/src/views/inventory/InvSupPreProducts.vue +++ b/src/views/inventory/InvSupPreProducts.vue @@ -302,6 +302,12 @@ export default { getInvListByUser(query) .then((response) => { this.invList = response.data || []; + for(var i=0;i< this.invList.length;i++){ + if(this.invList[i].advanceType == 3){ + this.filterQuery.invCode=this.invList[i].code; + } + } + this.getList(); }) .catch(() => { @@ -386,7 +392,7 @@ export default { } this.findMethod(); this.getInvList(); - this.getList(); + //this.getList(); }, }; diff --git a/src/views/purchase/purOrder/purOrderSearch.vue b/src/views/purchase/purOrder/purOrderSearch.vue index 25b285e..ac31f41 100644 --- a/src/views/purchase/purOrder/purOrderSearch.vue +++ b/src/views/purchase/purOrder/purOrderSearch.vue @@ -22,14 +22,14 @@ @@ -41,14 +41,14 @@ From fcfdef8da6ff370ed3d68835fb6cc7098e7cbe56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Mon, 8 May 2023 16:53:52 +0800 Subject: [PATCH 05/20] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E9=80=89=E5=85=A5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/basic/product/udiInfo.js | 10 + .../basic/product/SelectDIDetailDialog.vue | 89 ++++- .../products/selectDIDetailDialog.vue | 377 ++++++++++++------ 3 files changed, 361 insertions(+), 115 deletions(-) diff --git a/src/api/basic/product/udiInfo.js b/src/api/basic/product/udiInfo.js index 7f02594..b8db673 100644 --- a/src/api/basic/product/udiInfo.js +++ b/src/api/basic/product/udiInfo.js @@ -32,3 +32,13 @@ export function filterByVersion(query) { }); } + +export function selectOriginuuid(query) { + return axios({ + url: "/udi/udirel/selectOriginuuid", + method: "post", + data: query + }); +} + + diff --git a/src/views/basic/product/SelectDIDetailDialog.vue b/src/views/basic/product/SelectDIDetailDialog.vue index c4816d7..4f0738d 100644 --- a/src/views/basic/product/SelectDIDetailDialog.vue +++ b/src/views/basic/product/SelectDIDetailDialog.vue @@ -1,5 +1,25 @@ + + + + + 产品标识: + + + + + + + + + + +import { filterByUuid, selectOriginuuid } from '@/api/basic/product/udiInfo' + export default { name: "SelectDIDetailDialog", props: { @@ -456,12 +478,30 @@ export default { }, data() { return { - activeNames: ['1'] + activeNames: ['1'], + detailList: [] } }, - methods: {}, + methods: { + getDetailList(detailQuery) { + selectOriginuuid(detailQuery) + .then((response) => { + this.detailList = response.data || []; + }) + .catch(() => { + this.detailList = []; + }); + }, + + + }, created() { + //获取产品标识列表 + let ttquery = { + uuid: this.editQuery.uuid, + }; + this.getDetailList(ttquery); }, }; @@ -476,5 +516,50 @@ export default { padding-bottom: 17px; padding-top: 17px; } +.itemTag { + float: left; + text-align: right; + margin-top: 5px; + padding-right: 10px; + width: 35%; +} + +.text { + font-size: 13px; + font-family: "Microsoft YaHei"; +} + +.query-form-item { + display: block !important; + margin-right: 10px; + margin-bottom: 5px; +} +.edit-row { + display: flex; + flex-wrap: wrap; + margin-bottom: 0px; +} + +.el-row { + display: flex; +} + +/* .el-col { + border-radius: 4px; + flex-wrap: wrap; +} */ + +.el-table .cell.el-tooltip { + white-space: pre-wrap; +} + +.form-title { + font-size: 16px; + font-family: Noto Sans SC; + font-weight: bold; + color: #303133; + padding-bottom: 17px; + padding-top: 17px; +} diff --git a/src/views/supplier/products/selectDIDetailDialog.vue b/src/views/supplier/products/selectDIDetailDialog.vue index ee97a21..e9bff6c 100644 --- a/src/views/supplier/products/selectDIDetailDialog.vue +++ b/src/views/supplier/products/selectDIDetailDialog.vue @@ -1,5 +1,22 @@ + + + 产品标识: + + + + + + + + + @@ -13,7 +30,7 @@ - + @@ -21,12 +38,12 @@ - + - + @@ -34,12 +51,12 @@ - + - + @@ -47,12 +64,12 @@ - + - + @@ -60,7 +77,7 @@ - + @@ -69,13 +86,13 @@ - + - + @@ -83,13 +100,13 @@ - + - + @@ -97,13 +114,13 @@ - + - + @@ -111,47 +128,58 @@ - + - + - 产品标识基本信息 - + - - - + + + 产品标识: + + + - - - + + + 最小包装单元内包含使用单元数量: + + + - + - - - + + + 包含下级产品编码: + + + - - - + + + 包含最小销售包装数量: + + + @@ -162,90 +190,129 @@ 产品基本信息 - + - - - + + + 物资名称: + + + - - - + + + 规格型号: + + + - + - - - + + + 产品类别: + + + - - - + + + 分类编码: + + + - + - - - + + + 医疗器械注册人: + + + - - - + + + 注册人英文名称: + + + - + - - - + + + 器械类别: + + + - - - + + + 生产企业: + + + - + - - - + + + 商品条码: + + + - - - + + + 医保编码: + + + - + - - - + + + 统一社会信用号: + + + - - - + + + 注册证/备案号: + + + - + - - - + + + 产品描述: + + + @@ -256,29 +323,41 @@ 生产标识基本信息 - + - - - + + + 是否包含批号: + + + - - - + + + 是否包含序列号: + + + - + - - - + + + 是否包含生产日期: + + + - - - + + + 是否包含失效日期: + + + @@ -288,30 +367,42 @@ 包装标识信息 - + - - - + + + 上级产品编码: + + + - - - + + + 包装级别: + + + - + - - - + + + 包装级别: + + + - - - + + + 包含下级包装数量: + + + @@ -327,6 +418,7 @@ import { updateDiProduct } from '@/api/supplier/supProductsAddDi' import { finProductSet } from '@/api/param/systemParamConfig' +import { selectOriginuuid } from '@/api/basic/product/udiInfo' export default { name: "SelectDIDetailDialog", @@ -352,6 +444,7 @@ export default { return { activeNames: ['1'], remark:"", + detailList:[], productRemarkSet:{} } }, @@ -383,12 +476,25 @@ export default { //出错了 } }) - } - + }, + getDetailList(detailQuery) { + selectOriginuuid(detailQuery) + .then((response) => { + this.detailList = response.data || []; + }) + .catch(() => { + this.detailList = []; + }); + }, }, created() { this.findBasicProductSet() + //获取产品标识列表 + let ttquery = { + uuid: this.editQuery.uuid, + }; + this.getDetailList(ttquery); }, }; @@ -396,12 +502,57 @@ export default { From e7f5af3d96658008bb8942114268b0f1361f9e9c Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 8 May 2023 17:28:23 +0800 Subject: [PATCH 06/20] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceRegistration.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue index a5bad4f..e4db1c5 100644 --- a/src/views/inout/InvoiceRegistration.vue +++ b/src/views/inout/InvoiceRegistration.vue @@ -947,7 +947,14 @@ export default { getInvList() { getInvListByUser() .then((response) => { - this.invList = response.data || []; + let invlist1= response.data || []; + for(var i=0;i { }); From d3316f91438ef607a3757944cdd6d4b868bcdf66 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 8 May 2023 17:57:13 +0800 Subject: [PATCH 07/20] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inventory/InvPreInProductsDetail.vue | 1 + src/views/inventory/InvPreProductsDetail.vue | 1 + src/views/inventory/InvProductsDetail.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/src/views/inventory/InvPreInProductsDetail.vue b/src/views/inventory/InvPreInProductsDetail.vue index 68cbcb8..ab2ad28 100644 --- a/src/views/inventory/InvPreInProductsDetail.vue +++ b/src/views/inventory/InvPreInProductsDetail.vue @@ -107,6 +107,7 @@ prop="orderTime" width="150" show-overflow-tooltip + sortable="custom" :sort-orders="['ascending', 'descending']" > diff --git a/src/views/inventory/InvPreProductsDetail.vue b/src/views/inventory/InvPreProductsDetail.vue index ae17320..5fa6132 100644 --- a/src/views/inventory/InvPreProductsDetail.vue +++ b/src/views/inventory/InvPreProductsDetail.vue @@ -107,6 +107,7 @@ prop="orderTime" width="150" show-overflow-tooltip + sortable="custom" :sort-orders="['ascending', 'descending']" > diff --git a/src/views/inventory/InvProductsDetail.vue b/src/views/inventory/InvProductsDetail.vue index f94d4f0..db1ba6d 100644 --- a/src/views/inventory/InvProductsDetail.vue +++ b/src/views/inventory/InvProductsDetail.vue @@ -105,6 +105,7 @@ prop="orderTime" width="150" show-overflow-tooltip + sortable="custom" :sort-orders="['ascending', 'descending']" > From c2faf51f0e21aee81d7800a128bf6fd84137d7e9 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 8 May 2023 18:12:36 +0800 Subject: [PATCH 08/20] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceCkeck.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index a47e78d..6b8d731 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -168,6 +168,11 @@ > + - Date: Mon, 8 May 2023 18:42:29 +0800 Subject: [PATCH 09/20] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceCkeck.vue | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index 6b8d731..8cae7e5 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -17,18 +17,18 @@ style="padding-top: 40px" > - - - - - - - + + + + + + + + + + + + From e6f66cafa0abc2cebd67f2596f392782c6fd6a33 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 8 May 2023 19:59:59 +0800 Subject: [PATCH 10/20] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceRegistration.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/inout/InvoiceRegistration.vue b/src/views/inout/InvoiceRegistration.vue index e4db1c5..801bc6c 100644 --- a/src/views/inout/InvoiceRegistration.vue +++ b/src/views/inout/InvoiceRegistration.vue @@ -1037,9 +1037,10 @@ export default { this.bizDetailLoading = true; this.bizQuery.orderIdFk = this.currentRow.billNo; if(row != null) { + this.bizQuery.orderIdFk=row.orderIdFk; this.bizQuery.batchNo = row.batchNo; this.bizQuery.relId = row.bindRlFk; - this.bizQuery.bizIdFk = row.id; + //this.bizQuery.bizIdFk = row.id; } filterListInvoice(this.bizQuery).then((res) => { this.bizDetailLoading = false; From 133c471532757f55f4e4d0077b6ba0b3c497f3ee Mon Sep 17 00:00:00 2001 From: wj <1285151836@qq.com> Date: Tue, 9 May 2023 10:45:01 +0800 Subject: [PATCH 11/20] =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/IoDeliveryAuditOrder.vue | 6 +++++- src/views/inout/IoSupAduitOrder.vue | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/inout/IoDeliveryAuditOrder.vue b/src/views/inout/IoDeliveryAuditOrder.vue index 69c809f..4677d48 100644 --- a/src/views/inout/IoDeliveryAuditOrder.vue +++ b/src/views/inout/IoDeliveryAuditOrder.vue @@ -705,6 +705,7 @@ export default { this.$router.push({ path: "", }); + let invCode = this.filterQuery.invCode this.filterQuery = { id: "", billNo: null, @@ -715,8 +716,11 @@ export default { limit: 10, startTime: null, endTime: null, - invCode: this.$store.getters.locInvCode, + invCode : this.$store.getters.locInvCode }; + if(invCode!=this.$store.getters.locInvCode){ + this.getBusType(); + } this.actDateRange = []; this.getList(); }, diff --git a/src/views/inout/IoSupAduitOrder.vue b/src/views/inout/IoSupAduitOrder.vue index c685e2d..e1d7fc8 100644 --- a/src/views/inout/IoSupAduitOrder.vue +++ b/src/views/inout/IoSupAduitOrder.vue @@ -570,6 +570,7 @@ export default { this.$router.push({ path: "", }); + let invCode = this.filterQuery.invCode this.filterQuery = { id: "", billNo: null, @@ -582,6 +583,9 @@ export default { endTime: null, invCode: this.$store.getters.locInvCode, }; + if(invCode!=this.$store.getters.locInvCode){ + this.getBusType(); + } this.actDateRange = []; this.getList(); }, From 00eaeb1afc9624d07f52d30444dae5bf95caee42 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Tue, 9 May 2023 15:01:24 +0800 Subject: [PATCH 12/20] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=8C=E6=A3=80=E9=AA=8C=E6=8A=A5=E5=91=8A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/inout/orderDetailBiz.js | 9 +++ src/views/inout/DialogCheck.vue | 94 +++++++++++++------------ src/views/inout/InvoiceRegistration.vue | 86 +++++++++++----------- src/views/sync/SysUdimsConfig.vue | 4 +- 4 files changed, 102 insertions(+), 91 deletions(-) diff --git a/src/api/inout/orderDetailBiz.js b/src/api/inout/orderDetailBiz.js index c568b4e..b237b36 100644 --- a/src/api/inout/orderDetailBiz.js +++ b/src/api/inout/orderDetailBiz.js @@ -41,6 +41,15 @@ export function updateById(data) { }); } + +export function updateBizById(data) { + return axios({ + url: "/udiwms/inout/bizDetail/updateById", + method: "post", + data: data + }); +} + export function insertInvoice(params) { return axios({ url: "/udiwms/inout/biz/insertInvoice", diff --git a/src/views/inout/DialogCheck.vue b/src/views/inout/DialogCheck.vue index 168431e..9794496 100644 --- a/src/views/inout/DialogCheck.vue +++ b/src/views/inout/DialogCheck.vue @@ -39,7 +39,7 @@ - + @@ -50,7 +50,7 @@ - + @@ -62,7 +62,7 @@ - + @@ -73,7 +73,7 @@ - + @@ -83,7 +83,7 @@ - + @@ -93,7 +93,7 @@ - + @@ -164,10 +164,11 @@ - 检验报告预览 + style="text-align:right" @click="showImgViewer"> + 检验报告预览 - + @@ -181,13 +182,12 @@
产品标识基本信息
产品基本信息
生产标识基本信息
包装标识信息