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..146b45ff 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 @@
@@ -201,15 +202,16 @@
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:{
username1: ""
},
- current: ['invoice1'],//目前打开的菜单
+ current: ['allorders'],//目前打开的菜单
key:'',//当前选择的订单状态(待支付、待收货等)
allOrders2:[],
allOrders1:[
@@ -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中的数据更新一下
},
@@ -471,26 +481,36 @@
if(key.key == 'allorders'){
/* this.allOrders = this.allOrders1*/
this.allOrders = this.allOrders2
+ this.invoiceList=[]
}
else if(key.key == 'daizhifu'){
/* this.allOrders = this.allOrders1.filter(item=>item.pay == false)*/
this.allOrders = this.allOrders2.filter(item=>item.pay == false)
+ 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.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.invoiceList=[]
}else if(key.key == 'invoice1'){//选择全部发票选项
this.invoiceList = this.invoiceList1
+ this.allOrders=[]
}
else if(key.key == 'invoice2'){//选择已开发票选项
this.invoiceList = this.invoiceList1.filter(item=>item.billing == true)
+ this.allOrders=[]
}
else if(key.key == 'invoice3'){//选择未开发票选项
this.invoiceList = this.invoiceList1.filter(item=>item.billing == false)
+ this.allOrders=[]
+ }else{
+ this.allOrders=[]
+ this.invoiceList=[]
}
// else{
// this.allOrders=[]
diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/controller/ZyProductPlanAutoController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/controller/ZyProductPlanAutoController.java
index 092fa021..942d9ef3 100644
--- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/controller/ZyProductPlanAutoController.java
+++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/productplan/controller/ZyProductPlanAutoController.java
@@ -1,36 +1,22 @@
package org.jeecg.modules.productplan.controller;
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
-import org.apache.commons.lang3.StringUtils;
import org.jeecg.common.api.vo.Result;
-import org.jeecg.common.aspect.annotation.AutoLog;
import org.jeecg.common.system.base.controller.JeecgController;
-import org.jeecg.common.system.query.QueryGenerator;
+import org.jeecg.modules.productplan.entity.ZyPlanProcess;
import org.jeecg.modules.productplan.entity.ZyProductPlan;
-import org.jeecg.modules.productplan.entity.vo.PaiWeiTuVo;
import org.jeecg.modules.productplan.service.IZyProductPlanAutoService;
import org.jeecg.modules.productplan.service.IZyProductPlanService;
-import org.jeecg.modules.system.entity.SysDepart;
-import org.jeecg.modules.system.entity.SysUser;
-import org.jeecg.modules.system.service.ISysDepartService;
-import org.jeecg.modules.system.service.ISysUserService;
-import org.jeecg.modules.workproduct.entity.ZyProduct;
-import org.jeecg.modules.workproduct.service.IZyProductService;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.*;
-import org.springframework.web.servlet.ModelAndView;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-import java.util.Arrays;
import java.util.List;
+import java.util.Map;
/**
* @Description: 生产计划自动化
@@ -50,15 +36,15 @@ public class ZyProductPlanAutoController extends JeecgController
productPlanAuto4Mock(List workOrderIds) {
- iZyProductPlanAutoService.doAuto(workOrderIds);
- return Result.OK();
+ List