Explorar o código

批量发布修改币别

liusw %!s(int64=8) %!d(string=hai) anos
pai
achega
e703723c8e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/applyPurchase/BatchPublish.vue

+ 1 - 1
components/applyPurchase/BatchPublish.vue

@@ -403,7 +403,7 @@
       submitModify: function (index) {
       submitModify: function (index) {
         let checkValid = this.checkAll()
         let checkValid = this.checkAll()
         if (this.getSingleValidInfo(this.modifyObj) && checkValid) {
         if (this.getSingleValidInfo(this.modifyObj) && checkValid) {
-          if (this.modifyObj.unitPrice) {
+          if (!this.modifyObj.unitPrice) {
             this.modifyObj.currency = null
             this.modifyObj.currency = null
           }
           }
           this.$http.put('/seek/updateSeekPurchaseByBatch', this.modifyObj)
           this.$http.put('/seek/updateSeekPurchaseByBatch', this.modifyObj)