From d384271d0b83bfc2439b32fb93a477f4b1d38ae3 Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Wed, 29 Oct 2025 16:28:15 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=8A=A5=E5=85=B3=E6=B8=85=E5=85=B3?=
=?UTF-8?q?=E7=BA=A7=E5=88=AB=E6=8F=90=E9=86=92=E5=BC=B9=E7=AA=97=E8=B0=83?=
=?UTF-8?q?=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/emis/emisWaybill/waybillGot.vue | 112 ++++++++---------
src/views/emis/emisWaybill/waybillModify.vue | 113 +++++++++---------
src/views/emis/emisWaybill/waybillRecord.vue | 111 ++++++++---------
.../emisWaybillAjustApply/adjustPanel.vue | 111 ++++++++---------
4 files changed, 229 insertions(+), 218 deletions(-)
diff --git a/src/views/emis/emisWaybill/waybillGot.vue b/src/views/emis/emisWaybill/waybillGot.vue
index 037807b0..f0a2c3b0 100644
--- a/src/views/emis/emisWaybill/waybillGot.vue
+++ b/src/views/emis/emisWaybill/waybillGot.vue
@@ -2725,35 +2725,32 @@ methods: {
return true;
}
this.categorySender = data.category;
- let msg = '';
- let color = '';
- if (this.categorySender === '2' ) {
- msg = `该公司为特区货物报关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categorySender === '3') {
- msg = `该公司报关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categorySender === '4') {
- msg = `该公司报关有问题无法报关,禁止走货。`;
- color = 'black'
- }
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const msgMap = {
+ '2': `该公司为特区货物报关比较麻烦,请注意跟进。`,
+ '3': `该公司报关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司报关有问题无法报关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
+ const dynamicHtml=`
+
+
+
+ ${msgMap[this.categorySender]}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('sender.enterpriseName');
});
@@ -2795,39 +2792,44 @@ methods: {
this.categoryReciever = data.category;
let msg = '';
let color = '';
+ const msgMap = {
+ '2': `该公司为特区货物清关比较麻烦,请注意跟进。`,
+ '3': `该公司清关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司清关有问题无法清关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
// 判断是否是特区
let SpecialZone =false;
if(address){
SpecialZone = address.includes('Special Economic Zone') || this.recieverRegionName.includes('特区') || this.recieverRegionName === '中柬金属材料产业园';
}
- console.log('---checkRecieverCompany1111' ,this.categoryReciever,SpecialZone);
if ((this.categoryReciever === '2' || (SpecialZone && this.categoryReciever !=='4'))) {
- msg = `该公司为特区货物清关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categoryReciever === '3') {
- msg = `该公司清关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categoryReciever === '4') {
- msg = `该公司清关有问题无法清关,禁止走货。`;
- color = 'black'
+ msg = msgMap['2'];
+ color = colorMap['2'];
+ } else {
+ msg = msgMap[this.categoryReciever];
+ color = colorMap[this.categoryReciever];
}
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const dynamicHtml=`
+
+
+
+ ${msg}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('reciever.company');
});
diff --git a/src/views/emis/emisWaybill/waybillModify.vue b/src/views/emis/emisWaybill/waybillModify.vue
index 1e2ad74c..8fd606e4 100644
--- a/src/views/emis/emisWaybill/waybillModify.vue
+++ b/src/views/emis/emisWaybill/waybillModify.vue
@@ -2702,7 +2702,7 @@ methods: {
}
},
- // 校验寄件企业等级
+ // 校验寄件企业等级
checkEnterprise(enterpriseName) {
if(!enterpriseName || this.form.sender.country !== '0086' ){
this.categorySender = null;
@@ -2729,35 +2729,32 @@ methods: {
return true;
}
this.categorySender = data.category;
- let msg = '';
- let color = '';
- if (this.categorySender === '2' ) {
- msg = `该公司为特区货物报关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categorySender === '3') {
- msg = `该公司报关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categorySender === '4') {
- msg = `该公司报关有问题无法报关,禁止走货。`;
- color = 'black'
- }
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const msgMap = {
+ '2': `该公司为特区货物报关比较麻烦,请注意跟进。`,
+ '3': `该公司报关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司报关有问题无法报关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
+ const dynamicHtml=`
+
+
+
+ ${msgMap[this.categorySender]}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('sender.enterpriseName');
});
@@ -2799,38 +2796,44 @@ methods: {
this.categoryReciever = data.category;
let msg = '';
let color = '';
+ const msgMap = {
+ '2': `该公司为特区货物清关比较麻烦,请注意跟进。`,
+ '3': `该公司清关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司清关有问题无法清关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
// 判断是否是特区
let SpecialZone =false;
if(address){
SpecialZone = address.includes('Special Economic Zone') || this.recieverRegionName.includes('特区') || this.recieverRegionName === '中柬金属材料产业园';
}
if ((this.categoryReciever === '2' || (SpecialZone && this.categoryReciever !=='4'))) {
- msg = `该公司为特区货物清关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categoryReciever === '3') {
- msg = `该公司清关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categoryReciever === '4') {
- msg = `该公司清关有问题无法清关,禁止走货。`;
- color = 'black'
+ msg = msgMap['2'];
+ color = colorMap['2'];
+ } else {
+ msg = msgMap[this.categoryReciever];
+ color = colorMap[this.categoryReciever];
}
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const dynamicHtml=`
+
+
+
+ ${msg}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('reciever.company');
});
diff --git a/src/views/emis/emisWaybill/waybillRecord.vue b/src/views/emis/emisWaybill/waybillRecord.vue
index 0711a0c3..e0d33ba9 100644
--- a/src/views/emis/emisWaybill/waybillRecord.vue
+++ b/src/views/emis/emisWaybill/waybillRecord.vue
@@ -2694,35 +2694,32 @@ methods: {
return true;
}
this.categorySender = data.category;
- let msg = '';
- let color = '';
- if (this.categorySender === '2' ) {
- msg = `该公司为特区货物报关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categorySender === '3') {
- msg = `该公司报关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categorySender === '4') {
- msg = `该公司报关有问题无法报关,禁止走货。`;
- color = 'black'
- }
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const msgMap = {
+ '2': `该公司为特区货物报关比较麻烦,请注意跟进。`,
+ '3': `该公司报关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司报关有问题无法报关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
+ const dynamicHtml=`
+
+
+
+ ${msgMap[this.categorySender]}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('sender.enterpriseName');
});
@@ -2764,38 +2761,44 @@ methods: {
this.categoryReciever = data.category;
let msg = '';
let color = '';
+ const msgMap = {
+ '2': `该公司为特区货物清关比较麻烦,请注意跟进。`,
+ '3': `该公司清关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司清关有问题无法清关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
// 判断是否是特区
let SpecialZone =false;
if(address){
SpecialZone = address.includes('Special Economic Zone') || this.recieverRegionName.includes('特区') || this.recieverRegionName === '中柬金属材料产业园';
}
if ((this.categoryReciever === '2' || (SpecialZone && this.categoryReciever !=='4'))) {
- msg = `该公司为特区货物清关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categoryReciever === '3') {
- msg = `该公司清关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categoryReciever === '4') {
- msg = `该公司清关有问题无法清关,禁止走货。`;
- color = 'black'
+ msg = msgMap['2'];
+ color = colorMap['2'];
+ } else {
+ msg = msgMap[this.categoryReciever];
+ color = colorMap[this.categoryReciever];
}
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const dynamicHtml=`
+
+
+
+ ${msg}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('reciever.company');
});
diff --git a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
index b8928863..cb53d004 100644
--- a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
+++ b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue
@@ -2384,35 +2384,32 @@ export default {
return true;
}
this.categorySender = data.category;
- let msg = '';
- let color = '';
- if (this.categorySender === '2' ) {
- msg = `该公司为特区货物报关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categorySender === '3') {
- msg = `该公司报关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categorySender === '4') {
- msg = `该公司报关有问题无法报关,禁止走货。`;
- color = 'black'
- }
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const msgMap = {
+ '2': `该公司为特区货物报关比较麻烦,请注意跟进。`,
+ '3': `该公司报关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司报关有问题无法报关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
+ const dynamicHtml=`
+
+
+
+ ${msgMap[this.categorySender]}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('sender.enterpriseName');
});
@@ -2454,38 +2451,44 @@ export default {
this.categoryReciever = data.category;
let msg = '';
let color = '';
+ const msgMap = {
+ '2': `该公司为特区货物清关比较麻烦,请注意跟进。`,
+ '3': `该公司清关资料不配合存在过异常,请及时跟进。`,
+ '4': `该公司清关有问题无法清关,禁止走货。`
+ };
+ const colorMap = {
+ '2': '#fccc0c',
+ '3': 'red',
+ '4': 'black'
+ };
// 判断是否是特区
let SpecialZone =false;
if(address){
SpecialZone = address.includes('Special Economic Zone') || this.recieverRegionName.includes('特区') || this.recieverRegionName === '中柬金属材料产业园';
}
if ((this.categoryReciever === '2' || (SpecialZone && this.categoryReciever !=='4'))) {
- msg = `该公司为特区货物清关比较麻烦,请注意跟进。`;
- color = '#fccc0c';
- } else if (this.categoryReciever === '3') {
- msg = `该公司清关资料不配合存在过异常,请及时跟进。`;
- color = 'red';
- } else if (this.categoryReciever === '4') {
- msg = `该公司清关有问题无法清关,禁止走货。`;
- color = 'black'
+ msg = msgMap['2'];
+ color = colorMap['2'];
+ } else {
+ msg = msgMap[this.categoryReciever];
+ color = colorMap[this.categoryReciever];
}
- const h = this.$createElement;
- this.$msgbox({
- title: '提示',
- message: h('p', {
- style: {
- color: color,
- // fontSize: '18px'
- }
- }, [
- h('li', { class: 'el-icon-warning' }, ''),
- h('span', null, msg),
- ]),
- showCancelButton: false,
- confirmButtonText: '确定',
- closeOnClickModal: false,
- closeOnPressEscape: false,
- showClose: false
+ const dynamicHtml=`
+
+
+
+ ${msg}
+
+
+
绿色 :无弹窗
+
黄色 :${msgMap['2']}
+
红色 :${msgMap['3']}
+
黑色 :${msgMap['4']}
+
+
+ `;
+ this.$alert(dynamicHtml, '提示',{
+ dangerouslyUseHTMLString: true
}).then(() => {
this.$refs.form.validateField('reciever.company');
});
From 9cf938e845290adfce56d07e66213b50d3b1ff66 Mon Sep 17 00:00:00 2001
From: wuteng <419274783@qq.com>
Date: Thu, 30 Oct 2025 10:20:17 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E9=94=80=E8=B4=A6=E7=94=B3=E8=AF=B7?=
=?UTF-8?q?=E8=AF=A6=E6=83=85=E6=94=B6=E6=AC=BE=E7=8A=B6=E6=80=81=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../emis/emisSettleBill/panel/CancelAccountBillList.vue | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/views/emis/emisSettleBill/panel/CancelAccountBillList.vue b/src/views/emis/emisSettleBill/panel/CancelAccountBillList.vue
index 2fb13ce4..34bf4854 100644
--- a/src/views/emis/emisSettleBill/panel/CancelAccountBillList.vue
+++ b/src/views/emis/emisSettleBill/panel/CancelAccountBillList.vue
@@ -45,7 +45,11 @@
-
+
+ 未收款
+ 已收款
+ 部分收款
+