From de200aaa36dc55146e5305cfcb866cc426d42318 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 12 Oct 2023 15:54:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BB=B6=E5=BD=95=E5=85=A5=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=BE=93=E5=85=A5=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseFiling/archiveList.vue | 10 ++- .../components/archiveDetailsDialog.vue | 14 ++-- .../components/caseentryDialog.vue | 76 ++++++++----------- .../components/formateCourtDialog.vue | 40 ++++++---- 4 files changed, 76 insertions(+), 64 deletions(-) diff --git a/src/views/caseFiling/archiveList.vue b/src/views/caseFiling/archiveList.vue index 505e5c1..e35206c 100644 --- a/src/views/caseFiling/archiveList.vue +++ b/src/views/caseFiling/archiveList.vue @@ -78,7 +78,11 @@ prop="registerDate" :show-overflow-tooltip="true" /> - + + + { this.detailform = res.data; - this.showarchiveDetails = true; + this.flagLoading = false; }); }, }, diff --git a/src/views/caseFiling/components/archiveDetailsDialog.vue b/src/views/caseFiling/components/archiveDetailsDialog.vue index bb5c907..8a750cc 100644 --- a/src/views/caseFiling/components/archiveDetailsDialog.vue +++ b/src/views/caseFiling/components/archiveDetailsDialog.vue @@ -53,6 +53,15 @@ export default { noData: false, }; }, + watch: { + detailform(newValue) { + if (newValue) { + this.caseApplicationObj = this.detailform.caseApplication; + this.caselogDataArr = this.detailform.caseLogRecordList; + this.deliveryDataArr = this.detailform.logisticsInfoVOList; + } + }, + }, methods: { handleClick(tab, event) { // console.log(tab, event); @@ -61,11 +70,6 @@ export default { this.$emit("cancelpaymentdetails"); }, }, - created() { - this.caseApplicationObj = this.detailform.caseApplication; - this.caselogDataArr = this.detailform.caseLogRecordList; - this.deliveryDataArr = this.detailform.logisticsInfoVOList; - }, }; diff --git a/src/views/caseManagement/components/caseentryDialog.vue b/src/views/caseManagement/components/caseentryDialog.vue index 1c52d3a..a022ce5 100644 --- a/src/views/caseManagement/components/caseentryDialog.vue +++ b/src/views/caseManagement/components/caseentryDialog.vue @@ -17,7 +17,7 @@ label-width="150px" :disabled="flag == '0'" > -
+
案件信息:
@@ -37,8 +37,7 @@ @@ -77,6 +76,7 @@ @@ -85,6 +85,7 @@ @@ -93,6 +94,7 @@ @@ -202,7 +204,7 @@ >
-
+
申请人主体信息:
@@ -226,6 +228,7 @@ message: '申请人不能为空', trigger: 'blur', }, + { max: 20, message: '长度应小于20个字符', trigger: 'blur' } ]" > @@ -235,6 +238,9 @@ @@ -269,6 +275,7 @@ message: '单位地址不能为空', trigger: 'blur', }, + { max: 50, message: '长度应小于50个字符', trigger: 'blur' } ]" > @@ -299,15 +306,16 @@ message: '联系地址不能为空', trigger: 'blur', }, + { max: 50, message: '长度应小于50个字符', trigger: 'blur' } ]" > -
-
-
代理人信息:
+
+
+
代理人信息:
@@ -321,6 +329,7 @@ message: '姓名不能为空', trigger: 'blur', }, + { max: 20, message: '长度应小于20个字符', trigger: 'blur' } ]" > @@ -383,6 +392,7 @@ message: '联系地址不能为空', trigger: 'blur', }, + { max: 50, message: '长度应小于50个字符', trigger: 'blur' } ]" >
-
+
被申请人主体信息:
@@ -437,6 +447,7 @@ message: '被申请人不能为空', trigger: 'blur', }, + { max: 20, message: '长度应小于20个字符', trigger: 'blur' } ]" > @@ -493,6 +504,7 @@ message: '单位地址不能为空', trigger: 'blur', }, + { max: 50, message: '长度应小于50个字符', trigger: 'blur' } ]" > @@ -523,15 +535,16 @@ message: '联系地址不能为空', trigger: 'blur', }, + { max: 50, message: '长度应小于50个字符', trigger: 'blur' } ]" > -
-
-
代理人信息:
+
+
+
代理人信息:
@@ -545,6 +558,7 @@ message: '姓名不能为空', trigger: 'blur', }, + { max: 20, message: '长度应小于20个字符', trigger: 'blur' } ]" > @@ -605,6 +619,7 @@ message: '联系地址不能为空', trigger: 'blur', }, + { max: 50, message: '长度应小于50个字符', trigger: 'blur' } ]" > { - console.log(item, "iytem"); if (item.annexType == 2) { this.applicateArr.push({ annexName: item.annexName, @@ -862,33 +871,14 @@ export default { }, }, methods: { - // 过滤输入的金额 - InputNumber (property) { - this.formData[property] = this.limitInputPointNumber(this.formData[property]) + numberFn(p) { + this.formData[p] = + this.formData[p] + .replace(/[^\d^\.]+/g, "") + .replace(/^0+(\d)/, "$1") + .replace(/^\./, "0.") + .match(/^\d*(\.?\d{0,2})/g)[0] || ""; }, - - // 验证只能输入数字 - limitInputNumber (val) { - if (val) { - return String(val).replace(/\D/g, '') - } - return val - }, - - // 限制只能输入数字(可以输入两位小数) - limitInputPointNumber (val) { - if (val === 0 || val === '0' || val === '') { - return '' - } else { - let value = null - value = String(val).replace(/[^\d.]/g, '') // 清除“数字”和“.”以外的字符 - value = value.replace(/\.{2,}/g, '.') // 只保留第一个. 清除多余的 - value = value.replace('.', '$#$').replace(/\./g, '').replace('$#$', '.') - value = value.replace(/^(-)*(\d+)\.(\d\d).*$/, '$1$2.$3') // 只能输入两个小数 - return Number(value) - } - }, - UploadUrl() { return window.location.origin + "/API/evidence/upload"; }, diff --git a/src/views/caseManagement/components/formateCourtDialog.vue b/src/views/caseManagement/components/formateCourtDialog.vue index 35216cf..9c17d60 100644 --- a/src/views/caseManagement/components/formateCourtDialog.vue +++ b/src/views/caseManagement/components/formateCourtDialog.vue @@ -16,12 +16,17 @@ - 当前案件未指定仲裁员,请先指定仲裁员! + 当前案件未指定仲裁员,请先指定仲裁员!

-
-
-
仲裁员信息列表
+
+
+
仲裁员信息列表
0) { - if (this.isAgreePendTral == 0) { + if (this.noArbitrator) { this.paramsdata = { - isAgreePendTral: 0, id: this.formateCourtData.id, arbitrators: this.arbitrators, }; } else { - this.paramsdata = { - isAgreePendTral: 1, - id: this.formateCourtData.id, - }; + if (this.isAgreePendTral == 0) { + this.paramsdata = { + isAgreePendTral: 0, + id: this.formateCourtData.id, + arbitrators: this.arbitrators, + }; + } else { + this.paramsdata = { + isAgreePendTral: 1, + id: this.formateCourtData.id, + }; + } } + pendTralCheck(this.paramsdata).then((res) => { this.cancel(); this.$modal.msgSuccess("组庭成功"); -- 2.54.0