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 { } }); diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue index 146b45ff..51ea91d4 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue @@ -160,8 +160,15 @@ 订单编号:{{item.orderNum}} 删除 - 未支付 - 已支付 + 未支付 + 已支付 + 待生产中 + 生产中 + 已发货 + 已到货 + 已签收 + 申请撤销 + 已撤销
@@ -178,8 +185,8 @@

总计:¥ {{item.total}} - 立即支付 - 确认收货 + 立即支付 + 确认收货 查看详情

@@ -189,6 +196,40 @@
+ + +
+
+ +
+
+

总计: ¥

+

请使用支付宝扫描左图二维码进行支付

+

请您在15分钟内付款以免订单被取消,如有疑问,请联系客服。

+

订单发货后您将收到订单发货通知短信

+
+
+ +
@@ -349,6 +390,7 @@ desc: [{ required: true, message: 'Please input activity form', trigger: 'blur' }],*/ }, visible1: false, + visible3: false, }; }, @@ -373,6 +415,9 @@ id: id, }, }); + }, + zhifu() { + }, passwordModalOk() { //TODO 密码修改完成 不需要刷新页面,可以把datasource中的数据更新一下 @@ -380,6 +425,9 @@ handleCancel(e) { this.visible1 = false; }, + handleCancel2(e) { + this.visible3 = false; + }, handleChangePassword(username) { this.$refs.passwordmodal.show(username); }, @@ -404,6 +452,7 @@ getAction(this.url.findgoods).then((res) => { if(res.success) { this.allOrders2 = res.result; + this.allOrders = res.result; this.visible = true; } else { } @@ -449,12 +498,24 @@ openDetail(item) { console.log('item') console.log(item) - if(item.pay == false){ - this.key = 'daizhifu' - }else if(item.pay == true && item.receipt == false){ - this.key = 'daishouhuo' - }else if(item.receipt == true){ - this.key = 'yiwancheng' + if(item.pay ==='0'){ + this.key = 'wzf' + }else if(item.pay ==='1' ){ + this.key = 'yzf' + }else if(item.pay =='2'){ + this.key = 'dsc' + }else if(item.pay =='3'){ + this.key = 'scz' + }else if(item.pay =='4'){ + this.key = 'yfh' + }else if(item.pay =='5'){ + this.key = 'ydh' + }else if(item.pay =='6'){ + this.key = 'yqs' + }else if(item.pay =='8'){ + this.key = 'sqcx' + }else if(item.pay =='9'){ + this.key = 'ycx' } this.$router.push({ path: "/shopping/order", @@ -468,12 +529,13 @@ }); }, ljzf(item){ - this.$router.push({ - path: "/shopping/pay", - query: { - id: item.id, - }, - }); + // this.$router.push({ + // path: "/shopping/pay", + // query: { + // id: item.id, + // }, + // }); + this.visible3 = true }, menuChange(key){ this.current.shift() @@ -485,17 +547,17 @@ } else if(key.key == 'daizhifu'){ /* this.allOrders = this.allOrders1.filter(item=>item.pay == false)*/ - this.allOrders = this.allOrders2.filter(item=>item.pay == false) + this.allOrders = this.allOrders2.filter(item=>item.pay ==='0') this.invoiceList=[] } else if(key.key == 'daishouhuo'){ /*this.allOrders = this.allOrders1.filter(item=>item.receipt == false && item.pay == true)*/ - this.allOrders = this.allOrders2.filter(item=>item.receipt == false && item.pay == true) + this.allOrders = this.allOrders2.filter(item=>item.pay ==='4') this.invoiceList=[] } else if(key.key == 'yiwancheng'){ /*this.allOrders = this.allOrders1.filter(item=>item.receipt == true)*/ - this.allOrders = this.allOrders2.filter(item=>item.receipt == true) + this.allOrders = this.allOrders2.filter(item=>item.pay ==='6') this.invoiceList=[] }else if(key.key == 'invoice1'){//选择全部发票选项 this.invoiceList = this.invoiceList1 diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue b/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue index dabfaed3..4101192f 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue @@ -1,5 +1,5 @@