Commit ff992552 authored by wanghuazhou's avatar wanghuazhou

商品列表商品中文名称搜索类型修正

parent c9e6a2cf
......@@ -171,6 +171,7 @@ export const DICT_TYPE = {
// order
ORDER_TYPE: "order_type", // 订单类型
PRODUCT_RECORD_ATTRIBUTE: "product_record_attribute", //产品备案属性
PROD_QUERY_TITLE_ZH_FIELD: 'prod_query_title_zh_field', // 商品列表商品中文名称查询类型
CONTROL_GOODS_STATUS: "control_goods_status", //控货状态
DISBURSEMENT_TYPE: "disbursement_type", //垫付类型
DRAWEE: "drawee", // 付款人
......
......@@ -47,7 +47,7 @@
>
<template slot="prepend">
<dict-selector
:type="DICT_TYPE.ORDER_QUERY_NO_FIELD"
:type="DICT_TYPE.PROD_QUERY_TITLE_ZH_FIELD"
defaultable
v-model="titleZhParam.key"
class="w-50"
......@@ -962,12 +962,13 @@ export default {
getList() {
this.loading = true;
// 处理查询参数
let params = { ...this.queryParams };
if (this.titleZhParam.value) {
this.queryParams[this.titleZhParam.key] = this.titleZhParam.value;
params[this.titleZhParam.key] = this.titleZhParam.value;
}
// 处理查询参数
let params = { ...this.queryParams };
params.filter = false;
// this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime");
this.addBeginAndEndTime(
......
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