瀏覽代碼

个人-申请贷款金额输入优化

panyong 4 年之前
父節點
當前提交
6c356189a6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      htmldev/loan/src/views/loan/apply/index.vue

+ 2 - 1
htmldev/loan/src/views/loan/apply/index.vue

@@ -143,7 +143,7 @@
     computed: {
       amount: {
         get () {
-          return this.postData.orderPrice ? this.postData.orderPrice * 1 : ''
+          return this.postData.orderPrice * 1 ? this.postData.orderPrice : 0
         },
         set (value) {
           this.postData.orderPrice = value
@@ -312,6 +312,7 @@
           orderProductId: this.orderProductId,
           ...this.postData
         }
+        console.log(postData)
         delete postData.capture
         if (!this.verifyData()) {
           Toast({