Commit fb4a3597 authored by youjie's avatar youjie

crm 赔偿

parent 8f2fc75d
......@@ -748,7 +748,7 @@
</el-select>
</span>
</p>
<p v-if="StoredCustomerList&&StoredCustomerList.length" style="margin-left: 15px;">{{$t('objFill.yushoudiyong')}}:<span>
......@@ -767,7 +767,7 @@
<el-checkbox v-model="KingdeeClientIDCheck" @change="changeKingdeeClientID" :style="{'margin-top':KingdeeClientIDCheck?'0px':'6px'}">垫付对象</el-checkbox>
</el-tooltip>
<template v-if="KingdeeClientIDCheck">
<el-select
<el-select
v-model="msg.KingdeeClientID" class="w135 _border_b_1"
filterable
remote
......@@ -787,7 +787,7 @@
</span>
</div>
</el-option>
</el-select></template>
</span>
</p>
......@@ -811,7 +811,7 @@
</div>
<!-- <p v-if="GetDetail.OrderSource==4&&GetDetail.SourceID>0" @click="jumpPage('FinancialOrder',GetDetail.SourceID,4)" class="_jump_page _font_bold">机票收支</p> -->
</template>
<template v-if="isHandFee">
<template v-if="isHandFee">
<el-tooltip :content="$t('objFill.peizhishoupeifei')" placement="top">
<el-switch v-model="is_HandFee" @change="getHandFee" >
</el-switch>
......@@ -926,7 +926,7 @@
<div>
<div v-if="IsUploadPic===1">
<p>{{$t('fnc.scfujian')}}<span class="_addUpload_tips">{{$t('tips.wjdxbncgsz')}}</span></p>
<div class="_addUpload_box clearfix">
<template v-for="(file,fIndex) in saveMsg">
<div v-if="file.Type==3">
......@@ -961,7 +961,7 @@
<div v-if="$route.query.Type==2||msg.Type==2">
<p>{{$t('objFill.shangchuanfapiaofj')}}<span class="_addUpload_tips">{{$t('tips.wjdxbncgsz')}}</span><span class="_addUpload_tips" style="color:red;">{{$t('objFill.fapiaofujiants')}}</span></p>
<div class="_addUpload_box clearfix">
<template v-for="(file,fIndex) in saveMsgInvoice">
<div v-if="file.Type==3">
......@@ -2446,9 +2446,10 @@
if (this.orderObj && this.orderObj.companyIDList && this.orderObj.companyIDList.length > 0) {
this.msg.RB_Branch_Id = this.orderObj.companyIDList[0];
} else if (this.orderObj && (this.orderObj.RB_Branch_Id != '' && this.orderObj.RB_Branch_Id != null &&
this.orderObj.RB_Branch_Id != undefined)) {
this.msg.RB_Branch_Id = this.orderObj.RB_Branch_Id
} else if ((this.orderObj && (this.orderObj.RB_Branch_Id != '' && this.orderObj.RB_Branch_Id != null &&
this.orderObj.RB_Branch_Id != undefined))||(this.crmOrderObj && (this.crmOrderObj.RB_Branch_Id != '' && this.crmOrderObj.RB_Branch_Id != null &&
this.crmOrderObj.RB_Branch_Id != undefined))) {
this.msg.RB_Branch_Id = this.orderObj&&this.orderObj.RB_Branch_Id>=0?this.orderObj.RB_Branch_Id:this.crmOrderObj.RB_Branch_Id
} else if (this.$route.query.companyID) {
this.msg.RB_Branch_Id = parseInt(this.$route.query.companyID);
}
......@@ -2730,15 +2731,16 @@
if (x.Id == y) {
x.disabled = false;
if (num < 1 && !this.$route.query.edit) {
if (this.orderObj && this.orderObj.RB_Branch_Id) {
this.msg.RB_Branch_Id = this.orderObj.RB_Branch_Id
} else {
if ((this.orderObj && this.orderObj.RB_Branch_Id)||(this.crmOrderObj && this.crmOrderObj.RB_Branch_Id)) {
this.msg.RB_Branch_Id = this.orderObj&&this.orderObj.RB_Branch_Id>=0?this.orderObj.RB_Branch_Id:this.crmOrderObj.RB_Branch_Id
}else {
this.msg.RB_Branch_Id = x.Id
}
}
if (Id === x.Id && !this.$route.query.edit) {
if (this.orderObj && this.orderObj.RB_Branch_Id) {
this.msg.RB_Branch_Id = this.orderObj.RB_Branch_Id
if ((this.orderObj && this.orderObj.RB_Branch_Id)||(this.crmOrderObj && this.crmOrderObj.RB_Branch_Id)) {
this.msg.RB_Branch_Id = this.orderObj&&this.orderObj.RB_Branch_Id>=0?this.orderObj.RB_Branch_Id:this.crmOrderObj.RB_Branch_Id
} else {
this.msg.RB_Branch_Id = x.Id
}
......@@ -2871,6 +2873,7 @@
// crm自动登陆传过来的参数
if (this.$route.query.crmOrderObj) {
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj);
if(this.crmOrderObj.id>=0)this.msg.TemplateId = this.crmOrderObj.id;
} else if (this.$route.query.commissionObj) { //印象提成参数
this.commissionObj = JSON.parse(this.$route.query.commissionObj);
} else if (this.$route.query.tradeObj) { //同业参数
......@@ -2950,9 +2953,10 @@
this.msg.HelpBranchId=1218;
}
if (this.orderObj && this.orderObj.RB_Branch_Id != '' && this.orderObj.RB_Branch_Id != null && this.orderObj
.RB_Branch_Id != undefined) {
this.RB_Branch_id = this.departmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id = this.orderObj.RB_Branch_Id;
if ((this.orderObj && this.orderObj.RB_Branch_Id != '' && this.orderObj.RB_Branch_Id != null && this.orderObj
.RB_Branch_Id != undefined)||(this.crmOrderObj && this.crmOrderObj.RB_Branch_Id != '' && this.crmOrderObj.RB_Branch_Id != null && this.crmOrderObj
.RB_Branch_Id != undefined)) {
this.RB_Branch_id = this.departmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id = this.orderObj&&this.orderObj.RB_Branch_Id>=0?this.orderObj.RB_Branch_Id:this.crmOrderObj.RB_Branch_Id;
} else {
this.RB_Branch_id = this.departmentMsg.RB_Branch_Id = this.msg.RB_Branch_Id = userInfo.RB_Branch_id;
}
......@@ -2980,15 +2984,15 @@
this.czmsgState = true;
}
}
this.msg.TemplateId = this.$route.query.id;
if (this.$route.query.id == 90 || this.$route.query.id == 91) {
if(this.$route.query.id>=0)this.msg.TemplateId = this.$route.query.id;
if (this.msg.TemplateId == 90 || this.msg.TemplateId == 91) {
this.msg.IsPublic = 10;
}
this.Financial_post_GetCostTypeList(this.$route.query.id);
this.Financial_post_GetCostTypeList(this.msg.TemplateId);
this.BillName = userInfo.GroupName;
this.BillSonName = this.$route.query.Name;
this.FinancialFlowTemplate_post_GetProcessList(this.$route.query.id);
this.Financial_post_Get(0, parseInt(this.$route.query.id));
this.FinancialFlowTemplate_post_GetProcessList(this.msg.TemplateId);
this.Financial_post_Get(0, parseInt(this.msg.TemplateId));
}
if (this.$route.query.Conditon) {
this.returnCode = this.$route.query.Conditon;
......
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