Commit a144c31f authored by youjie's avatar youjie

车行订单

parent 35e705ec
......@@ -288,6 +288,13 @@ export default {
this.CustomerList = res.data.data;
}
}, err => {})
this.apipost('JapanCar_get_GetJapanCarPayWay', {
keyWord: ''
}, res => {
if(res.data.resultCode == 1) {
this.PaymentMethods = res.data.data;
}
}, err => {})
},
getEmployee() { //员工
let userInfo=this.getLocalStorage();
......@@ -380,6 +387,7 @@ export default {
addList(data)
data.forEach(item => {
item.typeInfo = this.OrderStatusType.find(y => y.ID == item.OrderState) ?? this.OrderStatusType[1]
item.paymentInfo = this.PaymentMethods.find(y => y.Id == item.PayWay) ?? this.PaymentMethods[1]
if(item.OrderDetailList.length>2){
item.isMore = true
}
......@@ -419,6 +427,11 @@ export default {
},
},
created() {
if(this.$route.query&&this.$route.query.tradeObj){
let datas = this.$route.query
let tradeObj = JSON.parse(datas.tradeObj)
this.msg.OrderId = tradeObj.ReFinanceId
}
if (this.$route.query.OrderId) {
this.msg.OrderId = this.$route.query.OrderId
}
......
......@@ -1521,9 +1521,7 @@ export default {
window.onresize = () => {
this.com_onresize();
};
if(this.$route.query.cdState=='true'){
this.addBalanceout()
}
}
};
......
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