Commit 8755d912 authored by zhengke's avatar zhengke

修改显示

parent c3414c3a
......@@ -2021,10 +2021,12 @@
</span>
<i v-if='item.confirmFileList.length>0&&item.commissionSharePeople !== userId' @click="deleteFile(item)"
style="margin-left: 5px;" class="el-icon-error color999"></i>
<el-upload v-if='(item.confirmFileList.length==0&&item.isOwn==1)||userId==1||userId==5'
:http-request="uploadFileBtn" :multiple="false" :show-file-list="false" action="">
<el-button size="small" type="danger" @click='getItem(item)'>上传</el-button>
</el-upload>
<template v-if="item.contractNum.length==0">
<el-upload v-if='(item.confirmFileList.length==0&&item.isOwn==1)||userId==1||userId==5'
:http-request="uploadFileBtn" :multiple="false" :show-file-list="false" action="">
<el-button size="small" type="danger" @click='getItem(item)'>上传</el-button>
</el-upload>
</template>
</td>
<td class="groupTourOrderIcon">
<el-button-group v-if='item.isOwn==1 || userId==1||userId==5 || isUpdateOrder'>
......@@ -2091,7 +2093,7 @@
设置额外金额</div>
<div
v-if='item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0)'
v-if='(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0)'
@click='goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId)'>申请发票</div>
<div v-if="item.orderState=='1'||item.orderState=='2'"
@click='setChargeLoss(item)'>
......@@ -2173,6 +2175,13 @@
</span>
<div v-if="item.contractNum==''" class="GO_Contract" @click="goContract(item)" style="display:none;">领取合同</div>
<div v-else class="GO_Contract" @click="goContract(item)" style="display:none;">{{item.contractNum}}</div>
<div>
<template v-if="item.contractNum&&item.contractNum.length>0">
<span v-for="sItem in item.contractNum" class="GO_Contract" @click="goContract(item,sItem)">
{{sItem.client_Name+''+sItem.contractNum}}
</span>
</template>
</div>
</div>
</td>
......@@ -4943,11 +4952,12 @@
});
},
//跳转至领取合同
goContract(item){
goContract(item,sItem){
let routeData = this.$router.resolve({
name: 'TravelContractNew',
query: {
TCID: item.tcid,
guestId:sItem.guestId,
orderID:item.orderId,
blank: 'y'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment