chenrui 11 месяцев назад
Родитель
Сommit
00f48698fa

+ 5 - 0
src/views/promotionManagement/promotionInfo/chooseProductsModal.vue

@@ -127,6 +127,10 @@ export default {
         return []
       }
     },
+    itemSn: {
+      type: String,
+      default: ''
+    },
     zIndex: { // 层级
       type: [String, Number],
       default: 1000
@@ -176,6 +180,7 @@ export default {
         const params = Object.assign(parameter, this.queryParam)
         params.hideProductSnList = this.chooseData
         params.productTypeSnList = this.chooseType
+        params.promoActiveSn = this.itemSn
         return queryWaitingProductPage(params).then(res => {
           let data
           if (res.status == 200) {

+ 1 - 1
src/views/promotionManagement/promotionInfo/edit.vue

@@ -279,7 +279,7 @@
                     返券金额<a-input-number
                       v-model="sellForm.ruleValue"
                       style="margin:0 5px;"
-                      :min="1"
+                      :min="0.01"
                       :step="1"
                       :precision="2"
                       :max="99999999"

+ 2 - 2
src/views/promotionManagement/promotionInfo/productTable.vue

@@ -16,7 +16,7 @@
         bordered>
         <template slot="price" slot-scope="text,record">
           <a-input-number
-            :min="0"
+            :min="0.01"
             :step="1"
             :precision="2"
             :max="99999999"
@@ -28,7 +28,7 @@
         </template>
         <template slot="ruleValue" slot-scope="text,record">
           <a-input-number
-            :min="0"
+            :min="0.01"
             :step="1"
             :precision="2"
             :max="99999999"