Przeglądaj źródła

不抓单添加价格等级

chenrui 1 rok temu
rodzic
commit
e63f1e6186

+ 2 - 1
src/views/allocationManagement/transferReturn/edit.vue

@@ -338,7 +338,8 @@ export default {
         { title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
         { title: '产品编码', dataIndex: 'productCode', width: '10%', align: 'left', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'productName', align: 'left', width: '29%', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '单位', dataIndex: 'productUnit', width: '10%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '单位', dataIndex: 'productUnit', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '价格级别', dataIndex: 'priceLevelDictValue', width: '6%', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '退货单价', scopedSlots: { customRender: 'returnPrice' }, width: '10%', align: 'right' },
         { title: '退货数量', scopedSlots: { customRender: 'returnQty' }, width: '10%', align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: '10%', align: 'center' }

+ 16 - 3
src/views/dealerManagement/merchantInfoManagement/chooseTypeList.vue

@@ -3,12 +3,22 @@
     <div ref="tableSearch" class="table-page-search-wrapper">
       <a-form layout="inline" @keyup.enter.native="$refs.table.refresh(true)">
         <a-row :gutter="15">
-          <a-col :md="9" :sm="24">
+          <a-col :md="6" :sm="24">
+            <a-form-item label="产品品牌">
+              <v-select
+                code="BRAND_TYPE"
+                id="inventoryQueryList-productBrandType"
+                v-model="queryParam.productBrandType"
+                allowClear
+                placeholder="请选择价格级别"></v-select>
+            </a-form-item>
+          </a-col>
+          <a-col :md="6" :sm="24">
             <a-form-item label="产品品牌">
               <ProductBrand id="inventoryQueryList-productBrandSn" v-model="queryParam.productBrandSn"></ProductBrand>
             </a-form-item>
           </a-col>
-          <a-col :md="9" :sm="24">
+          <a-col :md="6" :sm="24">
             <a-form-model-item label="产品分类">
               <ProductType id="inventoryQueryList-productType" placeholder="请选择产品分类" @change="changeProductType" v-model="productType"></ProductType>
             </a-form-model-item>
@@ -48,10 +58,11 @@ import ProductType from '@/views/common/productType.js'
 import ProductBrand from '@/views/common/productBrand.js'
 import { Empty } from 'ant-design-vue'
 import { queryWaitingData } from '@/api/dealerScope'
+import { VSelect } from '@/components'
 export default {
   name: 'DetailProductList',
   mixins: [commonMixin],
-  components: { ProductType, ProductBrand },
+  components: { ProductType, ProductBrand, VSelect },
   props: {
     maxHeight: {
       type: [String, Number],
@@ -68,6 +79,7 @@ export default {
       chooseDataList: [],
       selectedRowKeys: [],
       queryParam: {
+        productBrandType: undefined,
         productBrandSn: undefined,
         productTypeSn1: undefined, //  产品一级分类
         productTypeSn2: undefined, //  产品二级分类
@@ -141,6 +153,7 @@ export default {
     },
     resetSearchForm () {
       this.queryParam = {
+        productBrandType: undefined,
         productBrandSn: undefined,
         productTypeSn1: undefined, //  产品一级分类
         productTypeSn2: undefined, //  产品二级分类