From 76dea6dcd9b55696c7d1375865b47d8b074d7ba7 Mon Sep 17 00:00:00 2001 From: wangjiadong <1654135867@qq.com> Date: Mon, 12 Dec 2022 10:16:50 +0800 Subject: [PATCH 01/16] =?UTF-8?q?=E5=90=8E=E6=9C=9F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../customershoppingcart/admin/CustomerShoppingCartList.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/customershoppingcart/admin/CustomerShoppingCartList.vue b/ant-design-vue-jeecg/src/views/customershoppingcart/admin/CustomerShoppingCartList.vue index dca7260a..795a9817 100644 --- a/ant-design-vue-jeecg/src/views/customershoppingcart/admin/CustomerShoppingCartList.vue +++ b/ant-design-vue-jeecg/src/views/customershoppingcart/admin/CustomerShoppingCartList.vue @@ -138,7 +138,6 @@ return { selectedRows: [], totalPrice: 0, - ssrjian: 0, description: '购物车管理页面', // 表头 columns: [ @@ -217,7 +216,6 @@ this.selectedRowKeys = selectedRowKeys }, onSelect(record, selected) { - var ssr // 若选中,直接push if (selected) { this.selectedRows.push(record) @@ -227,8 +225,8 @@ let index = this.selectedRows.findIndex((item) => item.id == record.id) if (index >= 0) { this.selectedRows.splice(index, 1) - this.ssrjian = record.number*record.price - this.totalPrice=this.totalPrice- this.ssrjian + this.totalPrice=this.totalPrice- record.number*record.price + } } From caa515d317de32cadf036a9c8e0bf025d6355970 Mon Sep 17 00:00:00 2001 From: wangjiadong <1654135867@qq.com> Date: Mon, 12 Dec 2022 10:45:54 +0800 Subject: [PATCH 02/16] =?UTF-8?q?=E9=A1=BE=E5=AE=A2=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/CustomerInvoiceController.java | 43 +++++++++++++++--- .../controller/CustomerMeasureController.java | 45 ++++++++++++++++--- .../controller/CustomerPaymentController.java | 41 ++++++++++++++--- .../CustomerReceivingAddressController.java | 28 ++++++++++++ .../CustomerShoppingCartController.java | 31 +++++++++++++ 5 files changed, 169 insertions(+), 19 deletions(-) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerinvoice/controller/CustomerInvoiceController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerinvoice/controller/CustomerInvoiceController.java index 9cd8c77d..d7a07dad 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerinvoice/controller/CustomerInvoiceController.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerinvoice/controller/CustomerInvoiceController.java @@ -9,8 +9,11 @@ import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; + +import org.apache.shiro.SecurityUtils; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.system.vo.LoginUser; import org.jeecg.common.util.oConvertUtils; import org.jeecg.modules.demo.customerinvoice.entity.CustomerInvoice; import org.jeecg.modules.demo.customerinvoice.service.ICustomerInvoiceService; @@ -49,7 +52,7 @@ import org.jeecg.common.aspect.annotation.AutoLog; public class CustomerInvoiceController extends JeecgController { @Autowired private ICustomerInvoiceService customerInvoiceService; - + /** * 分页列表查询 * @@ -71,7 +74,35 @@ public class CustomerInvoiceController extends JeecgController pageList = customerInvoiceService.page(page, queryWrapper); return Result.OK(pageList); } - + + + + /** + * 分页列表查询 + * + * @param customerInvoice + * @param pageNo + * @param pageSize + * @param req + * @return + */ + @AutoLog(value = "客户发票信息-分页列表查询") + @ApiOperation(value="客户发票信息-分页列表查询", notes="客户发票信息-分页列表查询") + @GetMapping(value = "/listcustom") + public Result listcustom(CustomerInvoice customerInvoice, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerInvoice, req.getParameterMap()); + queryWrapper.eq("createBy",sysUser.getUsername()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerInvoiceService.page(page, queryWrapper); + return Result.OK(pageList); + } + + + /** * 添加 * @@ -85,7 +116,7 @@ public class CustomerInvoiceController extends JeecgController { @Autowired private ICustomerMeasureService customerMeasureService; - + /** * 分页列表查询 * @@ -71,8 +74,36 @@ public class CustomerMeasureController extends JeecgController pageList = customerMeasureService.page(page, queryWrapper); return Result.OK(pageList); } - - /** + + + + /** + * 分页列表查询 + * + * @param customerMeasure + * @param pageNo + * @param pageSize + * @param req + * @return + */ + @AutoLog(value = "顾客测体管理-分页列表查询") + @ApiOperation(value="顾客测体管理-分页列表查询", notes="顾客测体管理-分页列表查询") + @GetMapping(value = "/listcustom") + public Result listcustom(CustomerMeasure customerMeasure, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerMeasure, req.getParameterMap()); + queryWrapper.eq("createBy",sysUser.getUsername()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerMeasureService.page(page, queryWrapper); + return Result.OK(pageList); + } + + + + /** * 添加 * * @param customerMeasure @@ -85,7 +116,7 @@ public class CustomerMeasureController extends JeecgController { @Autowired private ICustomerPaymentService customerPaymentService; - + /** * 分页列表查询 * @@ -71,7 +74,33 @@ public class CustomerPaymentController extends JeecgController pageList = customerPaymentService.page(page, queryWrapper); return Result.OK(pageList); } - + + + /** + * 分页列表查询 + * + * @param customerPayment + * @param pageNo + * @param pageSize + * @param req + * @return + */ + @AutoLog(value = "顾客支付信息管理-分页列表查询") + @ApiOperation(value="顾客支付信息管理-分页列表查询", notes="顾客支付信息管理-分页列表查询") + @GetMapping(value = "/listcustom") + public Result listcustom(CustomerPayment customerPayment, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerPayment, req.getParameterMap()); + queryWrapper.eq("createBy",sysUser.getUsername()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerPaymentService.page(page, queryWrapper); + return Result.OK(pageList); + } + + /** * 添加 * @@ -85,7 +114,7 @@ public class CustomerPaymentController extends JeecgController listcustom(CustomerReceivingAddress customerReceivingAddress, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + LoginUser sysUser = (LoginUser)SecurityUtils.getSubject().getPrincipal(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerReceivingAddress, req.getParameterMap()); + queryWrapper.eq("createBy",sysUser.getUsername()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerReceivingAddressService.page(page, queryWrapper); + return Result.OK(pageList); + } + + + /** * 添加 * diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customershoppingcart/controller/CustomerShoppingCartController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customershoppingcart/controller/CustomerShoppingCartController.java index a0413e49..8646d666 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customershoppingcart/controller/CustomerShoppingCartController.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customershoppingcart/controller/CustomerShoppingCartController.java @@ -9,8 +9,11 @@ import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; + +import org.apache.shiro.SecurityUtils; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.query.QueryGenerator; +import org.jeecg.common.system.vo.LoginUser; import org.jeecg.common.util.oConvertUtils; import org.jeecg.modules.demo.customershoppingcart.entity.CustomerShoppingCart; import org.jeecg.modules.demo.customershoppingcart.service.ICustomerShoppingCartService; @@ -77,6 +80,34 @@ public class CustomerShoppingCartController extends JeecgController listcust(CustomerShoppingCart customerShoppingCart, + @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, + @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, + HttpServletRequest req) { + LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(customerShoppingCart, req.getParameterMap()); + queryWrapper.eq("createBy",sysUser.getUsername()); + Page page = new Page(pageNo, pageSize); + IPage pageList = customerShoppingCartService.page(page, queryWrapper); + return Result.OK(pageList); + } + + + /** * 添加 * From f6482afcd2d5359fa2e9f81587160655c3554cd8 Mon Sep 17 00:00:00 2001 From: wangjiadong <1654135867@qq.com> Date: Mon, 12 Dec 2022 10:50:23 +0800 Subject: [PATCH 03/16] =?UTF-8?q?=E9=A1=BE=E5=AE=A2=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../custom/CustomerInvoiceList.vue | 233 ++++++++++++++++ .../custom/modules/CustomerInvoiceForm.vue | 158 +++++++++++ .../custom/modules/CustomerInvoiceModal.vue | 60 ++++ .../CustomerInvoiceModal__Style#Drawer.vue | 84 ++++++ .../custo/CustomerMeasureList.vue | 258 ++++++++++++++++++ .../custo/modules/CustomerMeasureForm.vue | 199 ++++++++++++++ .../custo/modules/CustomerMeasureModal.vue | 60 ++++ .../CustomerMeasureModal__Style#Drawer.vue | 84 ++++++ .../custom/CustomerPaymentList.vue | 246 +++++++++++++++++ .../custom/modules/CustomerPaymentForm.vue | 119 ++++++++ .../custom/modules/CustomerPaymentModal.vue | 60 ++++ .../CustomerPaymentModal__Style#Drawer.vue | 84 ++++++ .../custom/CustomerReceivingAddressList.vue | 250 +++++++++++++++++ .../modules/CustomerReceivingAddressForm.vue | 143 ++++++++++ .../modules/CustomerReceivingAddressModal.vue | 60 ++++ ...merReceivingAddressModal__Style#Drawer.vue | 84 ++++++ .../custum/CustomerShoppingCartList.vue | 257 +++++++++++++++++ .../modules/CustomerShoppingCartForm.vue | 150 ++++++++++ .../modules/CustomerShoppingCartModal.vue | 60 ++++ ...ustomerShoppingCartModal__Style#Drawer.vue | 84 ++++++ 20 files changed, 2733 insertions(+) create mode 100644 ant-design-vue-jeecg/src/views/customerinvoice/custom/CustomerInvoiceList.vue create mode 100644 ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceForm.vue create mode 100644 ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal.vue create mode 100644 ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal__Style#Drawer.vue create mode 100644 ant-design-vue-jeecg/src/views/customermeasure/custo/CustomerMeasureList.vue create mode 100644 ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureForm.vue create mode 100644 ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal.vue create mode 100644 ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal__Style#Drawer.vue create mode 100644 ant-design-vue-jeecg/src/views/customerpayment/custom/CustomerPaymentList.vue create mode 100644 ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentForm.vue create mode 100644 ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal.vue create mode 100644 ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal__Style#Drawer.vue create mode 100644 ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/CustomerReceivingAddressList.vue create mode 100644 ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressForm.vue create mode 100644 ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal.vue create mode 100644 ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal__Style#Drawer.vue create mode 100644 ant-design-vue-jeecg/src/views/customershoppingcart/custum/CustomerShoppingCartList.vue create mode 100644 ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartForm.vue create mode 100644 ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal.vue create mode 100644 ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal__Style#Drawer.vue diff --git a/ant-design-vue-jeecg/src/views/customerinvoice/custom/CustomerInvoiceList.vue b/ant-design-vue-jeecg/src/views/customerinvoice/custom/CustomerInvoiceList.vue new file mode 100644 index 00000000..b349ef77 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerinvoice/custom/CustomerInvoiceList.vue @@ -0,0 +1,233 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceForm.vue b/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceForm.vue new file mode 100644 index 00000000..b4cc1fdd --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceForm.vue @@ -0,0 +1,158 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal.vue b/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal.vue new file mode 100644 index 00000000..cab496ec --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal__Style#Drawer.vue new file mode 100644 index 00000000..e354afe6 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerinvoice/custom/modules/CustomerInvoiceModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/custo/CustomerMeasureList.vue b/ant-design-vue-jeecg/src/views/customermeasure/custo/CustomerMeasureList.vue new file mode 100644 index 00000000..276cfa7b --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/custo/CustomerMeasureList.vue @@ -0,0 +1,258 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureForm.vue b/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureForm.vue new file mode 100644 index 00000000..c5d86e26 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureForm.vue @@ -0,0 +1,199 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal.vue b/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal.vue new file mode 100644 index 00000000..9d99c79d --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal__Style#Drawer.vue new file mode 100644 index 00000000..c83433ad --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customermeasure/custo/modules/CustomerMeasureModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/custom/CustomerPaymentList.vue b/ant-design-vue-jeecg/src/views/customerpayment/custom/CustomerPaymentList.vue new file mode 100644 index 00000000..84e5c579 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/custom/CustomerPaymentList.vue @@ -0,0 +1,246 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentForm.vue b/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentForm.vue new file mode 100644 index 00000000..66ab7602 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentForm.vue @@ -0,0 +1,119 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal.vue b/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal.vue new file mode 100644 index 00000000..23e63743 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal__Style#Drawer.vue new file mode 100644 index 00000000..1131f243 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerpayment/custom/modules/CustomerPaymentModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/CustomerReceivingAddressList.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/CustomerReceivingAddressList.vue new file mode 100644 index 00000000..fc7e7b4a --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/CustomerReceivingAddressList.vue @@ -0,0 +1,250 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressForm.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressForm.vue new file mode 100644 index 00000000..64802266 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressForm.vue @@ -0,0 +1,143 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal.vue new file mode 100644 index 00000000..40d6de4b --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal__Style#Drawer.vue new file mode 100644 index 00000000..e7b8eaa1 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customerreceivingaddress/custom/modules/CustomerReceivingAddressModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customershoppingcart/custum/CustomerShoppingCartList.vue b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/CustomerShoppingCartList.vue new file mode 100644 index 00000000..937151f8 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/CustomerShoppingCartList.vue @@ -0,0 +1,257 @@ + + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartForm.vue b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartForm.vue new file mode 100644 index 00000000..7f9a42f6 --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartForm.vue @@ -0,0 +1,150 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal.vue b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal.vue new file mode 100644 index 00000000..cb2eca2b --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal.vue @@ -0,0 +1,60 @@ + + + \ No newline at end of file diff --git a/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal__Style#Drawer.vue b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal__Style#Drawer.vue new file mode 100644 index 00000000..767f052a --- /dev/null +++ b/ant-design-vue-jeecg/src/views/customershoppingcart/custum/modules/CustomerShoppingCartModal__Style#Drawer.vue @@ -0,0 +1,84 @@ + + + + + \ No newline at end of file From 212c4d41ca0e994c262fce2a68f7762151929a34 Mon Sep 17 00:00:00 2001 From: lenovo <123> Date: Tue, 13 Dec 2022 11:31:25 +0800 Subject: [PATCH 04/16] =?UTF-8?q?2022-12-13=E6=9F=A5=E8=AF=A2=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../erp/accessories/ZyAccessoriesList.vue | 16 +++++++++++ .../erp/accessories/ZyAccessoriesTypeList.vue | 20 +++++++++++-- .../src/views/process/ZyProcessList.vue | 28 +++++++++++++++++++ .../views/process/modules/ZyProcessForm.vue | 10 +++---- .../modules/ZyClothSampleForm.vue | 8 ++++-- .../controller/ZyAccessoriesController.java | 4 +-- .../ZyAccessoriesTypeController.java | 4 +-- 7 files changed, 77 insertions(+), 13 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesList.vue b/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesList.vue index 4d692164..22643f86 100644 --- a/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesList.vue +++ b/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesList.vue @@ -4,6 +4,22 @@
+ + + + + + + + + + + + + 查询 + 重置 + +
diff --git a/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesTypeList.vue b/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesTypeList.vue index 7ba77af3..1e6a4cbf 100644 --- a/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesTypeList.vue +++ b/ant-design-vue-jeecg/src/views/erp/accessories/ZyAccessoriesTypeList.vue @@ -3,8 +3,24 @@
- - + + + + + + + + + + + + + + 查询 + 重置 + + +
diff --git a/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue b/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue index 89c2d4e7..f0269e4c 100644 --- a/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue +++ b/ant-design-vue-jeecg/src/views/process/ZyProcessList.vue @@ -10,6 +10,21 @@ v-model="styleId"> + + + + + + + + + + + + + + + 查询 @@ -312,6 +327,9 @@ export default { //参数 loadRouteType: false, styleId: "", + processCode:'', + processName:'', + enterpriseId:'', dictOptions: {}, superFieldList: [], } @@ -378,8 +396,18 @@ export default { param.pageNo = this.ipagination.current; param.pageSize = this.ipagination.pageSize; param.styleId = this.styleId; + param.enterpriseId=this.enterpriseId; + param.processCode=this.processCode; + param.processName=this.processName; return filterObj(param); }, + searchReset() { + this.styleId = '' + this.processCode = '' + this.processName = '' + this.enterpriseId = '' + this.loadData(1); + }, getSuperFieldList() { let fieldList = []; fieldList.push({type: 'string', value: 'processCode', text: '工序代码', dictCode: ''}) diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue index 2af440c6..8309243e 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue @@ -107,11 +107,11 @@ - - - - - + + + + + diff --git a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue index 9f095782..eb862ab0 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue @@ -5,7 +5,7 @@ - + @@ -13,7 +13,7 @@ + :dict-code="dict"> @@ -90,6 +90,7 @@ export default { model: { nums:'', }, + dict:"zy_cloths_style,style_names,nums", labelCol: { xs: {span: 24}, sm: {span: 5}, @@ -150,6 +151,9 @@ export default { this.edit(this.modelDefault); }, // + kuanshi(){ + this.dict="zy_cloths_style,style_names,nums,enterprise_id="+"'"+this.model.userId+"'"; + }, gaibian(){ var n=3; console.log(this.model) diff --git a/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesController.java b/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesController.java index 1d5bb51b..7d468284 100644 --- a/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesController.java +++ b/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesController.java @@ -67,8 +67,8 @@ public class ZyAccessoriesController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(zyAccessories, req.getParameterMap()); - QueryWrapper queryWrapper = new QueryWrapper(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(zyAccessories, req.getParameterMap()); +// QueryWrapper queryWrapper = new QueryWrapper(); Page page = new Page(pageNo, pageSize); IPage pageList = zyAccessoriesService.page(page, queryWrapper); return Result.OK(pageList); diff --git a/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesTypeController.java b/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesTypeController.java index 4d6992c1..72f93fe4 100644 --- a/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesTypeController.java +++ b/jeecg-boot/jeecg-boot-module-erp/src/main/java/org/jeecg/modules/demo/accessories/controller/ZyAccessoriesTypeController.java @@ -66,8 +66,8 @@ public class ZyAccessoriesTypeController extends JeecgController queryWrapper = QueryGenerator.initQueryWrapper(zyAccessoriesType, req.getParameterMap()); - QueryWrapper queryWrapper = new QueryWrapper(); + QueryWrapper queryWrapper = QueryGenerator.initQueryWrapper(zyAccessoriesType, req.getParameterMap()); +// QueryWrapper queryWrapper = new QueryWrapper(); Page page = new Page(pageNo, pageSize); IPage pageList = zyAccessoriesTypeService.page(page, queryWrapper); return Result.OK(pageList); From 1dc307873587b3af860a3a93f31dcb84d00b51c3 Mon Sep 17 00:00:00 2001 From: shenyuan Date: Wed, 14 Dec 2022 10:50:52 +0800 Subject: [PATCH 05/16] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=B7=A5=E5=BA=8F?= =?UTF-8?q?=E6=96=B0=E5=A2=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/process/modules/ZyProcessForm.vue | 125 +++++++++++------- .../views/process/modules/ZyProcessModal.vue | 2 +- 2 files changed, 79 insertions(+), 48 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue index 8309243e..350b5db9 100644 --- a/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue +++ b/ant-design-vue-jeecg/src/views/process/modules/ZyProcessForm.vue @@ -1,14 +1,14 @@