Преглед на файлове

feature:批量作废bug修复

chenqilong преди 2 години
родител
ревизия
372cddab16
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      src/views/basic_data/material/price_list.vue
  2. 1 1
      src/views/supply/price/difference_price_list.vue
  3. 1 1
      src/views/supply/price/price_list.vue

+ 1 - 1
src/views/basic_data/material/price_list.vue

@@ -315,7 +315,7 @@ export default {
     },
     handleRevokeAll() {
       if (this.ids.length) {
-        handlePriceRevoke({ ids: this.ids.join('') }).then(res => {
+        handlePriceRevoke({ ids: this.ids.join(',') }).then(res => {
           this.$successMsg('操作成功')
           this.getList()
         })

+ 1 - 1
src/views/supply/price/difference_price_list.vue

@@ -385,7 +385,7 @@ export default {
       })
     },
     handleRevokeAll() {
-      handlePriceRevoke({ ids: this.ids.join('') }).then(res => {
+      handlePriceRevoke({ ids: this.ids.join(',') }).then(res => {
         this.$successMsg('操作成功')
         this.getList()
       })

+ 1 - 1
src/views/supply/price/price_list.vue

@@ -331,7 +331,7 @@ export default {
       })
     },
     handleRevokeAll() {
-      handlePriceRevoke({ ids: this.ids.join('') }).then(res => {
+      handlePriceRevoke({ ids: this.ids.join(',') }).then(res => {
         this.$successMsg('操作成功')
         this.getList()
       })