浏览代码

Merge branch 'master' into seek_home-0207

yangc 7 年之前
父节点
当前提交
fe602430f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)