Commit e7710c73 authored by youjie's avatar youjie

车行财务单据详情

parent c0953915
...@@ -825,8 +825,10 @@ ...@@ -825,8 +825,10 @@
</div> </div>
<div class="_conten"> <div class="_conten">
<!-- 付款单据详情 -->
<my-Bill v-if="GetDetail.Type===2 && GetDetail.Type!==5" :isPrintPage="false" :ID="GetDetail.FrID" <my-Bill v-if="GetDetail.Type===2 && GetDetail.Type!==5" :isPrintPage="false" :ID="GetDetail.FrID"
:width="widthSon" :color="colorSon"></my-Bill> :width="widthSon" :color="colorSon"></my-Bill>
<!-- 收款单据详情 -->
<my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" <my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon"
:color="colorSon"></my-RVB-Bill> :color="colorSon"></my-RVB-Bill>
<my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"> <my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon">
...@@ -926,6 +928,9 @@ ...@@ -926,6 +928,9 @@
<div v-if="GetDetail.OtherType==67||GetDetail.OtherType==68" class="illustrate-right fygsbumen-box-right" <div v-if="GetDetail.OtherType==67||GetDetail.OtherType==68" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails(isOrderOP?'CharterOrderListOP':'CharterOrderList')"> @click="ImpressionSingleDetails(isOrderOP?'CharterOrderListOP':'CharterOrderList')">
{{'单项车订单:'+GetDetail.ReFinanceId}}</div> {{'单项车订单:'+GetDetail.ReFinanceId}}</div>
<div v-if="GetDetail.OtherType==80" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleDetails(isOrderOP?'CarDealerOrderListOP':'CarDealerOrderList')">
{{'车行订单:'+GetDetail.ReFinanceId}}</div>
<!-- <div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right" <!-- <div v-if="GetDetail.OtherType==63" class="illustrate-right fygsbumen-box-right"
@click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{'单项销售提成详情'}}</div> @click="ImpressionSingleCommissionDetails('ServiceCommissiondetails',1)">{{'单项销售提成详情'}}</div>
<div v-if="GetDetail.OtherType==64" class="illustrate-right fygsbumen-box-right" <div v-if="GetDetail.OtherType==64" class="illustrate-right fygsbumen-box-right"
...@@ -1668,7 +1673,8 @@ ...@@ -1668,7 +1673,8 @@
isReceivablesAccount: false, isReceivablesAccount: false,
isClientBankAccount:false, isClientBankAccount:false,
ClientBankAccountTop:0, ClientBankAccountTop:0,
ActionMenuCode: '' ActionMenuCode: '',
typeSystem: 0,
} }
}, },
components: { components: {
...@@ -1833,15 +1839,36 @@ ...@@ -1833,15 +1839,36 @@
67) { 67) {
this.GetCarList(path) this.GetCarList(path)
} else { } else {
this.$router.push({ if(this.GetDetail.OtherType == 80){
path: path, if(this.typeSystem>0){
query: { let href = this.domainManager().CarUrl
OrderType: this.GetDetail.RelevanceFrId == null || !this.GetDetail.RelevanceFrId ? 4 : this.GetDetail window.parent.postMessage({
.RelevanceFrId, //1接机 2送机 3包车 event_id: 'CarDealerOrder',
OrderId: this.GetDetail.ReFinanceId, data: {
blank: 'y' OrderId: this.GetDetail.ReFinanceId,
}}, `${href}`)
}else{
return
this.$router.push({
path: path,
query: {
OrderId: this.GetDetail.ReFinanceId,
blank: 'y'
}
});
} }
}); }else{
this.$router.push({
path: path,
query: {
OrderType: this.GetDetail.RelevanceFrId == null || !this.GetDetail.RelevanceFrId ? 4 : this.GetDetail
.RelevanceFrId, //1接机 2送机 3包车
OrderId: this.GetDetail.ReFinanceId,
blank: 'y'
}
});
}
} }
}, },
...@@ -2834,6 +2861,14 @@ ...@@ -2834,6 +2861,14 @@
} }
}, },
mounted() { mounted() {
if(localStorage.crmuserInfo){
let crmuserInfo = JSON.parse(localStorage.crmuserInfo)
if(crmuserInfo
&&crmuserInfo.parameter
&&crmuserInfo.parameter.typeSystem) {
this.typeSystem = crmuserInfo.parameter.typeSystem
}
}
// document.onkeydown = this.KeyDown // document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp // document.onkeyup = this.KeyUp
// document.oncontextmenu = function(){return false;} // document.oncontextmenu = function(){return false;}
......
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