diff --git a/src/views/mailManagement/BillMail.vue b/src/views/mailManagement/BillMail.vue index 48ee1a6..70a2f5d 100644 --- a/src/views/mailManagement/BillMail.vue +++ b/src/views/mailManagement/BillMail.vue @@ -14,7 +14,7 @@ - + @@ -81,12 +81,12 @@ - 打印 + 打印 邮寄 修改 - 查看物流 + 查看物流 @@ -151,7 +151,7 @@ export default { { title: '项目负责人', align: 'center', - dataIndex: 'pricipalName', + dataIndex: 'principalName', }, { title: '来款单位', @@ -195,8 +195,9 @@ export default { }, methods: { // 查看物流 - goLogistics(id) { - + goLogistics(recor + const com = Number(record.sendMethod) === 1 && 'ems' || 'shunfeng' + window.open(`https://www.kuaidi100.com/chaxun?com=${com}&nu=${record.postNo}`) }, handleAdd: function () { this.$refs.modalForm.add() diff --git a/src/views/mailManagement/ContractMail.vue b/src/views/mailManagement/ContractMail.vue index d7a77b0..aaa461b 100644 --- a/src/views/mailManagement/ContractMail.vue +++ b/src/views/mailManagement/ContractMail.vue @@ -24,7 +24,7 @@ - + @@ -65,12 +65,12 @@ - 打印 + 打印 邮寄 - 修改 - 查看物流 + 修改 + 查看物流 @@ -134,7 +134,7 @@ export default { { title: '负责人', align: 'center', - dataIndex: 'pricipalName', + dataIndex: 'principalName', }, { title: '合同总金额', @@ -178,8 +178,9 @@ export default { }, methods: { // 查看物流 - goLogistics(id) { - + goLogistics(record) { + const com = Number(record.sendMethod) === 1 && 'ems' || 'shunfeng' + window.open(`https://www.kuaidi100.com/chaxun?com=${com}&nu=${record.postNo}`) }, handleAdd: function () { this.$refs.modalForm.add()