Commit 693d6a1a authored by youjie's avatar youjie

单据详情 获取订单客户签约信息

parent 1624f2c2
......@@ -1525,6 +1525,9 @@
</template>
</el-dialog>
<a id='groupTourOrder_DownLoad' target="_blank" style="display:none">1不要删除</a>
<!-- 跟团订单、当地游订单,获取订单客户签约信息 -->
<OrderReceivablesAccount v-if="isReceivablesAccount"
:clientData="clientData" @ClosePopup="isReceivablesAccount=false"></OrderReceivablesAccount>
</div>
</template>
<script>
......@@ -1551,7 +1554,8 @@
import CostmonthDetails from './components/CostmonthDetails';
import SamePayment from './components/SamePayment';
import UserCredit from './components/UserCredit';
import RollCall from './components/RollCall'
import RollCall from './components/RollCall';
import OrderReceivablesAccount from "./components/OrderReceivablesAccount.vue";
export default {
data() {
return {
......@@ -1634,6 +1638,8 @@
showModel: false,
CostTypeState: false,
huijiShow: false,
clientData: {},
isReceivablesAccount: false,
}
},
components: {
......@@ -1659,7 +1665,8 @@
CostmonthDetails,
SamePayment,
UserCredit,
RollCall
RollCall,
OrderReceivablesAccount
},
created() {
// // crm自动登陆传过来的参数
......@@ -1683,6 +1690,23 @@
}
},
methods: {
// 获取订单客户收款账号
getReceivablesAccount(OrderID){
this.apipost('Financial_post_GetCanActivityContractInfo', {
OrderId: OrderID
}, res => {
console.log(res.data,'===11')
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 => {})
},
getTemplate(GetDetail) {
let arr = GetDetail.CostMonthTemplate && GetDetail.CostMonthTemplate.split(',')
let status = false
......@@ -2631,7 +2655,12 @@
}
this.chongJudge(data)
this.GetDetail = data;
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)
}
if (this.GetDetail.DetailList) {
this.GetDetail.DetailList.forEach(item => {
if (item.CostTypeName == "领队导游资金池领款") {
......
......@@ -500,7 +500,7 @@
<div class="divActive" v-show="msg.CustomerStatus==4"></div>
</li>
<li :class="{active:msg.CustomerStatus==0}" @click="clickGetList(0)">
签约客户
月结客户
<div class="divActive" v-show="msg.CustomerStatus==0"></div>
</li>
</div>
......
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