Commit 10de4fd0 authored by 郑秀明's avatar 郑秀明

Merge branch 'develop' into zxm_credit_dev

parents 4a8d8a95 1684cb53
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
</view> </view>
</view> </view>
</view> </view>
<text class="next_step_btn">下一步</text> <text class="next_step_btn" @click="submit()">下一步</text>
</view> </view>
</template> </template>
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
vet_certificate: '', //兽医证 vet_certificate: '', //兽医证
business_license: '', //营业执照 business_license: '', //营业执照
certification_materials: '', //经营场所 certification_materials: '', //经营场所
bank_card_record: '', //企业银行流水 bank_card_record: 'xxxxx', //企业银行流水
}, },
compressName: '' compressName: ''
} }
...@@ -183,6 +183,13 @@ ...@@ -183,6 +183,13 @@
this.params[key] = ''; this.params[key] = '';
}, },
submit() { submit() {
let data = null;
uni.getStorage({
key: 'installment',
success: (res) => {
data = res.data;
}
});
if(!this.params.business_street) { if(!this.params.business_street) {
uni.showToast({ uni.showToast({
title: '请上传所在街道照片', title: '请上传所在街道照片',
...@@ -233,8 +240,16 @@ ...@@ -233,8 +240,16 @@
return return
} }
uni.request({ uni.request({
url: '' url: '/uni/api/userqualification/AddUserQualification',
}) method: 'POST',
data: {
...this.params,
...data
},
success: (res) => {
console.log(res)
}
});
} }
}, },
components: { components: {
......
...@@ -159,7 +159,6 @@ ...@@ -159,7 +159,6 @@
<script> <script>
import uniPopup from "@/components/uni-popup/uni-popup.vue"; import uniPopup from "@/components/uni-popup/uni-popup.vue";
import { php, go } from '../../common/host.js'; import { php, go } from '../../common/host.js';
import store from '@/store/store.js';
export default { export default {
data() { data() {
return { return {
...@@ -227,15 +226,21 @@ ...@@ -227,15 +226,21 @@
uni.navigateBack(); uni.navigateBack();
}, },
buy_now() { buy_now() {
uni.navigateTo({
url: '/pages/apply/choosetype'
})
const data = { const data = {
contract_no: this.contract_no, contract_no: this.contract_no,
equipment_id: this.equipment_id, equipment_id: this.equipment_id,
property_id: this.e_info.property_id property_id: this.e_info.property_id
} }
store.dispatch('changeInstallment', data); uni.setStorage({
key: 'installment',
data: data,
success: () => {
uni.navigateTo({
url: '/pages/apply/choosetype'
});
}
});
}, },
collectGoods(id, type) { collectGoods(id, type) {
uni.request({ uni.request({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment