提交 22f2478e authored 作者: lihuihui's avatar lihuihui

update

上级 d55f29c4
......@@ -239,9 +239,8 @@ export default {
{ label: '普通发票(电子)', value: '2' },
{ label: '专用发票(纸质)', value: '3' }
]
console.log(this.form.taxpayer_type, 'num')
console.log(this.form.taxpayer_type, '123')
if (this.form.taxpayer_type !== '2') {
// list.splice(1, 1)
list = [
// { label: '普通发票(纸质)', value: '1' },
{ label: '普通发票(电子)', value: '2' }
......@@ -260,12 +259,11 @@ export default {
defaultForm.invoice_remark = this.query.remark || ''
defaultForm.sales_rep_user_id_name = this.query.name || ''
if (this.$route.query.taxpayer_info) {
console.log('111')
this.form = Object.assign({}, JSON.parse(this.$route.query.taxpayer_info))
this.vanTabsIndex = JSON.parse(this.$route.query.taxpayer_info).taxpayer_type
this.invoice_type_label = this.form.invoice_type === '2' ? '普通发票(电子)' : '专用发票(纸质)'
} else {
this.form = Object.assign({ taxpayer_type: '' }, defaultForm)
this.form = Object.assign({ taxpayer_type: '2' }, defaultForm)
}
},
methods: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论