| | |
| | | {field: 'delivery.customerName',width: '200', title: t('customer.customerName'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'width', width: '100',title: t('order.width'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'height',width: '100', title: t('order.height'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'delivery.area',width: '100', title: t('productStock.totalArea'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'deliveryDetail.area',width: '100', title: t('productStock.totalArea'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | //{field: 'buildingNumber',width: '100', title: '楼层编号', filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'delivery.creator',width: '100', title: t('order.salesman'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'deliveryDetail.createTime',width: '140', title: t('productStock.statementDate'), filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | |
| | | {field: 'operationNumber', width: '100',title: t('order.OrderNum'), showOverflow:"ellipsis" ,filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'operateType', width: '120',title:t('warehouseBasicData.type'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'quantity', width: '140',title: t('order.quantity'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'order.project',width: '100', title: t('order.project'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'order.customerName',width: '100', title: t('order.customers'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'area',width: '100', title: t('order.area'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'orderDetail.productId',width: '100', title: t('order.productId'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'orderDetail.productName',width: '140', title: t('order.product'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'orderDetail.width', width: '100',title: t('order.width'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | |
| | | url :'/finishedGoodsInventory/getSelectFinishedOperateLogReport/出库', |
| | | exportUrl :'/finishedGoodsInventory/exportFinishedOperateLogReport/出库', |
| | | exportName:t('stockReport.finishedProductOutboundReport'), |
| | | footList:['quantity'] |
| | | footList:['quantity','area'] |
| | | }) |
| | | |
| | | </script> |
| | |
| | | findOrderDetailNumberd( |
| | | orderDetail.getDeliveryDetail().getOrderId(), |
| | | orderDetail.getDeliveryDetail().getOrderNumber()); |
| | | |
| | | |
| | | //添加出入库记录 |
| | | finishedOperateLogMapper.insertOutFinishedOperateLog(orderDetail,userName,oddNumber,orderDetail.getDeliveryDetail().getBoxNo()); |
| | | orderDetailMapper.update(null, |
| | |
| | | <result column="create_time" property="deliveryDetail.createTime"/> |
| | | <result column="dd_quantity" property="deliveryDetail.quantity"/> |
| | | <result column="box_no" property="deliveryDetail.boxNo"/> |
| | | <result column="area" property="deliveryDetail.area"/> |
| | | |
| | | <result column="project" property="order.project"/> |
| | | |
| | | <result column="creator" property="delivery.creator"/> |
| | | <result column="customer_name" property="delivery.customerName"/> |
| | | <result column="d_quantity" property="delivery.quantity"/> |
| | | <result column="area" property="delivery.area"/> |
| | | |
| | | |
| | | |
| | | </resultMap> |
| | |
| | | dd.quantity as dd_quantity, |
| | | od.warehouse_num, |
| | | od.delivery_num, |
| | | d.area, |
| | | dd.area, |
| | | od.building_number, |
| | | d.creator, |
| | | dd.delivery_detail_remakes, |
| | |
| | | dd.quantity as dd_quantity, |
| | | od.warehouse_num, |
| | | od.delivery_num, |
| | | d.area, |
| | | dd.area, |
| | | od.building_number, |
| | | d.creator, |
| | | dd.delivery_detail_remakes, |
| | |
| | | and od.product_name regexp #{finishedOperateLog.orderDetail.productName} |
| | | </if> |
| | | <if test="finishedOperateLog.orderDetail.price != null and finishedOperateLog.orderDetail.price != ''"> |
| | | and od.price regexp #{finishedOperateLog.orderDetail.price} |
| | | and od.price regexp REGEXP_REPLACE(#{finishedOperateLog.orderDetail.price},'\\.0+$','') |
| | | </if> |
| | | <if test="finishedOperateLog.orderDetail.width != null and finishedOperateLog.orderDetail.width != ''"> |
| | | and od.width regexp REGEXP_REPLACE(#{finishedOperateLog.orderDetail.width},'\\.0+$','') |
| | |
| | | and fol.remarks regexp #{finishedOperateLog.remarks} |
| | | </if> |
| | | <if test="finishedOperateLog.area != null and finishedOperateLog.area != ''"> |
| | | and fol.area regexp #{finishedOperateLog.area} |
| | | and fol.area regexp REGEXP_REPLACE(#{finishedOperateLog.area},'\\.0+$','') |
| | | </if> |
| | | <if test="finishedOperateLog.money != null and finishedOperateLog.money != ''"> |
| | | and fol.money regexp #{finishedOperateLog.money} |
| | | and fol.money regexp REGEXP_REPLACE(#{finishedOperateLog.money},'\\.0+$','') |
| | | </if> |
| | | <if test="finishedOperateLog.order !=null and (finishedOperateLog.order.customerName != null and finishedOperateLog.order.customerName != '')"> |
| | | and o.customer_name regexp #{finishedOperateLog.order.customerName} |
| | |
| | | <if test="finishedOperateLog.quantity != null and finishedOperateLog.quantity != ''"> |
| | | and fol.quantity regexp #{finishedOperateLog.quantity} |
| | | </if> |
| | | <if test="finishedOperateLog.processId != null and finishedOperateLog.processId != ''"> |
| | | and fol.process_id regexp #{finishedOperateLog.processId} |
| | | </if> |
| | | <if test="finishedOperateLog.operator != null and finishedOperateLog.operator != ''"> |
| | | and fol.operator regexp #{finishedOperateLog.operator} |
| | | </if> |
| | |
| | | and od.product_name regexp #{finishedOperateLog.orderDetail.productName} |
| | | </if> |
| | | <if test="finishedOperateLog.orderDetail.price != null and finishedOperateLog.orderDetail.price != ''"> |
| | | and od.price regexp #{finishedOperateLog.orderDetail.price} |
| | | and od.price regexp REGEXP_REPLACE(#{finishedOperateLog.orderDetail.price},'\\.0+$','') |
| | | </if> |
| | | <if test="finishedOperateLog.orderDetail.width != null and finishedOperateLog.orderDetail.width != ''"> |
| | | and od.width regexp REGEXP_REPLACE(#{finishedOperateLog.orderDetail.width},'\\.0+$','') |
| | |
| | | and fol.remarks regexp #{finishedOperateLog.remarks} |
| | | </if> |
| | | <if test="finishedOperateLog.area != null and finishedOperateLog.area != ''"> |
| | | and fol.area regexp #{finishedOperateLog.area} |
| | | and fol.area regexp REGEXP_REPLACE(#{finishedOperateLog.area},'\\.0+$','') |
| | | </if> |
| | | <if test="finishedOperateLog.money != null and finishedOperateLog.money != ''"> |
| | | and fol.money regexp #{finishedOperateLog.money} |
| | | and fol.money regexp REGEXP_REPLACE(#{finishedOperateLog.money},'\\.0+$','') |
| | | </if> |
| | | <if test="finishedOperateLog.order !=null and (finishedOperateLog.order.customerName != null and finishedOperateLog.order.customerName != '')"> |
| | | and o.customer_name regexp #{finishedOperateLog.order.customerName} |
| | |
| | | quantity, |
| | | operate_time, |
| | | status, |
| | | remarks |
| | | remarks, |
| | | area |
| | | ) |
| | | values ( |
| | | #{orderDetail.deliveryDetail.deliveryId} ,#{orderDetail.deliveryDetail.orderId},#{orderDetail.deliveryDetail.orderNumber} |
| | | ,"出库",#{userName},#{orderDetail.deliveryDetail.quantity},now(),"未审核",#{boxNo} |
| | | ,"出库",#{userName},#{orderDetail.deliveryDetail.quantity},now(),"未审核",#{boxNo},#{orderDetail.deliveryDetail.area} |
| | | ) |
| | | </insert> |
| | | |