Commit d579bde6 authored by yujinyao's avatar yujinyao

订单搜索条件优化

parent 0c73ae7b
...@@ -4690,6 +4690,8 @@ ...@@ -4690,6 +4690,8 @@
"财务资料": "Finance Information", "财务资料": "Finance Information",
"特殊设置": "Special setting", "特殊设置": "Special setting",
"已卸柜/已到仓时间": "Unloaded/arrived Time", "已卸柜/已到仓时间": "Unloaded/arrived Time",
"动态": "Dynamics",
"增值服务": "Added services",
"开启会员积分系统":"Enable member points system", "开启会员积分系统":"Enable member points system",
"是否确认{val}会员积分系统":"Confirm whether to {val} the member points system" "是否确认{val}会员积分系统":"Confirm whether to {val} the member points system"
} }
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
ref="queryForm" ref="queryForm"
size="small" size="small"
:inline="true" :inline="true"
v-show="showSearch"
> >
<el-form-item :label="$t('编号')" prop="orderNo"> <el-form-item :label="$t('编号')" prop="orderNo">
<el-input <el-input
...@@ -29,22 +28,22 @@ ...@@ -29,22 +28,22 @@
<el-input v-model="queryParams.marks" :placeholder="$t('唛头')" clearable @keyup.enter.native="handleQuery" /> <el-input v-model="queryParams.marks" :placeholder="$t('唛头')" clearable @keyup.enter.native="handleQuery" />
</el-form-item> --> </el-form-item> -->
<el-form-item :label="$t('发货人')" prop="consignorKey"> <el-form-item :label="$t('发货人')" prop="consignorKey" v-show="showSearch">
<el-input <el-input
v-model="queryParams.consignorKey" v-model="queryParams.consignorKey"
:placeholder="$t('发货人')" :placeholder="$t('发货人')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
onkeyup="this.value=this.value.replace(/\s+/g, '')" onkeyup="this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('收货人')" prop="consigneeKey"> <el-form-item :label="$t('收货人')" prop="consigneeKey" v-show="showSearch">
<el-input <el-input
v-model="queryParams.consigneeKey" v-model="queryParams.consigneeKey"
:placeholder="$t('收货人')" :placeholder="$t('收货人')"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
onkeyup="this.value=this.value.replace(/\s+/g, '')" onkeyup="this.value=this.value.replace(/(^\s*)|(\s*$)/g,'')"
/> />
</el-form-item> </el-form-item>
<el-form-item label=""> <el-form-item label="">
...@@ -102,12 +101,11 @@ ...@@ -102,12 +101,11 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('目的城市')" prop="objectiveId"> <el-form-item :label="$t('目的城市')" prop="objectiveId">
<el-select <el-select
v-model="objectiveId" v-model="objectiveId"
multiple multiple
:placeholder="$t('请根据目的国选择目的城市')" :placeholder="$t('请选择目的城市')"
style="width: 200px" style="width: 200px"
clearable clearable
@change="handleQuery" @change="handleQuery"
...@@ -120,12 +118,11 @@ ...@@ -120,12 +118,11 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('目的仓')" prop="destWarehouseId"> <el-form-item :label="$t('目的仓')" prop="destWarehouseId">
<el-select <el-select
v-model="destWarehouseId" v-model="destWarehouseId"
multiple multiple
:placeholder="$t('请根据目的城市选择目的仓')" :placeholder="$t('请选择目的仓')"
style="width: 200px" style="width: 200px"
clearable clearable
@change="handleQuery" @change="handleQuery"
...@@ -153,10 +150,11 @@ ...@@ -153,10 +150,11 @@
/> />
</el-form-item> </el-form-item>
<!-- <el-form-item :label="$t('商品分类')" prop="goodsType"> <el-form-item :label="$t('商品类型')" prop="goodsType" v-show="showSearch">
<selector v-model="queryParams.goodsType" :options="productAttrList" label-field="attrName" value-field="id"> <selector v-model="queryParams.goodsType" :options="productAttrList" label-field="attrName" value-field="id">
</selector> </selector>
</el-form-item> </el-form-item>
<!--
<el-form-item :label="$t('品名')" prop="prodId"> <el-form-item :label="$t('品名')" prop="prodId">
<product-selector v-model="queryParams.prodId" @keyup.enter.native="handleQuery" /> <product-selector v-model="queryParams.prodId" @keyup.enter.native="handleQuery" />
</el-form-item> </el-form-item>
...@@ -165,7 +163,7 @@ ...@@ -165,7 +163,7 @@
@keyup.enter.native="handleQuery" /> @keyup.enter.native="handleQuery" />
</el-form-item> --> </el-form-item> -->
<el-form-item :label="$t('商品')" prop="tidanNo"> <el-form-item :label="$t('商品')" prop="tidanNo" v-show="showSearch">
<el-input <el-input
v-model.trim="prodParam.value" v-model.trim="prodParam.value"
:placeholder="$t('请输入商品类型、品名或品牌')" :placeholder="$t('请输入商品类型、品名或品牌')"
...@@ -184,7 +182,7 @@ ...@@ -184,7 +182,7 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('控货')" prop="isCargoControl"> <el-form-item :label="$t('控货')" prop="isCargoControl" v-show="showSearch">
<dict-selector <dict-selector
v-model="queryParams.isCargoControl" v-model="queryParams.isCargoControl"
:type="DICT_TYPE.INFRA_BOOLEAN_STRING" :type="DICT_TYPE.INFRA_BOOLEAN_STRING"
...@@ -193,7 +191,7 @@ ...@@ -193,7 +191,7 @@
@change="handleQuery" @change="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('入仓类型')" prop="warehouseType"> <el-form-item :label="$t('入仓类型')" prop="warehouseType" v-show="showSearch">
<dict-selector <dict-selector
:type="DICT_TYPE.ECW_WAREHOUSING_TYPE" :type="DICT_TYPE.ECW_WAREHOUSING_TYPE"
v-model="queryParams.warehouseTypes" v-model="queryParams.warehouseTypes"
...@@ -205,13 +203,14 @@ ...@@ -205,13 +203,14 @@
<el-form-item :label="$t('客户经理')"> <el-form-item :label="$t('客户经理')">
<user-selector <user-selector
manage manage
v-model="queryParams.salesmanId" v-model="queryParams.salesmanIds"
multiple
clearable clearable
@change="handleQuery" @change="handleQuery"
:prepend="{ id: 0, nickname: $t('未分配客户经理') }" :prepend="{ id: 0, nickname: $t('未分配客户经理') }"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('订单状态')" prop="statusList"> <el-form-item :label="$t('态')" prop="statusList">
<dict-selector <dict-selector
:type="DICT_TYPE.ORDER_STATUS" :type="DICT_TYPE.ORDER_STATUS"
multiple multiple
...@@ -222,7 +221,7 @@ ...@@ -222,7 +221,7 @@
@change="handleQuery" @change="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('报关方式')" prop="customsTypes"> <el-form-item :label="$t('报关方式')" prop="customsTypes" v-show="showSearch">
<dict-selector <dict-selector
:type="DICT_TYPE.ECW_CUSTOMS_TYPE" :type="DICT_TYPE.ECW_CUSTOMS_TYPE"
multiple multiple
...@@ -231,7 +230,7 @@ ...@@ -231,7 +230,7 @@
@change="handleQuery" @change="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('是否齐货')"> <el-form-item :label="$t('是否齐货')" v-show="showSearch">
<!--//字段存疑--> <!--//字段存疑-->
<dict-selector <dict-selector
v-model="queryParams.isNeat" v-model="queryParams.isNeat"
...@@ -248,16 +247,16 @@ ...@@ -248,16 +247,16 @@
<el-input style="width: 100px;" v-model="denominator" placeholder="" clearable @change="denominatorChange" <el-input style="width: 100px;" v-model="denominator" placeholder="" clearable @change="denominatorChange"
@keyup.enter.native="handleQuery" /> @keyup.enter.native="handleQuery" />
</el-form-item> --> </el-form-item> -->
<el-form-item :label="$t('备案属性')" prop="productRecord"> <el-form-item :label="$t('备案属性')" prop="productRecords" v-show="showSearch">
<dict-selector <dict-selector
:type="DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE" :type="DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
multiple multiple
v-model="queryParams.productRecord" v-model="queryParams.productRecords"
clearable clearable
@change="handleQuery" @change="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('快递单号')" prop="number"> <el-form-item :label="$t('快递单号')" prop="number" v-show="showSearch">
<el-input <el-input
v-model="queryParams.number" v-model="queryParams.number"
:placeholder="$t('快递单号')" :placeholder="$t('快递单号')"
...@@ -266,7 +265,7 @@ ...@@ -266,7 +265,7 @@
onkeyup="this.value=this.value.replace(/\s+/g, '')" onkeyup="this.value=this.value.replace(/\s+/g, '')"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('外部仓')" prop="number"> <el-form-item :label="$t('外部仓')" prop="number" v-show="showSearch">
<el-select <el-select
v-model="queryParams.isExternalWarehouse" v-model="queryParams.isExternalWarehouse"
multiple multiple
...@@ -279,7 +278,7 @@ ...@@ -279,7 +278,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('异常状态')" prop="abnormalStateList"> <el-form-item :label="$t('异常状态')" prop="abnormalStateList" v-show="showSearch">
<dict-selector <dict-selector
:type="DICT_TYPE.ORDER_ABNORMAL_STATE" :type="DICT_TYPE.ORDER_ABNORMAL_STATE"
multiple multiple
...@@ -289,7 +288,7 @@ ...@@ -289,7 +288,7 @@
@change="handleQuery" @change="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('审核状态')" prop="auditTypeList"> <el-form-item :label="$t('审核状态')" prop="auditTypeList" v-show="showSearch">
<dict-selector <dict-selector
:type="DICT_TYPE.ECW_ORDER_APPROVAL_TYPE" :type="DICT_TYPE.ECW_ORDER_APPROVAL_TYPE"
multiple multiple
...@@ -299,9 +298,9 @@ ...@@ -299,9 +298,9 @@
@change="handleQuery" @change="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item :label="$t('订单类型')" prop="number"> <el-form-item :label="$t('增值服务')" prop="number">
<el-select <el-select
v-model="queryParams.type" v-model="queryParams.types"
multiple multiple
:placeholder="$t('请选择')" :placeholder="$t('请选择')"
clearable clearable
...@@ -315,7 +314,7 @@ ...@@ -315,7 +314,7 @@
<!--空运多一个出货渠道筛选--> <!--空运多一个出货渠道筛选-->
<el-form-item <el-form-item
:label="$t('出货渠道')" :label="$t('出货渠道')"
prop="channelId" prop="channelIds"
v-if="channelList.length" v-if="channelList.length"
> >
<selector <selector
...@@ -323,10 +322,10 @@ ...@@ -323,10 +322,10 @@
:options="channelList" :options="channelList"
:label-field="$l('name')" :label-field="$l('name')"
value-field="channelId" value-field="channelId"
v-model="queryParams.channelId" v-model="queryParams.channelIds"
></selector> ></selector>
</el-form-item> </el-form-item>
<el-form-item :label="$t('特需')" prop="packageType"> <el-form-item :label="$t('特需')" prop="packageType" v-show="showSearch">
<el-select <el-select
v-model="queryParams.packageTypeArr" v-model="queryParams.packageTypeArr"
multiple multiple
......
This diff is collapsed.
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