Commit 693d6a1a authored by youjie's avatar youjie

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

parent 1624f2c2
...@@ -1525,6 +1525,9 @@ ...@@ -1525,6 +1525,9 @@
</template> </template>
</el-dialog> </el-dialog>
<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"
:clientData="clientData" @ClosePopup="isReceivablesAccount=false"></OrderReceivablesAccount>
</div> </div>
</template> </template>
<script> <script>
...@@ -1551,7 +1554,8 @@ ...@@ -1551,7 +1554,8 @@
import CostmonthDetails from './components/CostmonthDetails'; import CostmonthDetails from './components/CostmonthDetails';
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 {
...@@ -1634,6 +1638,8 @@ ...@@ -1634,6 +1638,8 @@
showModel: false, showModel: false,
CostTypeState: false, CostTypeState: false,
huijiShow: false, huijiShow: false,
clientData: {},
isReceivablesAccount: false,
} }
}, },
components: { components: {
...@@ -1659,7 +1665,8 @@ ...@@ -1659,7 +1665,8 @@
CostmonthDetails, CostmonthDetails,
SamePayment, SamePayment,
UserCredit, UserCredit,
RollCall RollCall,
OrderReceivablesAccount
}, },
created() { created() {
// // crm自动登陆传过来的参数 // // crm自动登陆传过来的参数
...@@ -1683,6 +1690,23 @@ ...@@ -1683,6 +1690,23 @@
} }
}, },
methods: { 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) { getTemplate(GetDetail) {
let arr = GetDetail.CostMonthTemplate && GetDetail.CostMonthTemplate.split(',') let arr = GetDetail.CostMonthTemplate && GetDetail.CostMonthTemplate.split(',')
let status = false let status = false
...@@ -2631,7 +2655,12 @@ ...@@ -2631,7 +2655,12 @@
} }
this.chongJudge(data) this.chongJudge(data)
this.GetDetail = 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) { if (this.GetDetail.DetailList) {
this.GetDetail.DetailList.forEach(item => { this.GetDetail.DetailList.forEach(item => {
if (item.CostTypeName == "领队导游资金池领款") { if (item.CostTypeName == "领队导游资金池领款") {
......
...@@ -500,7 +500,7 @@ ...@@ -500,7 +500,7 @@
<div class="divActive" v-show="msg.CustomerStatus==4"></div> <div class="divActive" v-show="msg.CustomerStatus==4"></div>
</li> </li>
<li :class="{active:msg.CustomerStatus==0}" @click="clickGetList(0)"> <li :class="{active:msg.CustomerStatus==0}" @click="clickGetList(0)">
签约客户 月结客户
<div class="divActive" v-show="msg.CustomerStatus==0"></div> <div class="divActive" v-show="msg.CustomerStatus==0"></div>
</li> </li>
</div> </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