diff --git a/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue b/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue index e341ebc0..9551bfbd 100644 --- a/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue +++ b/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue @@ -34,7 +34,7 @@

个人企业

- {{item.username}} + {{item.name}}

{{item.taxIdentificationNumber}}

@@ -61,13 +61,23 @@ :label-col="labelCol" :wrapper-col="wrapperCol" class="modelForm" > + + + + 个人 + + + 企业 + + + - + - 专用发票 + 专用增值税发票 - 普通发票 + 普通增值税发票 @@ -78,16 +88,17 @@ - + - + @@ -96,12 +107,23 @@ - + - - + + + + + @@ -117,7 +139,6 @@ import { httpAction, getAction } from '@/api/manage' import { deleteAction } from '@/api/manage' - export default { name: "billTitle", components: { }, @@ -132,7 +153,7 @@ /*billTitle:[ { id:1, - type:'1',//发票类型1为专用2为普通 + type:'1',//发票类型1为专用增值税发票2为普通增值税发票 name:'易创网络科技有限公司', flag:true,//是否默认抬头 dutyNum:'6974980492840298590',//税号 @@ -193,13 +214,16 @@ addr1:'210521', //弹窗数据 form: { + customerType:'1',//客户类型 id:'', - type: undefined, + invoiceType: undefined, name: '', addr: '', - dutyNum: '', + accountNumber: '', account: '', - phone: '', + telephone: '', + address:'', + card:'', flag:false//是否默认地址 }, @@ -238,7 +262,7 @@ if(res.success) { this.billTitle = res.result; console.log(res.result) - this.visible = true; + // this.visible = true; } else { } }); @@ -319,13 +343,14 @@ this.visible = true this.flag = 'edit' this.form = item + console.log(this.form.customerType) }, confirm2(id) { getAction(this.url.szfpmr,{id,id}).then((res) => { if(res.success) { - this.loadData(1); + // this.loadData(1); } else { } });