Commit 83bd6a95 authored by 786817560's avatar 786817560

Merge branch 'ren' into develop

parents 4e20c395 ed3325fe
...@@ -68,6 +68,21 @@ export default { ...@@ -68,6 +68,21 @@ export default {
], ],
} }
}, },
created () {
// let url = $config.basePath + 'bp_org_bind_save'
// let param = {
// 'master': vm.saveInfo,
// }
// vm.hlsHttp.post(url, param).then(function (res) {
let vm = this
let url = $config.basePath + 'prj_confirm_list_query'
let param = {
user_phone: '18945220871',
}
vm.hlsHttp.post(url, param).then(function (res) {
console.log(res.result)
})
},
methods: { methods: {
getTabNum (i) { getTabNum (i) {
this.tabNum = i this.tabNum = i
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-19 09:31:19 * @Date: 2019-09-19 09:31:19
* @LastEditTime: 2019-09-27 19:25:20 * @LastEditTime: 2019-09-29 09:25:38
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
</div> </div>
<!-- <BankInfo v-show="tabNum==1" :bp_id="bp_id" @getInfo="getInfo" /> --> <!-- <BankInfo v-show="tabNum==1" :bp_id="bp_id" @getInfo="getInfo" /> -->
<BankInfo v-show="tabNum==1" :getBankList="getBankList" @getInfo="getInfo"/> <BankInfo v-show="tabNum==1" :getBankList="getBankList" @getInfo="getInfo"/>
<InvoiceInfo v-show="tabNum==2" @getinvoiceList="getinvoiceList"/> <InvoiceInfo v-show="tabNum==2" :orgCode="baseInfo.organization_code" @getinvoiceList="getinvoiceList"/>
</h-content> </h-content>
<bottom-tab class="footer-button"> <bottom-tab class="footer-button">
<tab-button class="put" @click.native="handSubmit">提交</tab-button> <tab-button class="put" @click.native="handSubmit">提交</tab-button>
...@@ -677,6 +677,7 @@ export default { ...@@ -677,6 +677,7 @@ export default {
getinvoiceList (val) { getinvoiceList (val) {
console.log(val) console.log(val)
this.invoiceInfo = val this.invoiceInfo = val
this.baseInfo.organization_code = val.organization_code
}, },
authorizeChange () { authorizeChange () {
this.flag = !this.flag this.flag = !this.flag
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-20 09:35:11 * @Date: 2019-09-20 09:35:11
* @LastEditTime: 2019-09-20 10:41:24 * @LastEditTime: 2019-09-29 09:25:50
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -50,14 +50,21 @@ ...@@ -50,14 +50,21 @@
<div slot="name" class="font-color">纳税人识别号</div> <div slot="name" class="font-color">纳税人识别号</div>
<input <input
slot="content" slot="content"
v-model="invoiceInfo.organization_code" type="text" placeholder="请输入纳税人识别号" v-model="invoiceInfo.organization_code" :placeholder="orgCode" type="text"
> >
</item> </item>
<!-- <p>{{ organization_code }}</p> -->
</list-item> </list-item>
</template> </template>
<script> <script>
export default { export default {
name: 'InvoiceInfo', name: 'InvoiceInfo',
props: {
'orgCode': {
type: String,
default: '',
},
},
data () { data () {
return { return {
invoicList: [], invoicList: [],
...@@ -68,13 +75,19 @@ export default { ...@@ -68,13 +75,19 @@ export default {
invoice_kind: '', invoice_kind: '',
taxpayer_type: '', taxpayer_type: '',
invoice_title: '', invoice_title: '',
organization_code: '', organization_code: this.orgCode,
invoice_bp_bank_account: '', invoice_bp_bank_account: '',
invoice_bp_address_phone_num: '', invoice_bp_address_phone_num: '',
}, },
} }
}, },
watch: {
orgCode () {
this.invoiceInfo.organization_code = this.orgCode
},
},
created () { created () {
console.log('orgCode', this.orgCode)
this.getInvoiceType() this.getInvoiceType()
this.getTaxpayer() this.getTaxpayer()
}, },
......
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