|
@@ -16,7 +16,11 @@
|
|
|
<view>
|
|
|
<text class="lable">合同编号:</text>
|
|
|
<text >{{detail.ContractCode}}</text>
|
|
|
- <van-tag color="#ECF5FF" text-color="#4A83F1" style="margin-left:5px;margin-top:2px">{{detail.ContractType}}</van-tag>
|
|
|
+ <van-tag
|
|
|
+ color="#ECF5FF"
|
|
|
+ text-color="#4A83F1"
|
|
|
+ style="margin-left:5px;margin-top:2px"
|
|
|
+ >{{detail.ContractBusinessType==='代付合同'?'代付合同':detail.ContractType}}</van-tag>
|
|
|
</view>
|
|
|
<view style="margin-bottom:0">
|
|
|
<text class="lable">合同期限:</text>
|
|
@@ -24,18 +28,28 @@
|
|
|
</view>
|
|
|
<view style="padding-left:140rpx">({{detail.StartDate|formateYear(detail.EndDate)}})</view>
|
|
|
<view>
|
|
|
- <text class="lable">合同金额:</text>
|
|
|
+ <text class="lable">{{detail.ContractBusinessType==='代付合同'?'代付金额':'合同金额'}}:</text>
|
|
|
<text style="color:#FE6B7C">{{detail.Price}}元</text>
|
|
|
</view>
|
|
|
+ <view v-if="detail.ContractBusinessType==='代付合同'">
|
|
|
+ <text class="lable">合同金额:</text>
|
|
|
+ <text style="color:#FE6B7C">{{detail.RelationContractDetailList[0].Price}}元</text>
|
|
|
+ </view>
|
|
|
<view>
|
|
|
<text class="lable">合同归属:</text>
|
|
|
<text>{{detail.ProductId===1?'FICC':'权益'}}</text>
|
|
|
</view>
|
|
|
- <view>付款方式说明:{{detail.PayRemark}}</view>
|
|
|
- <view>付款渠道:{{detail.PayChannel}}</view>
|
|
|
- <view v-if="detail.SellerRemark">备注:{{detail.SellerRemark}}</view>
|
|
|
- <view v-if="detail && detail.Status === '已驳回'">
|
|
|
- <text class="lable" style="color:#FE6B7C">驳回理由:</text>
|
|
|
+ <view class="flex">
|
|
|
+ <text style="flex-shrink: 0;">付款方式说明:</text>
|
|
|
+ <text>{{detail.PayRemark}}</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="detail.ContractBusinessType!=='代付合同'">付款方:{{detail.PayChannel}}</view>
|
|
|
+ <view v-if="detail.SellerRemark" class="flex">
|
|
|
+ <text style="flex-shrink: 0;">备注:</text>
|
|
|
+ <text>{{detail.SellerRemark}}</text>
|
|
|
+ </view>
|
|
|
+ <view v-if="detail && detail.Status === '已驳回'" class="flex">
|
|
|
+ <text class="lable" style="color:#FE6B7C;flex-shrink: 0">驳回理由:</text>
|
|
|
<text style="color:#FE6B7C">{{ detail.ApprovalRemark }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -407,6 +421,10 @@
|
|
|
this.opt=res.data.OpButton
|
|
|
this.flowNodeList=res.data.FlowNodeList
|
|
|
this.handleVariety(res.data.ContractDetail.Service)
|
|
|
+ // 代付合同时
|
|
|
+ if(res.data.ContractDetail.ContractBusinessType==='代付合同'){
|
|
|
+ this.detail.Service=res.data.ContractDetail.RelationContractDetailList[0].Service
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|
|
@@ -418,6 +436,10 @@
|
|
|
this.opt=res.data.OpButton
|
|
|
this.flowNodeList=res.data.FlowNodeList
|
|
|
this.handleVariety(res.data.ContractDetail.PermissionLookList)
|
|
|
+ // 代付合同时
|
|
|
+ if(res.data.ContractDetail.ContractBusinessType==='代付合同'){
|
|
|
+ this.detail.Service=res.data.ContractDetail.RelationContractDetailList[0].Service
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|