diff --git a/ant-design-vue-jeecg/src/config/router.config.js b/ant-design-vue-jeecg/src/config/router.config.js
index 5aa5dcd2..b360df4f 100644
--- a/ant-design-vue-jeecg/src/config/router.config.js
+++ b/ant-design-vue-jeecg/src/config/router.config.js
@@ -668,4 +668,8 @@ export const constantRouterMap = [
path: '/shopping/placeOrder',//这里是你需要设置新窗口打开的页面的路径s
component: () => import('@/views/shopping/pages/placeOrder'),
},
+ {
+ path: '/shopping/billDetail',//这里是你需要设置新窗口打开的页面的路径s
+ component: () => import('@/views/shopping/components/billDetail'),
+ },
]
diff --git a/ant-design-vue-jeecg/src/views/shopping/components/billDetail.vue b/ant-design-vue-jeecg/src/views/shopping/components/billDetail.vue
new file mode 100644
index 00000000..39d79ac0
--- /dev/null
+++ b/ant-design-vue-jeecg/src/views/shopping/components/billDetail.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
发票详情
+
+
+
+
+ 订单编号 |
+ 257677098401 |
+ 发票状态 |
+ 已开票 |
+
+
+ 下单时间 |
+ 2022-12-06 18:19:44 |
+ 发票内容 |
+ 商品明细 |
+
+
+ 发票类型 |
+ 电子普通发票 |
+ 发票抬头 |
+ 个人 |
+
+
+
+
+ 发票代码 |
+ 发票号码 |
+ 微信扫码获取电子普通发票 |
+ 下载电子增值税普通发票 |
+
+
+ 041002200111 |
+ 40821456 |
+
+
+ |
+ 查看发票 |
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue b/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue
new file mode 100644
index 00000000..fa23d660
--- /dev/null
+++ b/ant-design-vue-jeecg/src/views/shopping/components/billTitle.vue
@@ -0,0 +1,394 @@
+
+
+
+
+
+
+
默认抬头
+
+
专用发票抬头普通发票抬头
+
+
编辑
+
删除
+
将其设置为默认抬头
+
+
+
+
+ {{item.name}}
+
+
{{item.dutyNum}}
+
+
+
+
+
+ 取消
+
+
+ 确定
+
+
+
+
+
+
+
+
+ 专用发票
+
+
+ 普通发票
+
+
+
+
+
+
+
+
+
+
+
+
+ +86 中国大陆地区
+
+
+
+
+
+
+
+
+
+
+
+
+ 设置为默认抬头
+
+
+
+
+
+
+
+
+
+
+
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 12c413cc..a039496a 100644
--- a/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue
+++ b/ant-design-vue-jeecg/src/views/shopping/pages/gerenzhongxin.vue
@@ -126,7 +126,7 @@
-
+
{{item.date}}
已开票
@@ -144,13 +144,14 @@
开票金额:{{item.price}}
-
申请换开
-
查看详情
+
申请开票
+
申请换开
+
查看详情
-
-
+
+
@@ -201,9 +202,10 @@
import PasswordModal from '../../system/modules/PasswordModal'
import Collection from "../components/collection";
import AddrView from "../components/addrView"
+ import BillTitle from "../components/billTitle"
export default {
name: "gerenzhongxin",
- components: { Header,Footer,PasswordModal ,Collection,AddrView},
+ components: { Header,Footer,PasswordModal ,Collection,AddrView,BillTitle},
data() {
return {
model:{
@@ -293,7 +295,7 @@
price:2456,//价格
},
],//全部发票数据
-
+ billTitle:[],//发票抬头列表
url: {
list: "/starehouse/starehouse/list",
getusername: "/sys/user/getusername",
@@ -364,6 +366,14 @@
}
},
methods: {
+ toBillDetail(id){
+ this.$router.push({
+ path: "/shopping/billDetail",
+ query: {
+ id: id,
+ },
+ });
+ },
passwordModalOk() {
//TODO 密码修改完成 不需要刷新页面,可以把datasource中的数据更新一下
},
@@ -491,6 +501,9 @@
}
else if(key.key == 'invoice3'){//选择未开发票选项
this.invoiceList = this.invoiceList1.filter(item=>item.billing == false)
+ }else{
+ this.allOrders=[]
+ this.invoiceList=[]
}
// else{
// this.allOrders=[]