+
合同邮寄信息
+
查看物流
@@ -99,6 +99,10 @@ export default {
contractId: {
type: String,
default: ''
+ },
+ title: {
+ type: String,
+ default: '合同信息'
}
},
watch: {
@@ -110,7 +114,6 @@ export default {
},
data() {
return {
- title: '合同信息',
width: 800,
loading: false,
columns: [
@@ -213,24 +216,4 @@ h3.title::before {
margin: 2px 0;
}
}
-
-.wrap-table {
- border: 1px solid #ccc;
- border-bottom: none;
-}
-
-/deep/ .ant-table-thead {
- tr > th {
- color: #fff;
- background: #a2e6e4;
- border: none;
- }
-}
-
-/deep/ .ant-table-tbody {
- tr > td {
- border: none;
- border-bottom: 1px solid #ccc;
- }
-}
\ No newline at end of file
diff --git a/src/views/mineProject/MineProject.vue b/src/views/mineProject/MineProject.vue
index 6165704..983ba31 100644
--- a/src/views/mineProject/MineProject.vue
+++ b/src/views/mineProject/MineProject.vue
@@ -39,6 +39,8 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
@@ -39,6 +44,7 @@
基本信息
- {{ detail.name }}
+ {{ detail.chargeProject }}
{{ detail.principalName }}
@@ -26,13 +26,11 @@
{{ detail.contractNum }}
-
-
+
{{ detail.chargeNoticeNo }}
-
-
+
@@ -69,7 +67,50 @@
-
+
+
+
+
+
付款信息
+
{{ showPaymentInfo ? '收起' : '查看' }}
+
+
+
+
+
+ {{ item.paymentDate }}付款{{ item.amountReceived }}元
+
+
+
+
+
+
+
+
+
+
开票邮寄信息
+
{{ showMailInfo ? '收起' : '查看' }}
+
+
+
+
工作组会议
@@ -147,6 +188,55 @@ const fileColumns = [
scopedSlots: { customRender: 'action' }
}]
+const mailColumns = [
+ {
+ title: '开票人',
+ align: 'center',
+ dataIndex: 'realName'
+ },
+ {
+ title: '日期',
+ align: 'center',
+ dataIndex: 'billDate'
+ },
+ {
+ title: '金额(元)',
+ align: 'center',
+ dataIndex: 'invoiceAmount'
+ },
+ {
+ title: '票号',
+ align: 'center',
+ dataIndex: 'billNo'
+ },
+ {
+ title: '项目',
+ align: 'center',
+ dataIndex: 'projectName'
+ },
+ {
+ title: '邮寄人',
+ align: 'center',
+ dataIndex: 'mailName'
+ },
+ {
+ title: '快递',
+ align: 'center',
+ dataIndex: 'sendMethod_dictText'
+ },
+ {
+ title: '快递单号',
+ align: 'center',
+ dataIndex: 'postNo'
+ },
+ {
+ title: '操作',
+ align: 'center',
+ dataIndex: '',
+ scopedSlots: { customRender: 'action' }
+ }
+]
+
export default {
name: 'WorkTeamDetail',
components: { MeetingList, FileList, UnderStudyFilesModal, PreviewFile },
@@ -161,6 +251,12 @@ export default {
columns,
// 过程文件表头
fileColumns,
+ // 开票邮寄表头
+ mailColumns,
+ // 到账信息
+ paymentInfoList: [],
+ // 开票邮寄信息
+ logisticsInfoList: [],
dataSource: [],
/* 分页参数 */
ipagination: {
@@ -174,7 +270,11 @@ export default {
showSizeChanger: true,
total: 0
},
- loading: false
+ loading: false,
+ // 显示付款信息
+ showPaymentInfo: false,
+ // 显示邮寄信息
+ showMailInfo: false
}
},
created() {
@@ -223,10 +323,33 @@ export default {
queryCommonProjectById(param).then(res => {
if (res.success) {
this.detail = res.result
+ // 到账信息
+ this.paymentInfoList = res.result.paymentRecord
+ // 开票邮寄信息
+ this.logisticsInfoList = res.result.mailBill
} else {
this.$message.warn(res.message)
}
})
+ },
+ /**
+ * 控制付款信息显隐
+ */
+ viewPaymentInfo() {
+ this.showPaymentInfo = !this.showPaymentInfo
+ },
+ /**
+ * 控制开票邮寄信息显隐
+ */
+ viewMailInfo() {
+ this.showMailInfo = !this.showMailInfo
+ },
+ /*
+ * 查看物流
+ * */
+ lookLogistics(record) {
+ const com = Number(record.sendMethod) === 1 && 'ems' || 'shunfeng'
+ window.open(`https://www.kuaidi100.com/chaxun?com=${ com }&nu=${ record.postNo }`)
}
}
}
@@ -277,4 +400,57 @@ export default {
margin-bottom: 5px;
}
}
+
+/*可收起的标题样式*/
+.collapsible-title {
+ display: flex;
+ justify-content: space-between;
+}
+
+/* 到账信息 */
+.payment-info {
+
+ &-box {
+ border: 1px solid #ccc;
+ }
+
+ &-title {
+ text-align: center;
+ font-size: 14px;
+ height: 35px;
+ line-height: 35px;
+ letter-spacing: 1px;
+ color: #fff;
+ background: #a2e6e4;
+ }
+
+ &-content {
+ color: #424242;
+ //background: #efefef;
+ padding: 5px;
+ padding-left: 10px;
+ //border: 1px solid #ccc;
+ border-top: none;
+ }
+}
+
+/* 查看 开票邮寄信息*/
+.logistics-info {
+ position: relative;
+
+ .wrap-table.hide {
+ height: 0;
+ display: none;
+ transition: all 0.5s ease-out;
+ }
+
+ .wrap-table {
+ transition: all 0.5s ease-out;
+ }
+
+ //.ant-table.hide{
+ // height: 0;
+ // display: none;
+ //}
+}
\ No newline at end of file