| | |
| | | <td class="tdNowrap">客æ·åç§°ï¼</td> |
| | | <td colspan="2">{{ items.customer_name }}</td> |
| | | <td class="tdNowrap">项ç®åç§°ï¼</td> |
| | | <td colspan="4">{{ items.project }}</td> |
| | | <td colspan="4" style="min-width: 200px;">{{ items.project }}</td> |
| | | <td class="tdNowrap">å·¥èºæµç¨ï¼</td> |
| | | <td colspan="22" style="width: 500px">{{ items.process }}</td> |
| | | </tr> |
| | |
| | | //regexp:/^(0|[1-9][0-9]{0,3}([.][0-9]{1,2})?)$/,//æ£å0.00-9999.99 |
| | | msg:'basicData.msg.range99999Dec2' |
| | | }, |
| | | orderIdType:'day',//å端çæè®¢åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ,year:æ¯å¹´çæ |
| | | orderIdType:'year',//å端çæè®¢åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ,year:æ¯å¹´çæ |
| | | deliveryIdType:'day', |
| | | columnName:'å¾å·', |
| | | selectOrderReviewShow:true, //订åé¦é¡µå å·¥åå®¡æ ¸æé®æ¯å¦æ¾ç¤º |
| | |
| | | {field: 'orderNumber', width: 100, title: t('order.OrderNum'),visible: true}, |
| | | {field: 'technologyNumber', width: 120, title: t('processCard.technologyNumber'),filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, showOverflow: "ellipsis",visible: true}, |
| | | {field: 'bend_radius', width: 100, title: t('order.bendRadius'),visible: true}, |
| | | {field: 'shape', width: 100, title: t('order.shape'),visible: true}, |
| | | {field: 'process', width: 120, title: t('craft.process'),visible: true}, |
| | | {field: 'quantity', width: 120, title: t('order.quantity'),visible: true}, |
| | |
| | | o.project, |
| | | o.order_id, |
| | | o.batch, |
| | | if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', '')) as shape, |
| | | if(od.shape='' || ISNULL(od.shape),'æ®å½¢',if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', ''))) as shape, |
| | | if(od.shape=2,JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S04')),od.bend_radius) as bend_radius, |
| | | ogd.order_number, |
| | | ogd.technology_number, |
| | | ogd.process, |
| | |
| | | ogd.child_height as childHeight, |
| | | fc.quantity, |
| | | round(ogd.child_width * ogd.child_height * fc.quantity / 1000000, 2) as area, |
| | | if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', '')) as shape, |
| | | if(od.shape='' || ISNULL(od.shape),'æ®å½¢',if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', ''))) as shape, |
| | | od.remarks |
| | | FROM sd.ORDER AS o |
| | | LEFT JOIN sd.order_detail AS od ON od.order_id = od.order_id |
| | |
| | | |
| | | <select id="productionScheduleMp"> |
| | | select a.order_number, |
| | | if(a.shape = 1, 'æ®å½¢', if(a.shape = 2, 'å¼å½¢', '')) as shape, |
| | | if(od.shape='' || ISNULL(od.shape),'æ®å½¢',if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', ''))) as shape, |
| | | a.product_name, |
| | | b.child_width, |
| | | b.child_height, |
| | |
| | | o.project, |
| | | o.order_id, |
| | | o.batch, |
| | | if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', '')) as shape, |
| | | if(od.shape='' || ISNULL(od.shape),'æ®å½¢',if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', ''))) as shape, |
| | | ogd.order_number, |
| | | ogd.technology_number, |
| | | ogd.process, |
| | |
| | | o.project, |
| | | o.order_id, |
| | | o.batch, |
| | | if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', '')) as shape, |
| | | if(od.shape='' || ISNULL(od.shape),'æ®å½¢',if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', ''))) as shape, |
| | | sum(od.quantity) as quantity, |
| | | sum(odpds.reporting_work_num_count + ifnull(c.patchNumSum, 0) - odpd.reporting_work_num_count - |
| | | odpd.broken_num) as stockNum, |
| | |
| | | o.order_id, |
| | | fc.process_id, |
| | | o.batch, |
| | | if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', '')) as shape, |
| | | if(od.shape='' || ISNULL(od.shape),'æ®å½¢',if(od.shape = 1, 'æ®å½¢', if(od.shape = 2, 'å¼å½¢', ''))) as shape, |
| | | sum(od.quantity) as quantity, |
| | | sum(odpds.reporting_work_num_count + ifnull(c.patchNumSum, 0) - odpd.reporting_work_num_count - |
| | | odpd.broken_num) as stockNum, |