Bläddra i källkod

feature:批量作废bug修复

chenqilong 2 år sedan
förälder
incheckning
372cddab16

+ 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()
       })