Commit 4445300a authored by 黄奎's avatar 黄奎

页面修改

parent 3d8b8ddf
...@@ -2169,9 +2169,8 @@ ...@@ -2169,9 +2169,8 @@
item.contractNum.length == 0 && item.contractNum.length == 0 &&
(qjGroupId == userInfo.RB_Group_id || F_ContractManagement) (qjGroupId == userInfo.RB_Group_id || F_ContractManagement)
"> ">
<span class="GO_Contract" @click="goContract(item, {})">{{ <span class="GO_Contract" @click="goContract(item, {})">出境合同</span>
$t("salesModule.GetContract") <span class="GO_Contract" @click="goSingleContract(item)">单项合同</span>
}}</span>
</div> </div>
<div v-else> <div v-else>
<template v-if="item.contractNum && item.contractNum.length > 0"> <template v-if="item.contractNum && item.contractNum.length > 0">
...@@ -2931,6 +2930,14 @@ ...@@ -2931,6 +2930,14 @@
}, },
}); });
}, },
//跳转单单项合同
goSingleContract(item) {
let query = {
TCID: item.tcid,
orderID: item.orderId,
}
this.OpenNewPage('/ContractManage', query)
},
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let cid = 0; let cid = 0;
......
...@@ -2381,7 +2381,11 @@ ...@@ -2381,7 +2381,11 @@
<!--&&item==userId--> <!--&&item==userId-->
<div v-if="item.contractNum && item.contractNum.length==0 &&item.isOwn==1" class="GO_Contract" <div v-if="item.contractNum && item.contractNum.length==0 &&item.isOwn==1" class="GO_Contract"
@click="goContract(item,{})"> @click="goContract(item,{})">
领取合同 出境合同
</div>
<div v-if="item.contractNum && item.contractNum.length==0 &&item.isOwn==1" class="GO_Contract"
@click="goSingleContract(item)">
单项合同
</div> </div>
<div> <div>
<template v-if="item.contractNum && item.contractNum.length > 0"> <template v-if="item.contractNum && item.contractNum.length > 0">
...@@ -5583,6 +5587,14 @@ ...@@ -5583,6 +5587,14 @@
}, },
}); });
}, },
//跳转单单项合同
goSingleContract(item) {
let query = {
TCID: item.tcid,
orderID: item.orderId,
}
this.OpenNewPage('/ContractManage', query)
},
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let guestId = 0; let guestId = 0;
......
...@@ -1689,9 +1689,12 @@ ...@@ -1689,9 +1689,12 @@
<span v-if="item.tipMoney" style="color:red">({{$t('fnc.xiaofei')}}:{{item.tipMoney}})</span> <span v-if="item.tipMoney" style="color:red">({{$t('fnc.xiaofei')}}:{{item.tipMoney}})</span>
<div v-if=" item.contractNum.length == 0"> <div v-if=" item.contractNum.length == 0">
<span class="GO_Contract" style="color:blue;cursor:pointer;" @click="goContract(item, {})">{{ <span class="GO_Contract" style="color:blue;cursor:pointer;" @click="goContract(item, {})">
$t("salesModule.GetContract") 出境合同
}}</span> </span>
<span class="GO_Contract" style="color:blue;cursor:pointer;" @click="goSingleContract(item)">
单项合同
</span>
</div> </div>
<div v-else> <div v-else>
<template v-if="item.contractNum && item.contractNum.length > 0"> <template v-if="item.contractNum && item.contractNum.length > 0">
...@@ -2280,6 +2283,14 @@ ...@@ -2280,6 +2283,14 @@
this.isShowLayerRemarks = false; this.isShowLayerRemarks = false;
this.getList(); this.getList();
}, },
//跳转单单项合同
goSingleContract(item) {
let query = {
TCID: item.tcid,
orderID: item.orderId,
}
this.OpenNewPage('/ContractManage', query)
},
//跳转至领取合同 //跳转至领取合同
goContract(item, sItem) { goContract(item, sItem) {
let guestId = 0; let guestId = 0;
......
...@@ -6406,7 +6406,7 @@ ...@@ -6406,7 +6406,7 @@
}, },
}); });
}, },
//跳转至领取合同 //跳转到合同详情
goContract(item, sItem) { goContract(item, sItem) {
var guestId = 0; var guestId = 0;
if (sItem && sItem.GuestId) { if (sItem && sItem.GuestId) {
......
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