zh 2 éve
szülő
commit
b1c76cfe55

+ 4 - 8
src/views/sales_policy/components/TabelTransfer.vue

@@ -673,7 +673,7 @@ export default {
         'selection-change': this.selectionChange
       },
       limitQty: 0,
-      maxBuyNum: 0,
+      maxBuyNum: null,
       limitQtyKeyWord: '',
       maxBuyNumKeyWord: '',
       selectedData: [],
@@ -694,7 +694,7 @@ export default {
       limitPageSizes: 10,
       limitTableData: [],
       buyNumvisible: false,
-      minBuyNum: 0
+      minBuyNum: null
     }
   },
   computed: {
@@ -1101,7 +1101,7 @@ export default {
       this.batchCurrentPages = 1
       this.batchPageSizes = 10
       this.limitQty = 0
-      this.maxBuyNum = 0
+      this.maxBuyNum = null
       this.minBuyNum = 0
       this.limitQtyKeyWord = ''
       this.maxBuyNumKeyWord = ''
@@ -1135,14 +1135,10 @@ export default {
           limitQty: this.limitQty
         }
       } else {
-        if (this.minBuyNum <= 0) {
+        if (this.minBuyNum <= 0 || !this.minBuyNum) {
           this.$errorMsg('最小提货数量不能小于0')
           return
         }
-        if (this.maxBuyNum <= 0) {
-          this.$errorMsg('最大提货组数不能小于0')
-          return
-        }
         params = {
           customerIds,
           ids,

+ 2 - 2
src/views/sales_policy/components/details.vue

@@ -496,7 +496,7 @@
                   :ex-url="'policy/limit/export'"
                   :ex-params="exParams"
                 />
-                <el-button
+                <!-- <el-button
                   v-if="detail.type !== 'PROVISION' && list.length"
                   type="primary"
                   size="mini"
@@ -504,7 +504,7 @@
                     visible = true
                     handelBatchData()
                   }"
-                >批量修改</el-button>
+                >批量修改</el-button> -->
 
                 <el-divider />
               </div>

+ 2 - 2
src/views/setting/jiaxianSubAccount.vue

@@ -42,11 +42,11 @@
           <el-table-column align="center" label="操作" width="180">
             <template slot-scope="scope">
               <el-button type="text" @click="addOrEdit('edit', scope.row)">修改</el-button>
-              <el-button
+              <!-- <el-button
                 v-if="checkBtnRole('detail')"
                 type="text"
                 @click="setMenuRole(scope.row.adminUserId, 'role')"
-              >设置权限</el-button>
+              >设置权限</el-button> -->
             </template>
           </el-table-column>
         </el-table>