From a0de8d2b8fb8b529e9d7580dd6844173f78ab42d Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Thu, 12 Sep 2024 15:53:28 +0800 Subject: [PATCH 01/12] =?UTF-8?q?HL-5853=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E5=8F=91=E8=B4=A7=E7=94=B3=E8=AF=B7=E5=A2=9E=E5=8A=A0=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=B1=A5=E5=8E=86=E8=A1=A8=E5=8A=9F=E8=83=BD=EF=BC=8C?= =?UTF-8?q?=E9=9D=9E=E5=BF=85=E5=A1=AB=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierdeliver/supplierdeliverRequestMain/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 9b57b0159..14d3475d7 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -540,7 +540,7 @@ const butttondata = (row, $index) => { { label: t('ts.上传履历表'), name: 'mainPlanCurriculumVitae', - hide: row.status!=5, + hide: row.status==5, type: 'primary', icon: '', color: '', From fa53834e926ee51d995b5c5d0892dc384fde70ef Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Thu, 12 Sep 2024 16:18:17 +0800 Subject: [PATCH 02/12] =?UTF-8?q?HL-5862=E4=BE=9B=E5=BA=94=E5=95=86?= =?UTF-8?q?=E5=BC=80=E7=A5=A8=E6=97=B6=E5=8F=AF=E4=BB=A5=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=BC=80=E7=A5=A8=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/locales/en-US.ts | 1 + src/locales/zh-CN.ts | 1 + .../supplierinvoiceRequestMain/index.vue | 10 ++++++++-- .../supplierinvoiceRequestMain.data.ts | 6 ++++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index 9793a55e5..9c6aad57a 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -832,6 +832,7 @@ export default { 未税差额:'Untaxed Difference', 含税差额:'Difference including tax', 可开票数量:'Number of tickets available', + 可开票数量不能为0:'The amount invogeable cannot be 0', 采购审批人:'Procurement Approver', 采购审批时间:'Purchase approval time', 财务审批时间:'Financial approval time', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 1e78e1525..49c3e196f 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -833,6 +833,7 @@ export default { 未税差额:'未税差额', 含税差额:'含税差额', 可开票数量:'可开票数量', + 可开票数量不能为0:'可开票数量不能为0', 采购审批人:'采购审批人', 采购审批时间:'采购审批时间', 财务审批时间:'财务审批时间', diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue index a5c137240..6eb1f7bde 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue @@ -484,7 +484,10 @@ const detailBasicFormOnChange = (field, cur) => { const handleDetailSubmitForm = async (formType, data) => { if (formType === 'update') { console.log('handleDetailSubmitForm',data) - if(data.maxInvoicableQuantity>0){ + if(data.invoicableQuantity==0){ + message.error(t('ts.可开票数量不能为0')) + return + }else if(data.maxInvoicableQuantity>0){ if(data.invoicableQuantity<0||data.invoicableQuantity>data.maxInvoicableQuantity){ message.error(t('ts.可开票数量范围是')+`:0~${data.maxInvoicableQuantity}`) return @@ -1375,7 +1378,10 @@ const submitForm = async (formType, submitData) => { tableData.value.forEach(item => { // 负数:默认默认开票数~0 // 正数:0~默认开票数 - if(item.maxInvoicableQuantity){ + if(item.invoicableQuantity==0){ + flagInvoicableQuantity = true + message.error(`${item.itemCode}`+t('ts.可开票数量不能为0')) + }else if(item.maxInvoicableQuantity){ if(item.maxInvoicableQuantity>0){ if(item.invoicableQuantity<0||item.invoicableQuantity>item.maxInvoicableQuantity){ flagInvoicableQuantity = true diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts index 2e02b6143..4356beea3 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts @@ -1806,12 +1806,14 @@ export const SupplierinvoiceRequestDetail = useCrudSchemas(reactive Date: Thu, 12 Sep 2024 16:20:43 +0800 Subject: [PATCH 03/12] =?UTF-8?q?HL-5905SCP=E6=AD=A3=E5=BC=8F=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=EF=BC=8C=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E7=A5=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=EF=BC=8C=E8=AE=B0=E5=BD=95=EF=BC=8C=E4=BB=B7?= =?UTF-8?q?=E5=B7=AE=E6=95=B0=E6=8D=AE=E6=9F=A5=E7=9C=8B=E3=80=82=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E9=99=84=E4=BB=B6=E4=B8=8E=E5=90=88=E5=90=8C=E9=99=84?= =?UTF-8?q?=E4=BB=B6=E5=A2=9E=E5=8A=A0=E9=A2=84=E8=A7=88=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoiceRequestMainDifference/index.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue index cb402755f..b5ea4f98a 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue @@ -294,6 +294,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea hiddenDelete:true, hiddenUpload:true, showPreview: true, + showDownload:true, fileSize:20 },{ label: t('ts.发票附件'), @@ -302,6 +303,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea hiddenDelete:true, hiddenUpload:true, showPreview: true, + showDownload:true, fileSize:20 },{ From 9223cc20da715383e4089f771d4257aec7e4c824 Mon Sep 17 00:00:00 2001 From: tengxiaofei <302828528@qq.com> Date: Thu, 12 Sep 2024 16:46:02 +0800 Subject: [PATCH 04/12] =?UTF-8?q?HL-5990=20=E5=AE=A2=E6=88=B7=E9=80=80?= =?UTF-8?q?=E8=B4=A7=EF=BC=8C=E9=80=89=E6=8B=A9=E5=8F=91=E8=B4=A7=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=90=8E=E6=9C=AA=E8=83=BD=E5=8A=A0=E8=BD=BD=E5=87=BA?= =?UTF-8?q?=E6=89=80=E6=9C=89=E5=8F=91=E8=B4=A7=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customerreturn/customerreturnRequestMain/index.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue index b2c49ad62..a574f6429 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue @@ -215,9 +215,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => setV['customerDockCode'] = val[0]['customerDockCode'] // 获取子表数据 - DeliverRecordDetailApi.getDeliverRecordDetailPage({masterId:val[0]['masterId']}) - .then(res => { - + DeliverRecordDetailApi.getDeliverRecordDetailPage({pageSize:999,masterId:val[0]['masterId']}).then(res => { + res.list.forEach(obj => { let value = null value = obj.fromLocationCode From 9766500a85d19d4457bc71010bd5436cb2475ef2 Mon Sep 17 00:00:00 2001 From: bjang03 <259278618@qq.com> Date: Thu, 12 Sep 2024 17:22:35 +0800 Subject: [PATCH 05/12] =?UTF-8?q?=E5=AF=86=E7=A0=81=E7=AD=96=E7=95=A5?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E5=8F=98=E6=9B=B4=EF=BC=8C=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E6=97=A5=E8=AF=95=E9=94=99=E6=AC=A1=E6=95=B0=EF=BC=8C=E8=BE=BE?= =?UTF-8?q?=E5=88=B0=E9=98=88=E5=80=BC=E5=86=BB=E7=BB=93=E8=B4=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/components/LoginForm.vue | 2 +- src/views/system/passwordRule/index.vue | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue index 0fe8506d1..6fcefd3cd 100644 --- a/src/views/login/components/LoginForm.vue +++ b/src/views/login/components/LoginForm.vue @@ -281,7 +281,7 @@ return case 1: await ElMessageBox.alert( - '密码过期账号已冻结,请联系管理员解冻', + '密码过期,请联系管理员修改', '重要提示', { dangerouslyUseHTMLString: true, diff --git a/src/views/system/passwordRule/index.vue b/src/views/system/passwordRule/index.vue index a01c5da99..8582612fb 100644 --- a/src/views/system/passwordRule/index.vue +++ b/src/views/system/passwordRule/index.vue @@ -1,7 +1,7 @@