Jelajahi Sumber

贷款-申请

panyong 4 tahun lalu
induk
melakukan
c986c9191a
1 mengubah file dengan 6 tambahan dan 1 penghapusan
  1. 6 1
      htmldev/loan/src/views/loan/apply/index.vue

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

@@ -254,13 +254,18 @@
         this.strCapture = STRCAPTURE + '?' + new Date().getTime()
         this.strCapture = STRCAPTURE + '?' + new Date().getTime()
       },
       },
       funSubmit () {
       funSubmit () {
+        const postData = {
+          orderProductId: this.orderProductId,
+          ...this.postData
+        }
+        delete postData.capture
         if (!this.verifyData()) {
         if (!this.verifyData()) {
           Toast({
           Toast({
             message: this.arrErrorList[0],
             message: this.arrErrorList[0],
             forbidClick: true
             forbidClick: true
           })
           })
         }
         }
-        createOrder().then(() => {
+        createOrder(postData).then(() => {
           this.$router.replace({ path: '/loan/detail' })
           this.$router.replace({ path: '/loan/detail' })
         }).catch(err => {
         }).catch(err => {
           Toast(err)
           Toast(err)