Commit 09ddfba5 authored by linxin's avatar linxin

add

parent 6370ba7f
...@@ -340,7 +340,7 @@ export default { ...@@ -340,7 +340,7 @@ export default {
'baseInfo.auth_flag' (newVal, oldVal) { 'baseInfo.auth_flag' (newVal, oldVal) {
if (newVal === '是') { if (newVal === '是') {
this.flag = false this.flag = false
} else { } else if (newVal === '否') {
this.flag = true this.flag = true
} }
}, },
......
...@@ -159,8 +159,8 @@ ...@@ -159,8 +159,8 @@
<InvoiceInfo v-show="tabNum==2" :baseInfo="baseInfo" :tabNum="tabNum" @getinvoiceList="getinvoiceList" /> <InvoiceInfo v-show="tabNum==2" :baseInfo="baseInfo" :tabNum="tabNum" @getinvoiceList="getinvoiceList" />
</h-content> </h-content>
<bottom-tab class="footer-button"> <bottom-tab class="footer-button">
<tab-button class="put" @click.native="putData">提交</tab-button> <tab-button :class="[isApproved?'put-approved':'put']" @click.native="putData">提交</tab-button>
<tab-button class="save" @click.native="verified">保存</tab-button> <tab-button v-if="!isApproved" class="save" @click.native="verified">保存</tab-button>
</bottom-tab> </bottom-tab>
<h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="sign-modal"> <h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="sign-modal">
<h-view> <h-view>
...@@ -850,6 +850,13 @@ export default { ...@@ -850,6 +850,13 @@ export default {
border: 1px solid #00469c; border: 1px solid #00469c;
background-color: #fafafa; background-color: #fafafa;
} }
.put-approved{
width: 90%;
height: 45px;
color: #fff;
border-radius: 4px;
background-color: #00469c;
}
.save { .save {
width: 175px; width: 175px;
height: 45px; height: 45px;
......
...@@ -219,8 +219,8 @@ ...@@ -219,8 +219,8 @@
@getinvoiceList="getinvoiceList"/> @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="[isApproved?'put-approved':'put']" @click.native="handSubmit">提交</tab-button>
<tab-button class="save" @click.native="verified">保存</tab-button> <tab-button v-if="!isApproved" class="save" @click.native="verified">保存</tab-button>
</bottom-tab> </bottom-tab>
<h-modal ref="modal" v-model="showModalValue" position="bottom"> <h-modal ref="modal" v-model="showModalValue" position="bottom">
<h-view> <h-view>
...@@ -331,7 +331,7 @@ export default { ...@@ -331,7 +331,7 @@ export default {
registered_place: '', registered_place: '',
organization_code: '', organization_code: '',
registered_capital: '', registered_capital: '',
business_license_num: '', // business_license_num: '',
bp_class: this.$route.params.bp_class, bp_class: this.$route.params.bp_class,
}, },
bank_lists: { bank_lists: {
...@@ -354,7 +354,7 @@ export default { ...@@ -354,7 +354,7 @@ export default {
'baseInfo.auth_flag' (newVal, oldVal) { 'baseInfo.auth_flag' (newVal, oldVal) {
if (newVal === '是') { if (newVal === '是') {
this.flag = false this.flag = false
} else { } else if (newVal === '否') {
this.flag = true this.flag = true
} }
}, },
...@@ -371,7 +371,6 @@ export default { ...@@ -371,7 +371,6 @@ export default {
vm.baseInfo.bp_type === 'FACTORY' vm.baseInfo.bp_type === 'FACTORY'
) { ) {
vm.bp_type_flag = false vm.bp_type_flag = false
delete vm.baseInfo.agent_username
// vm.typeName = '营业执照' // vm.typeName = '营业执照'
// vm.type = '请输入营业执照号' // vm.type = '请输入营业执照号'
// vm.baseInfo.agent_username = '' // vm.baseInfo.agent_username = ''
...@@ -639,6 +638,7 @@ export default { ...@@ -639,6 +638,7 @@ export default {
for (var key1 in vm.lastInfo) { for (var key1 in vm.lastInfo) {
if (!vm.lastInfo[key1]) { if (!vm.lastInfo[key1]) {
console.log('key', key1) console.log('key', key1)
debugger
switch (key1) { switch (key1) {
case 'bp_type': case 'bp_type':
vm.hlsPopup.showLongCenter('客户类型未填写') vm.hlsPopup.showLongCenter('客户类型未填写')
...@@ -1084,7 +1084,13 @@ export default { ...@@ -1084,7 +1084,13 @@ export default {
border: 1px solid #00469c; border: 1px solid #00469c;
background-color: #fafafa; background-color: #fafafa;
} }
.put-approved{
width: 90%;
height: 45px;
color: #fff;
border-radius: 4px;
background-color: #00469c;
}
.save { .save {
width: 175px; width: 175px;
height: 45px; height: 45px;
......
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