Commit fe66db0f authored by dragondean@qq.com's avatar dragondean@qq.com

订单列表状态适配运输方式

parent 54083f27
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
</el-form-item> </el-form-item>
<el-form-item :label="$t('订单状态')" prop="status"> <el-form-item :label="$t('订单状态')" prop="status">
<dict-selector :type="DICT_TYPE.ORDER_STATUS" v-model="queryParams.status" <dict-selector :type="DICT_TYPE.ORDER_STATUS" v-model="queryParams.status"
@keyup.enter.native="handleQuery" clearable /> @keyup.enter.native="handleQuery" :filter="statusDictFilter" clearable />
</el-form-item> </el-form-item>
<el-form-item :label="$t('报关方式')" prop="customsType"> <el-form-item :label="$t('报关方式')" prop="customsType">
<dict-selector :type="DICT_TYPE.ECW_CUSTOMS_TYPE" v-model="queryParams.customsType" clearable @change="handleQuery" /> <dict-selector :type="DICT_TYPE.ECW_CUSTOMS_TYPE" v-model="queryParams.customsType" clearable @change="handleQuery" />
...@@ -963,6 +963,20 @@ export default { ...@@ -963,6 +963,20 @@ export default {
printTag(order){ printTag(order){
this.printTagOrderId=order.orderId this.printTagOrderId=order.orderId
this.printTagWarehouseInNum = order.sumNum this.printTagWarehouseInNum = order.sumNum
},
// 过滤订单状态筛选字典内容
statusDictFilter(item){
console.log('statusDictFilter', item)
if(this.transportId == 3 && item.cssClass && item.cssClass != 'air'){
return false
}
if(this.transportId == 1 && item.cssClass && item.cssClass != 'sea'){
return false
}
if(this.transportId == 4 && item.cssClass && item.cssClass != 'sea-air'){
return false
}
return true
} }
} }
}; };
......
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