Commit 38ae79e5 authored by youjie's avatar youjie

no message

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