north-glass-erp/northglass-erp/src/components/sd/delivery/PrintSheet1.vue
@@ -480,8 +480,8 @@ padding: 0; } @media print { body { margin: 8mm 16mm 20mm 16mm; @page { margin: 8mm 16mm 8mm 16mm; } } north-glass-erp/northglass-erp/src/views/pp/reportingWorks/AddReportingWork.vue
@@ -4,11 +4,13 @@ import request from "@/utils/request"; import {ElMessage} from "element-plus"; import {changeFilterEvent, filterChanged} from "@/hook" import domZIndex from 'dom-zindex' import {indexOf} from "xe-utils"; import {addListener, toolbarButtonClickEvent} from "@/hook/mouseMove"; import userInfo from "@/stores/userInfo" import { useI18n } from 'vue-i18n' import footSum from "@/hook/footSum" domZIndex.setCurrent(3000) //语言获取 const { t } = useI18n() let brokenVisible = ref(false) north-glass-erp/northglass-erp/src/views/sd/order/CreateOrder.vue
@@ -936,7 +936,13 @@ request.post(`/order/saveOrder`,order).then((res) => { if(res.code==200){ ElMessage.success(t('basicData.msg.saveSuccess')) router.push({path:'/main/order/selectOrder'}) if(titleUploadData.value.orderId.trim()===""){ router.push({path:'/main/order/selectOrder'}) }else{ router.push({path:'/main/order/createOrder',query:{ orderId:titleUploadData.value.orderId, random:Math.random()}}) } }else { ElMessage.error(res.msg) } north-glass-erp/src/main/resources/mapper/sd/OrderDetailMapper.xml
@@ -136,7 +136,9 @@ <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerId != ''"> and b.customer_id like concat('%',#{orderDetail.order.customerId},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerName != ''"> and b.customer_name like concat('%',#{orderDetail.order.customerName},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.project != null and orderDetail.order.project != ''"> and b.project like concat('%',#{orderDetail.order.project},'%') </if> @@ -276,7 +278,9 @@ <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerId != ''"> and b.customer_id like concat('%',#{orderDetail.order.customerId},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerName != ''"> and b.customer_name like concat('%',#{orderDetail.order.customerName},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.project != null and orderDetail.order.project != ''"> and b.project like concat('%',#{orderDetail.order.project},'%') </if> @@ -464,7 +468,9 @@ <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerId != ''"> and b.customer_id like concat('%',#{orderDetail.order.customerId},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerName != ''"> and b.customer_name like concat('%',#{orderDetail.order.customerName},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.project != null and orderDetail.order.project != ''"> and b.project like concat('%',#{orderDetail.order.project},'%') </if> @@ -607,7 +613,9 @@ <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerId != ''"> and b.customer_id like concat('%',#{orderDetail.order.customerId},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.customerId != null and orderDetail.order.customerName != ''"> and b.customer_name like concat('%',#{orderDetail.order.customerName},'%') </if> <if test="orderDetail.order!=null and orderDetail.order.project != null and orderDetail.order.project != ''"> and b.project like concat('%',#{orderDetail.order.project},'%') </if> north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -70,7 +70,7 @@ *, ifnull(sum(fgi.quantity_available),0) as goodsQuantity from `order` as o sd.`order` as o left join mm.finished_goods_inventory as fgi on o.order_id = fgi.order_id where date(o.create_time)>=#{startDate} and date(o.create_time) <= #{endDate} @@ -130,6 +130,27 @@ <if test="order.deliveryAddress != null and order.deliveryAddress != ''"> and o.delivery_address REGEXP #{order.deliveryAddress} </if> <if test="order.delivery != null and order.delivery != ''"> and o.delivery = #{order.delivery} </if> <if test="order.createOrder != null and order.createOrder != ''"> and o.create_order = #{order.createOrder} </if> <if test="order.processReview != null and order.processReview != ''"> and o.process_review = #{order.processReview} </if> <if test="order.orderReview != null and order.orderReview != ''"> and o.order_review = #{order.orderReview} </if> <if test="order.productionOrder != null and order.productionOrder != ''"> and o.production_order = #{order.productionOrder} </if> <if test="order.processingCard != null and order.processingCard != ''"> and o.processing_card = #{order.processingCard} </if> <if test="order.warehousing != null and order.warehousing != ''"> and o.warehousing = #{order.warehousing} </if> group by o.id order by o.id desc limit #{offset},#{pageSize}