Commit 6623b672 authored by youjie's avatar youjie

no message

parent 5476eb33
...@@ -1012,7 +1012,7 @@ export const obj = { ...@@ -1012,7 +1012,7 @@ export const obj = {
t1: '車/使用時間/天數', t1: '車/使用時間/天數',
t2: '用車詳情', t2: '用車詳情',
t3: '總金額', t3: '總金額',
t4: '收金額', t4: '收金額',
t5: '實收', t5: '實收',
t6: '退款', t6: '退款',
t7: '平台在途金額', t7: '平台在途金額',
......
...@@ -160,9 +160,14 @@ ...@@ -160,9 +160,14 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span><em>{{ $t('OrderList.search.orderId') }}</em>
<el-input clearable type="Number" v-model="msg.MainId" :placeholder="$t('objFill.orderid')" />
</span>
</li>
<li> <li>
<span><em>{{ $t('OrderList.search.orderId') }}</em> <span><em>{{ $t('OrderList.search.orderId') }}</em>
<el-input clearable type="Number" v-model="msg.OrderId" :placeholder="$t('objFill.v100.orderid')" /> <el-input clearable type="Number" v-model="msg.OrderId" :placeholder="$t('objFill.orderid')" />
</span> </span>
</li> </li>
<li> <li>
...@@ -238,12 +243,15 @@ export default { ...@@ -238,12 +243,15 @@ export default {
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 5, pageSize: 5,
OrderId: '0',
CustomerId: 0, CustomerId: 0,
UseSTime: "", UseSTime: "",
UseETime: "", UseETime: "",
OrderState: 0, OrderState: 0,
IsFinish: -1, IsFinish: -1,
Sort: 1,
OrderId: null,
MainId: null,
OrderTCNUM: '',
}, },
total: 0, total: 0,
currentPage: 1, currentPage: 1,
...@@ -357,7 +365,7 @@ export default { ...@@ -357,7 +365,7 @@ export default {
}, },
//获取酒店订单列表 //获取酒店订单列表
GetList() { GetList() {
if(this.msg.OrderId=='') this.msg.OrderId = 0 // if(this.msg.OrderId=='') this.msg.OrderId = 0
this.loading = true this.loading = true
let url let url
// 销售 OP // 销售 OP
...@@ -373,7 +381,8 @@ export default { ...@@ -373,7 +381,8 @@ export default {
let data = res.data.data.pageData let data = res.data.data.pageData
let addLists = function(arr){ let addLists = function(arr){
arr.forEach(x=>{ arr.forEach(x=>{
x.typeInfo = '' x.typeInfo = {}
x.paymentInfo = {}
}) })
} }
let addList = function(arr){ let addList = function(arr){
...@@ -389,10 +398,11 @@ export default { ...@@ -389,10 +398,11 @@ export default {
// addLists(data) // addLists(data)
data.forEach(k => { data.forEach(k => {
addList(k.OrderList) addList(k.OrderList)
// k.typeInfo = this.OrderStatusType.find(y => y.ID == k.OrderState) ?? this.OrderStatusType[1] k.typeInfo = this.OrderStatusType.find(y => y.ID == k.OrderState) ?? this.OrderStatusType[1]
k.paymentInfo = this.PaymentMethods.find(y => y.Id == k.PayWay) ?? this.PaymentMethods[1]
k.OrderList.forEach(item=>{ k.OrderList.forEach(item=>{
// item.typeInfo = this.OrderStatusType.find(y => y.ID == item.OrderState) ?? this.OrderStatusType[1] item.typeInfo = this.OrderStatusType.find(y => y.ID == item.OrderState) ?? this.OrderStatusType[1]
// item.paymentInfo = this.PaymentMethods.find(y => y.Id == k.PayWay) ?? this.PaymentMethods[1] item.paymentInfo = this.PaymentMethods.find(y => y.Id == k.PayWay) ?? this.PaymentMethods[1]
if(item.OrderDetailList.length>2){ if(item.OrderDetailList.length>2){
item.isMore = true item.isMore = true
} }
...@@ -409,7 +419,6 @@ export default { ...@@ -409,7 +419,6 @@ export default {
}) })
this.OrderList = data; this.OrderList = data;
console.log(data,'--------------')
this.total = res.data.data.count; this.total = res.data.data.count;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
...@@ -443,6 +452,9 @@ export default { ...@@ -443,6 +452,9 @@ export default {
if (this.$route.query.OrderId) { if (this.$route.query.OrderId) {
this.msg.OrderId = this.$route.query.OrderId this.msg.OrderId = this.$route.query.OrderId
} }
if (this.$route.query.MainId) {
this.msg.MainId = this.$route.query.MainId
}
// crm自动登陆传过来的参数 // crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){ if(this.$route.query.crmOrderObj){
let crmOrderObj = JSON.parse(this.$route.query.crmOrderObj) let crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
......
...@@ -1888,7 +1888,7 @@ ...@@ -1888,7 +1888,7 @@
} }
}); });
} }
} }
else if(this.GetDetail.OtherType == 83){ else if(this.GetDetail.OtherType == 83){
if (this.typeSystem == 1) { if (this.typeSystem == 1) {
let href = this.domainManager().CarUrl let href = this.domainManager().CarUrl
......
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