Browse Source

验收修改

yangc 8 years ago
parent
commit
a74358a264

+ 2 - 2
components/applyPurchase/ApplyInfo.vue

@@ -248,7 +248,7 @@
       },
       onUnitPriceChange: function () {
         let price = this.sayPriceObj.unitPrice
-        if (price >= 9999) {
+        if (price >= 10000) {
           this.sayPriceObj.unitPrice = price.substring(0, 4)
         } else if (price.indexOf('.') > -1) {
           let arr = price.split('.')
@@ -597,7 +597,7 @@
                 input {
                   width: 32px;
                   height: 26px;
-                  padding: 0 0 0 3px;
+                  padding: 0 0 0 6px;
                 }
               }
               &:nth-child(4) {

+ 1 - 1
components/applyPurchase/PublishApply.vue

@@ -242,7 +242,7 @@
       },
       onUnitPriceInput: function () {
         let price = this.applyObj.unitPrice
-        if (price >= 9999) {
+        if (price >= 10000) {
           this.applyObj.unitPrice = price.substring(0, 4)
         } else if (price.indexOf('.') > -1) {
           let arr = price.split('.')