Commit 38ae79e5 authored by youjie's avatar youjie

no message

parent f5cc51aa
......@@ -1988,6 +1988,9 @@
<img v-for="(src,index) in images" :src="src" :key="index">
</viewer>
<a id='groupTourOrder_DownLoad' target="_blank" style="display:none">1不要删除</a>
<!-- 跟团订单、当地游订单,获取订单客户签约信息 -->
<OrderReceivablesAccount v-if="isReceivablesAccount" :orderObj="orderObj"
:clientData="clientData" @ClosePopup="isReceivablesAccount=false"></OrderReceivablesAccount>
</div>
</template>
<script>
......@@ -2012,6 +2015,7 @@
import SamePayment from './components/SamePayment';
import UserCredit from './components/UserCredit';
import RollCall from './components/RollCall'
import OrderReceivablesAccount from "./components/OrderReceivablesAccount.vue";
export default {
data() {
return {
......@@ -2185,7 +2189,9 @@
LeadState: false,
huijiShow: false,
F_PayMoney_CapitalPool: false,
is_financeShow: false
is_financeShow: false,
isReceivablesAccount: false,
clientData: {}
}
},
components: {
......@@ -2208,11 +2214,29 @@
CostmonthDetails,
SamePayment,
UserCredit,
RollCall
RollCall,
OrderReceivablesAccount
},
methods: {
// 获取订单客户收款账号
getReceivablesAccount(OrderID){
this.apipost('Financial_post_GetCanActivityContractInfo', {
OrderId: OrderID
}, res => {
if (res.data.resultCode == 1) {
this.clientData = res.data.data
if(res.data.data.State==1){
this.isReceivablesAccount = true
}
}else{
this.Error(res.data.message)
}
}, err => {})
},
getCourseId(){
if(!this.AuditOrRefundMsg.CourseId){
this.AuditOrRefundMsg.PayReceiptNo = ''
this.AuditOrRefundMsg.CourseName = ''
return
}
......@@ -3572,10 +3596,11 @@
}
this.chongJudge(data)
this.GetDetail = data;
if(data.TemplateId==27&&data.Course_Name) {
if(data.TemplateId==27&&data.Course_Name&&data.OrderID>0&&data.TCIDList&&data.TCIDList.length>0) {
this.AuditOrRefundMsg.CourseName = data.Course_Name
this.AuditOrRefundMsg.CourseId = data.Course_Name=='银行卡'?1:12
this.AuditOrRefundMsg.PayReceiptNo = data.PayReceipt_No
this.getReceivablesAccount(this.GetDetail.OrderID)
}
let list = this.GetDetail.AuditSteps.filter(x => x.NextStep === 1);
if (list.length) {
......
......@@ -979,8 +979,8 @@
// 客户平台名称
getCourseId(){
this.msg.PayReceipt_No = ''
if(!this.msg.CourseId){
this.msg.PayReceipt_No = ''
this.msg.Course_Name = ''
return
}
......
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