Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
| | |
| | | request.post(`/Replenish/getSelectReplenish/${pageNum}/100`,filterData.value).then((res) => { |
| | | |
| | | if(res.code==200){ |
| | | console.log(res.data) |
| | | produceList = deepClone(res.data) |
| | | xGrid.value.loadData(produceList) |
| | | gridOptions.loading=false |
| | |
| | | customConfig: { |
| | | storage: true |
| | | }, |
| | | checkboxConfig: { |
| | | checkMethod: ({ row }) => { |
| | | return row.qualityInsStatus !== 1; |
| | | } |
| | | }, |
| | | editConfig: { |
| | | trigger: 'click', |
| | | mode: 'row', |
| | |
| | | },//表头参数 |
| | | columns:[ |
| | | {type: 'expand', fixed: "left", slots: {content: 'content'}, width: 50}, |
| | | {field: 'select',type:'checkbox',title: t('basicData.check'), width: 80,fixed:"left"}, |
| | | {field: 'select',type: "checkbox",title: t('basicData.check'), width: 80,fixed:"left"}, |
| | | {type: 'seq', fixed: "left", title: t('basicData.Number'), width: 50}, |
| | | {field: 'reportingWorkTime', width: 120, title: t('reportingWorks.reportingWorkTime'), filters: [{data: ''}], slots: {filter: 'num1_filter'}}, |
| | | {field: 'orderId', width: 120, title: t('order.orderId'), showOverflow: "ellipsis", filters: [{data: ''}], slots: {filter: 'num1_filter'}}, |
| | |
| | | |
| | | |
| | | |
| | | |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | </template> |
| | | |
| | | |
| | | |
| | | </vxe-grid> |
| | | </div> |
| | | </div> |
| | |
| | | private String responsibleTeam; |
| | | private String patchArea; |
| | | private String qualityInspector; |
| | | private Integer qualityInsStatus; |
| | | |
| | | |
| | | } |
| | |
| | | dd.responsible_team as responsibleTeam, |
| | | ROUND((dd.breakage_quantity-dd.quantity) * od.width * od.height / 1000000, 2) as patchArea, |
| | | rw.quality_inspector as qualityInspector, |
| | | ogd.glass_child as glassChild |
| | | ogd.glass_child as glassChild, |
| | | if(dd.responsible_process=rw.this_process,2,dd.quality_ins_status) as qualityInsStatus, |
| | | if(dd.quality_ins_status=1,1,2) as orderBy |
| | | from pp.damage_details dd |
| | | left join pp.reporting_work_detail rwd on dd.reporting_work_id = rwd.reporting_work_id and dd.order_number=rwd.order_number and dd.technology_number=rwd.technology_number |
| | | left join pp.reporting_work rw on dd.reporting_work_id = rw.reporting_work_id |
| | |
| | | left join (select * from sd.order_glass_detail group by order_id,order_number,technology_number) as ogd |
| | | on rw.order_id = ogd.order_id and dd.order_number = ogd.order_number and rwd.technology_number=ogd.technology_number |
| | | |
| | | <where> dd.breakage_quantity-dd.quantity>0 and dd.available=0 and (dd.responsible_process=rw.this_process or (dd.quality_ins_status!=1)) and rw.reviewed_state!=-1 |
| | | <where> dd.breakage_quantity-dd.quantity>0 and dd.available=0 and rw.reviewed_state!=-1 /*(dd.responsible_process=rw.this_process or (dd.quality_ins_status!=1)) and */ |
| | | and o.create_order>0 and dd.patch_status=0 |
| | | <if test="patchLogAddDTO.orderId != null and patchLogAddDTO.orderId != ''"> |
| | | and o.order_id regexp #{patchLogAddDTO.orderId} |
| | |
| | | and dd.breakage_reason regexp #{patchLogAddDTO.patchReason} |
| | | </if> |
| | | </where> |
| | | order by dd.id desc |
| | | order by orderBy desc,dd.id desc |
| | | </select> |
| | | |
| | | <delete id="deleteReplenishMp"> |