From dad4da593305e5d38a61f8d6b767ea4c198bfb45 Mon Sep 17 00:00:00 2001 From: mayf <m13160102112@163.com> Date: 星期三, 11 九月 2024 10:01:06 +0800 Subject: [PATCH] 增加联系方式查询条件 --- utils/mark-up-config.js | 15 +++++++++++++-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/utils/mark-up-config.js b/utils/mark-up-config.js index b5e10d2..9f58213 100644 --- a/utils/mark-up-config.js +++ b/utils/mark-up-config.js @@ -2,7 +2,7 @@ getGoodsCategoryListConfig, getGoodsListConfig, } from '@/utils/form-item-config' -export const categoryMarkUpConfig = (route, h) => { +export const categoryMarkUpConfig = (route, h, multiple = false) => { return { extraQuery: { partnerId: route.params.partnerId, @@ -64,7 +64,7 @@ ], form: [ { - ...getGoodsCategoryListConfig(true), + ...getGoodsCategoryListConfig(true, multiple), rules: { required: true, message: '请选择商品分类' }, str: true, strKey: 'name', @@ -198,6 +198,7 @@ { label: '供应商', prop: 'supplierName', minWidth: 100 }, { label: '底价(元)', prop: 'price', minWidth: 100 }, { label: '加价(元)', prop: 'fee', minWidth: 100 }, + { label: '售价(元)', prop: 'sellPrice', minWidth: 100 }, { label: '销量', prop: 'sales', minWidth: 100 }, { label: '库存', prop: 'stock', minWidth: 100 }, ], @@ -224,6 +225,16 @@ clearable: true, }, }, + { + label: '加价', + id: 'isFee', + type: 'bus-select-dict', + el: { + code: 'GOODS_IS_FEE', + clearable: true, + style: 'width:100%', + }, + }, ], }, ], -- Gitblit v1.9.3