소스 검색

贷款-申请

panyong 4 년 전
부모
커밋
c986c9191a
1개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  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()
       },
       funSubmit () {
+        const postData = {
+          orderProductId: this.orderProductId,
+          ...this.postData
+        }
+        delete postData.capture
         if (!this.verifyData()) {
           Toast({
             message: this.arrErrorList[0],
             forbidClick: true
           })
         }
-        createOrder().then(() => {
+        createOrder(postData).then(() => {
           this.$router.replace({ path: '/loan/detail' })
         }).catch(err => {
           Toast(err)