Commit 7b26aca7 authored by youjie's avatar youjie

车产品类型

parent 4adf3ef3
......@@ -837,6 +837,15 @@
</el-table-column>
<el-table-column :label="$t('objFill.caravanshopcol.t1')" min-width="180" style="background: #eaeaea">
<template slot-scope="scope">
<div v-if="scope.row.ProductTypeName">{{ scope.row.ProductTypeName }}</div>
<div class="row wrap" v-if="scope.row.CostIncludesName.length > 0">
<span class="mr">
{{ $t('sm.feiyongbaohan') }}:
</span>
<template v-if="scope.row.CostIncludesName&&scope.row.CostIncludesName.length > 0">
<el-tag size="mini" v-for="(x,costIndex) in scope.row.CostIncludesName" :key="costIndex" class="mr">{{ x }}</el-tag>
</template>
</div>
<div v-if="scope.row.CarModel">
{{ scope.row.CarModel.CarName + "/" + scope.row.CarModel.CarNo }}
</div>
......
......@@ -169,6 +169,16 @@
</el-select>
</span>
</li>
<li>
<span>
<em>{{ $t('objFill.chanpinglx') }}</em>
<el-select v-model="msg.ProductType" @change="handleCurrentChange(1)"
filterable>
<el-option :key="0" :value="0" :label="$t('OrderList.orderStatus.normal')"></el-option>
<el-option v-for="item in ProductTypeList" :key="item.Id" :label="item.Name" :value="item.Id"></el-option>
</el-select>
</span>
</li>
<li>
<span><em>{{$t('Operation.Op_zhu')}}{{ $t('OrderList.search.orderId') }}</em>
<el-input clearable type="Number" v-model="msg.MainId" :placeholder="$t('objFill.orderid')"
......@@ -279,6 +289,7 @@ export default {
MainId: null,
OrderTCNUM: '',
TCNUM: '',
ProductType: 0,
},
total: 0,
currentPage: 1,
......@@ -300,6 +311,7 @@ export default {
PostId:0,
IsLeave:0,
},
ProductTypeList: [],
};
},
watch: {
......@@ -334,6 +346,13 @@ export default {
}
}, err => {})
},
GetCarProductTypeEnumList() {
this.apipost('JapanCar_get_GetCarProductTypeEnumList', {}, res => {
if(res.data.resultCode == 1) {
this.ProductTypeList = res.data.data;
}
}, err => {})
},
getDatesUse() {
if(this.DatelistUse){
if (this.DatelistUse[0]) {
......@@ -516,6 +535,7 @@ export default {
this.GetList();
this.initHotels();//酒店名称下拉
this.GetCarProductTypeEnumList()
//自适应高度调节
this.com_onresize();
window.onresize = () => {
......
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