From 3f541f51745b3ed5a7d2064f21fa52429adbea04 Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Fri, 1 Apr 2022 18:02:25 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=90=88=E5=90=8C=E9=82=AE=E5=AF=84?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=94=AF=E5=87=BA?= =?UTF-8?q?=E5=90=88=E5=90=8C=E8=B7=B3=E8=BF=87=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mailManagement/ContractMail.vue | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/views/mailManagement/ContractMail.vue b/src/views/mailManagement/ContractMail.vue index 5d9f011..f2e14bb 100644 --- a/src/views/mailManagement/ContractMail.vue +++ b/src/views/mailManagement/ContractMail.vue @@ -75,7 +75,7 @@ 打印 - 邮寄 + 邮寄 修改 查看物流 @@ -162,6 +162,13 @@ export default { ) }, + { + title: '合同类型', + align: 'center', + width: 100, + dataIndex: 'contractType_dictText', + scopedSlots: { customRender: 'text' } + }, { title: '邮寄联系人', align: 'center', @@ -224,15 +231,21 @@ export default { }) window.open(routerUrl.href, '_blank') }, - handleAdd(id) { + handleAdd(record) { + if (record.contractType + '' === '1') { + this.$refs.modalForm.add(record.id) + this.$refs.modalForm.title = '邮寄' + this.$refs.modalForm.disableSubmit = false + return + } let param = { - id: id + id: record.id } checkCompanyAduit(param).then(res => { if (res.success) { // 企业审核未成功不可进行邮寄操作 if (res.result.indexOf('审核未成功') === -1) { - this.$refs.modalForm.add(id) + this.$refs.modalForm.add(record.id) this.$refs.modalForm.title = '邮寄' this.$refs.modalForm.disableSubmit = false } else {