chenrui 4 yıl önce
ebeveyn
işleme
9d4fab45b7

+ 1 - 1
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -41,7 +41,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="inventoryQueryList-productType"
                   placeholder="请选择产品分类"
                   allowClear

+ 3 - 3
src/views/productManagement/priceChangeRecord/list.vue

@@ -30,7 +30,7 @@
                   :showSearch="true"
                   option-filter-prop="children"
                   :filter-option="filterOption">
-                  <a-select-option v-for="item in productBrandList" :key="item.productBrandSn" :value="item.productBrandSn">{{ item.productBrandName }}</a-select-option>
+                  <a-select-option v-for="item in productBrandList" :key="item.brandSn" :value="item.brandSn">{{ item.brandName }}</a-select-option>
                 </a-select>
               </a-form-item>
             </a-col>
@@ -41,7 +41,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="productInfoList-productType"
                   placeholder="请选择产品分类"
                   allowClear
@@ -134,7 +134,7 @@ export default {
         endDate: getDate.getCurrMonthDays().endtime,
         name: '', //  产品名称
         code: '', //  产品编码
-        brandSn: undefined, //  品牌
+        productBrandSn: undefined, //  品牌
         productTypeSn1: '', //  产品一级分类
         productTypeSn2: '', //  产品二级分类
         productTypeSn3: '' //  产品三级分类

+ 1 - 1
src/views/productManagement/productInfo/list.vue

@@ -36,7 +36,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="productInfoList-productType"
                   placeholder="请选择产品分类"
                   allowClear

+ 1 - 1
src/views/productManagement/productLevel/list.vue

@@ -21,7 +21,7 @@
                 expand-trigger="hover"
                 change-on-select
                 :options="productTypeList"
-                :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                 id="productLevelList-productType"
                 placeholder="请选择产品分类"
                 allowClear

+ 1 - 1
src/views/productManagement/productOfflineAudit/list.vue

@@ -47,7 +47,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="productOfflineAuditList-productType"
                   placeholder="请选择产品分类"
                   allowClear

+ 1 - 1
src/views/productManagement/productPricing/list.vue

@@ -36,7 +36,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="productPricingList-productType"
                   placeholder="请选择产品分类"
                   allowClear

+ 1 - 1
src/views/productManagement/purchaseBaseLimit/list.vue

@@ -35,7 +35,7 @@
                   @change="changeProductType"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="purchaseBaseLimitList-productType"
                   placeholder="请选择产品分类"
                   allowClear />

+ 1 - 1
src/views/promotionRulesManagement/productStatistics/list.vue

@@ -27,7 +27,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="productStatisticsList-productType"
                   placeholder="请选择产品分类"
                   allowClear

+ 3 - 3
src/views/salesManagement/examineVerify/list.vue

@@ -185,9 +185,9 @@ export default {
     },
     //  重置
     resetSearchForm () {
-      this.$refs.rangeDate.resetDate()
-      this.queryParam.beginDate = ''
-      this.queryParam.endDate = ''
+      this.$refs.rangeDate.resetDate(this.time)
+      this.queryParam.beginDate = getDate.getThreeMonthDays().starttime
+      this.queryParam.endDate = getDate.getCurrMonthDays().endtime
       this.queryParam.buyerSn = undefined
       this.$refs.custList.resetForm()
       this.queryParam.salesBillNo = ''

+ 1 - 1
src/views/salesManagement/shortageStatisticsC/list.vue

@@ -37,7 +37,7 @@
                   expand-trigger="hover"
                   change-on-select
                   :options="productTypeList"
-                  :fieldNames="{ label: 'productTypeName', value: 'id', children: 'children' }"
+                  :fieldNames="{ label: 'productTypeName', value: 'productTypeSn', children: 'children' }"
                   id="shortageStatisticsCList-productType"
                   placeholder="请选择产品分类"
                   allowClear