Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
| | |
| | | **/.idea/ |
| | | ../idea/* |
| | | **/target/ |
| | | /north-glass-erp/erp.iml |
| | | /north-glass-erp/src/main |
| | | /north-glass-erp/src/test/test.iml |
| | |
| | | "vue-i18n": "^9.10.1", |
| | | "vue-plugin-hiprint": "^0.0.56", |
| | | "vue-router": "^4.2.4", |
| | | "vue3-grid-layout": "^1.0.0", |
| | | "vue3-print-nb": "^0.1.4", |
| | | "vxe-pc-ui": "^4.0.78", |
| | | "vxe-table": "^4.7.57", |
| | |
| | | æ¶é´ï¼{{formattedTime}} |
| | | |
| | | </div> |
| | | <div>{{itemFlow.rack}} |
| | | <div><span v-if="item.detailList[0].merge===1">å</span>{{itemFlow.rack}} |
| | | æµç¨å¡å·ï¼ {{ |
| | | itemFlow.process_id |
| | | }}/{{ itemFlow.technologyNumber }} å
± {{ item.count }} æ¶ |
| | |
| | | |
| | | .main-table{ |
| | | width: 100%; |
| | | height: 600px; |
| | | height: 540px; |
| | | } |
| | | </style> |
| | |
| | | { |
| | | tid: 'æ¤é¢ä¸ºå®¤å
é¢', title: 'æ¤é¢ä¸ºå®¤å
é¢', data: '', type: 'text', |
| | | options: { |
| | | field: 'inner', |
| | | field: '', |
| | | testData: '', |
| | | width:100, |
| | | height: 16, |
| | |
| | | { |
| | | tid: 'æ¤é¢ä¸ºå®¤å¤é¢', title: 'æ¤é¢ä¸ºå®¤å¤é¢', data: '', type: 'text', |
| | | options: { |
| | | field: 'outside', |
| | | field: '', |
| | | testData: '', |
| | | width:100, |
| | | height: 16, |
| | |
| | | { |
| | | tid: 'custom1', title: 'èªå®ä¹1', data: '', type: 'text', |
| | | options: { |
| | | field: 'custom1', |
| | | field: '', |
| | | testData: '', |
| | | width:270, |
| | | height: 16, |
| | |
| | | { |
| | | tid: 'custom2', title: 'èªå®ä¹2', data: '', type: 'text', |
| | | options: { |
| | | field: 'custom2', |
| | | field: '', |
| | | testData: '', |
| | | width:270, |
| | | height: 16, |
| | |
| | | { |
| | | tid: 'custom3', title: 'èªå®ä¹3', data: '', type: 'text', |
| | | options: { |
| | | field: 'custom3', |
| | | field: '', |
| | | testData: '', |
| | | width:270, |
| | | height: 16, |
| | |
| | | { |
| | | tid: 'custom4', title: 'èªå®ä¹4', data: '', type: 'text', |
| | | options: { |
| | | field: 'custom4', |
| | | field: '', |
| | | testData: '', |
| | | width:270, |
| | | height: 16, |
| | |
| | | { |
| | | tid: 'custom5', title: 'èªå®ä¹5', data: '', type: 'text', |
| | | options: { |
| | | field: 'custom5', |
| | | field: '', |
| | | testData: '', |
| | | width:270, |
| | | height: 16, |
| | |
| | | |
| | | } |
| | | |
| | | const selectRecordsData = ref({ |
| | | printList: [] |
| | | }) |
| | | // ç嬿尿¬¡æ°äºä»¶ |
| | | const printNumber = () => { |
| | | selectRecordsData.value.printList = JSON.parse(props.list) |
| | | request.post(`/tagStyle/updatePrintNumber`, selectRecordsData.value).then((res) => { |
| | | if (res.code == 200 && res.data === true) { |
| | | } else { |
| | | |
| | | ElMessage.warning(t('basicData.msg.saveFail')) |
| | | |
| | | } |
| | | }) |
| | | } |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | destroy-on-close |
| | | style="width: 80%;height:75% "> |
| | | <template #header="{ close, titleId, titleClass }"> |
| | | <el-button @click="printOrder(2)" :icon="View" circle/> |
| | | <el-button @click="printOrder(1)" :icon="Printer" circle/> |
| | | <el-button @click="printOrder(2);printNumber()" :icon="View" circle/> |
| | | <el-button @click="printOrder(1);printNumber()" :icon="Printer" circle/> |
| | | |
| | | </template> |
| | | <print-custom-label id="childLabel" |
| | |
| | | <tr v-if="index===0"> |
| | | <th style="width: 6%;font-weight: bold;">åº</th> |
| | | <th style="width: 15%;font-weight: bold;" >楼å±ç¼å·</th> |
| | | <th style="width: 20%;font-weight: bold;" colspan="3">宽Xé«</th> |
| | | <th style="width: 12%;font-weight: bold;">æ°é</th> |
| | | <th style="width: 25%;font-weight: bold;" colspan="3">宽Xé«</th> |
| | | <th style="width: 8%;font-weight: bold;">æ°é</th> |
| | | <th style="width: 12%;font-weight: bold;">é¢ç§¯</th> |
| | | <th style="width: 17%;font-weight: bold;" colspan="2">å å·¥è¦æ±</th> |
| | | </tr> |
| | |
| | | <td>{{items.orderNumber}}</td> |
| | | <td>{{items.buildingNumber}}</td> |
| | | <td colspan="3" style="font-size: 20px;font-weight: bold;" v-if="items.otherColumns?.S02">{{items.otherColumns?.S02}}</td> |
| | | <td colspan="3" style="font-size: 20px;font-weight: bold;" v-else-if="items.differentSize===1 && items.bendRadius==null"> |
| | | <td colspan="3" style="font-size: 17px;white-space:nowrap;font-weight: bold;" v-else-if="items.differentSize===1 && items.bendRadius==null"> |
| | | <template v-for="(orderGlassDetail, index1) in items.orderGlassDetails" > |
| | | ({{orderGlassDetail.childWidth}}x{{orderGlassDetail.childHeight}}) |
| | | ({{orderGlassDetail.childWidth}}x{{orderGlassDetail.childHeight}}) |
| | | </template> |
| | | </td> |
| | | <td colspan="3" style="font-size: 20px;font-weight: bold;" v-else>{{items.width}}x{{items.height}}</td> |
| | |
| | | composingOk:'ÙÙ
ÙÙ Ø§Ø¯Ø±Ø§Ø¬ÙØ§ ', |
| | | composingNo:'ÙØ§ ÙÙ
ÙÙ Ø§Ø¯Ø±Ø§Ø¬ÙØ§', |
| | | typesetter:'اÙÙ
دخÙ', |
| | | revoke:'æ¤é坿ç', |
| | | scheduledStartTime:'ÙÙØª Ø§ÙØ¨Ø¯Ø¡ Ø§ÙØ¬Ø¯ÙÙØ©', |
| | | planEndTime:'ÙÙØª Ø§ÙØªÙاء Ø§ÙØ¬Ø¯ÙÙØ©', |
| | | customerId:'رÙ
ز Ø§ÙØ¹Ù
ÙÙ', |
| | |
| | | deleteNo:'ÙØ´Ù Ø§ÙØØ°ÙØ تØÙÙ Ù
Ù
ا إذا ÙØ§Ù ÙØ¯ تÙ
Ø§ÙØ¥Ø¨Ùاغ Ø¹Ù Ø¨Ø·Ø§ÙØ© Ø§ÙØ¹Ù
ÙÙØ© ÙÙØ¹Ù
Ù (Ù
ÙØ§ØØ¸Ø§Øª)', |
| | | deleteNoProcedure:'ÙØ´Ù Ø§ÙØØ°ÙØ تØÙÙ Ù
Ù
ا إذا ÙØ§Ù ÙØ¯ تÙ
Ø§ÙØ¥Ø¨Ùاغ Ø¹Ù Ø§ÙØ¹Ù
ÙÙØ© Ø§ÙØªØ§ÙÙØ© ÙÙØ¹Ù
Ù', |
| | | pleaseCheckTheRequiredData:'برجاء Ø§ÙØªØ£Ùد Ù
Ù Ø§ÙØ¨ÙØ§ÙØ§Øª اÙÙ
Ø·ÙÙØ¨Ø©', |
| | | notSelectTheOptionData:'请å¿å¾éå·²æçæ°æ®', |
| | | landingSequence:'è½æ¶é¡ºåº', |
| | | |
| | | labelStyle:'ÙÙ
Ø· اÙÙ
ÙØµÙ', |
| | |
| | | composingOk:'Can Be Typesetter', |
| | | composingNo:'Non Typesetting', |
| | | typesetter:'typesetter', |
| | | revoke:'æ¤é坿ç', |
| | | scheduledStartTime:'Scheduled Start Time', |
| | | planEndTime:'Plan End Time', |
| | | customerId:'Customer Id', |
| | |
| | | deleteNo:'Failed to delete Check whether the flow card has been reported (feedback)', |
| | | deleteNoProcedure:'Delete failed Check whether the next operation has been reported', |
| | | pleaseCheckTheRequiredData:'Please check the required data', |
| | | notSelectTheOptionData:'请å¿å¾éå·²æçæ°æ®', |
| | | landingSequence:'Landing sequence', |
| | | |
| | | labelStyle:'Label Style', |
| | |
| | | composingOk:'ТипогÑаммаOK', |
| | | composingNo:'ТипогÑаммаNO', |
| | | typesetter:'ÐабоÑÑик', |
| | | revoke:'æ¤é坿ç', |
| | | scheduledStartTime:'ÐланиÑÑемое вÑÐµÐ¼Ñ Ð½Ð°Ñала', |
| | | planEndTime:'ÐланиÑÑемое вÑÐµÐ¼Ñ Ð¾ÐºÐ¾Ð½ÑаниÑ', |
| | | customerId:'Ðод клиенÑа', |
| | |
| | | deleteNo:'ÐÑибка ÑдалениÑ, пÑовеÑÑÑе обÑаÑнÑÑ ÑвÑÐ·Ñ ÐºÐ°ÑÑÑ Ð¿ÑоÑеÑÑа', |
| | | deleteNoProcedure:'ÐÑибка ÑдалениÑ, пÑовеÑÑÑе обÑаÑнÑÑ ÑвÑÐ·Ñ Ð¾Ð¿ÐµÑаÑии', |
| | | pleaseCheckTheRequiredData:'ÐÑбеÑиÑе необÑ
одимÑе даннÑе.', |
| | | notSelectTheOptionData:'请å¿å¾éå·²æçæ°æ®', |
| | | landingSequence:'Landing sequence', |
| | | |
| | | labelStyle:'СÑÐ¸Ð»Ñ Ð¼ÐµÑки', |
| | |
| | | composingOk:'坿ç', |
| | | composingNo:'ä¸å¯æç', |
| | | typesetter:'å·²æç', |
| | | revoke:'æ¤é坿ç', |
| | | scheduledStartTime:'计åå¼å§æ¶é´', |
| | | planEndTime:'计åç»ææ¶é´', |
| | | customerId:'客æ·ç¼ç ', |
| | |
| | | deleteNo:'å é¤å¤±è´¥ï¼æ£æ¥æµç¨å¡æ¯å¦å·²æ¥å·¥', |
| | | deleteNoProcedure:'å é¤å¤±è´¥ï¼è¯·æ£æ¥ä¸å·¥åºæ¯å¦å·²æ¥å·¥æè
已补çè¿å·¥', |
| | | pleaseCheckTheRequiredData:'请å¾ééè¦çæ°æ®', |
| | | notSelectTheOptionData:'请å¿å¾éå·²æçæ°æ®', |
| | | landingSequence:'è½æ¶é¡ºåº', |
| | | |
| | | labelStyle:'æ ç¾æ ·å¼', |
| | |
| | | component: () => import('../views/pp/glassOptimize/OptimizePrint.vue'), |
| | | }, |
| | | { |
| | | path: 'optimizeMove', |
| | | name: 'optimizeMove', |
| | | component: () => import('../views/pp/glassOptimize/OptimizeMove.vue'), |
| | | }, |
| | | { |
| | | path: '/optimizeProject/:projectNo/:thickNess/:model', |
| | | name: 'optimizeInfo', |
| | | component: () => import('../views/pp/glassOptimize/OptimizeProject.vue') |
| | |
| | | }, |
| | | orderIdType:'year',//å端çæè®¢åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ,year:æ¯å¹´çæ |
| | | deliveryIdType:'day', |
| | | deliveryDate:7,//订åå建éè´§æ¥æ 天津7天ï¼å¸¸å·7天ï¼ä¹ä¹15å¤©ï¼æ°ç15天 |
| | | columnName:'å¾å·', |
| | | selectOrderReviewShow:true, //订åé¦é¡µå å·¥åå®¡æ ¸æé®æ¯å¦æ¾ç¤º |
| | | productName:"product_name",//产åå建æ¥éåæ®µ |
| | |
| | | deliveryRemark: ['夿³¨:æ¬æ¹ç»ç为ä¼çåæ ¼åï¼è¯·å¨å¸è´§æ¶,å½é¢æ¶ç¹éªæ¶ãå¦æè´¨éé®é¢å¨ä¸å¨å
䏿¬å
¬å¸èç³»,å¦åæ¦ä¸è´è´£ï¼'], |
| | | deliveryOutbound: false,//åè´§é»è®¤åºåº |
| | | flowCardMerge: 0,//æµç¨å¡åçæå° |
| | | printBtn:1,//æå°çé¢ä¸ä¸ªæé®ä¸æ¯å¦æ¾ç¤ºæ ç¾æå°ç¸å
³æé®ï¼0æ¾ç¤ºå¸¸å·ï¼1天津å
¶å®ä¸æ¾ç¤º |
| | | //天津 |
| | | printLabel: { |
| | | custom: (item1) => { |
| | |
| | | }, |
| | | orderIdType:'month',//å端çæè®¢åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ |
| | | deliveryIdType:'month',//å端çæåè´§åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ |
| | | deliveryDate:7,//订åå建éè´§æ¥æ 天津7天ï¼å¸¸å·7天ï¼ä¹ä¹15å¤©ï¼æ°ç15天 |
| | | columnName:'å¼å½¢åæ°', |
| | | selectOrderReviewShow:false, //订åé¦é¡µå å·¥åå®¡æ ¸æé®æ¯å¦æ¾ç¤º |
| | | productName:"product_abbreviation", //产åå建æ¥éåæ®µ |
| | |
| | | deliveryRemark: ['夿³¨:æ¬æ¹ç»ç为ä¼çåæ ¼åï¼è¯·å¨å¸è´§æ¶,å½é¢æ¶ç¹éªæ¶ãå¦æè´¨éé®é¢å¨ä¸å¨å
䏿¬å
¬å¸èç³»,å¦åæ¦ä¸è´è´£ï¼'], |
| | | deliveryOutbound: true,//åè´§é»è®¤åºåº |
| | | flowCardMerge: 1,//æµç¨å¡åçæå° |
| | | printBtn:0,//æå°çé¢ä¸ä¸ªæé®ä¸æ¯å¦æ¾ç¤ºæ ç¾æå°ç¸å
³æé®ï¼0æ¾ç¤ºå¸¸å·ï¼1天津å
¶å®ä¸æ¾ç¤º |
| | | //天津 |
| | | printLabel: { |
| | | custom: (item1) => { |
| | |
| | | }, |
| | | orderIdType:'year',//å端çæè®¢åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ,year:æå¹´çæ |
| | | deliveryIdType:'day',//å端çæåè´§åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ |
| | | deliveryDate:15,//订åå建éè´§æ¥æ 天津7天ï¼å¸¸å·7天ï¼ä¹ä¹15å¤©ï¼æ°ç15天 |
| | | columnName:'å¾å·', |
| | | selectOrderReviewShow:true, //订åé¦é¡µå å·¥åå®¡æ ¸æé®æ¯å¦æ¾ç¤º |
| | | productName:"product_name",//产åå建æ¶éå¤éªè¯ï¼âproduct_abbreviationâ |
| | |
| | | deliveryRemark: ['夿³¨:æ¬æ¹ç»ç为ä¼çåæ ¼åï¼è¯·å¨å¸è´§æ¶,å½é¢æ¶ç¹éªæ¶ãå¦æè´¨éé®é¢å¨ä¸å¨å
䏿¬å
¬å¸èç³»,å¦åæ¦ä¸è´è´£ï¼'], |
| | | deliveryOutbound: false,//åè´§é»è®¤åºåº |
| | | flowCardMerge: 0,//æµç¨å¡åçæå° |
| | | printBtn:1,//æå°çé¢ä¸ä¸ªæé®ä¸æ¯å¦æ¾ç¤ºæ ç¾æå°ç¸å
³æé®ï¼0æ¾ç¤ºå¸¸å·ï¼1天津å
¶å®ä¸æ¾ç¤º |
| | | |
| | | //天津 |
| | | printLabel: { |
| | |
| | | state: () => ({ |
| | | companyName: 'éåç¦å天æç»çæéå
¬å¸', |
| | | address:'æµæ±çéåå¸éä¸åºæ¹å®
éå·¥ä¸åè½åºé¹¤å²©è¡28å·2å·', |
| | | telephone:'189 3119 1362 èµåé¿', |
| | | telephone:'153 8178 1915 ç¦å天æ', |
| | | fax:'', |
| | | errorArea:0.3, |
| | | widHeiLength:{//订å宽é«é¿åº¦ |
| | |
| | | }, |
| | | orderIdType:'year',//å端çæè®¢åå·ç±»åï¼day:æ¯å¤©çæï¼month:æ¯æçæ,year:æ¯å¹´çæ |
| | | deliveryIdType:'day', |
| | | deliveryDate:15,//订åå建éè´§æ¥æ 天津7天ï¼å¸¸å·7天ï¼ä¹ä¹15å¤©ï¼æ°ç15天 |
| | | columnName:'å¾å·', |
| | | selectOrderReviewShow:true, //订åé¦é¡µå å·¥åå®¡æ ¸æé®æ¯å¦æ¾ç¤º |
| | | productName:"product_name", |
| | |
| | | 'æ¶è´§æ¶ééªæ¶äº§åæ°éãè§æ ¼åææ ç ´æï¼å¦åç°é®é¢éäºæ¶è´§ä¸æ¥å
ï¼ä»¥ä¹¦é¢éç¥å¹¶éä¸ç°åºè¯æææï¼å¦ç ´æç
§ççï¼ï¼ç¸å
³è¯æèµæä¸è¶³ï¼æå¨ä¸è¿°æ¥æå
æªæåºè´¨éå¼è®®çï¼é¾æè§ä¸ºäº§ååæ ¼ï¼æå¸å°ä¸äºæ¿æ
ä»»ä½è´£ä»»ãæ¬è¯·çæï¼'], |
| | | deliveryOutbound: false,//åè´§é»è®¤åºåº |
| | | flowCardMerge: 0,//æµç¨å¡åçæå° |
| | | printBtn:1,//æå°çé¢ä¸ä¸ªæé®ä¸æ¯å¦æ¾ç¤ºæ ç¾æå°ç¸å
³æé®ï¼0æ¾ç¤ºå¸¸å·ï¼1天津å
¶å®ä¸æ¾ç¤º |
| | | //天津 |
| | | printLabel: { |
| | | custom: (item1) => { |
| | |
| | | {field: 'operationOrderNumber', width:'150', title: t('productStock.operationOrderNumber'),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: 'projectNo', width: '120',title:t('ingredientsStock.projectNo'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'quantity', width: '140',title: t('order.quantity'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'inventoryId',width: '100', title: t('ingredientsStock.id'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | | {field: 'materialCode',width: '140', title: t('ingredients.materialCode'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }}, |
| | |
| | | <el-breadcrumb-item v-show="false" @click="changeRouter(2)" :class="indexFlag===2?'indexTag':''" :to="{ path: '/main/order/createOrder' }">{{$t('order.page.createOrder')}}</el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(3)" :class="indexFlag===3?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizePrint' }">æå° |
| | | </el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(4)" :class="indexFlag===4?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizePrint' }">è°æ´ |
| | | <el-breadcrumb-item @click="changeRouter(4)" :class="indexFlag===4?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizeMove' }">è°æ´ |
| | | </el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(5)" :class="indexFlag===5?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizePrint' }">æ°æ§ |
| | | <el-breadcrumb-item @click="changeRouter(5)" :class="indexFlag===5?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizeMove' }">æ°æ§ |
| | | </el-breadcrumb-item> |
| | | <el-breadcrumb-item @click="changeRouter(6)" :class="indexFlag===6?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizePrint' }">设置 |
| | | <el-breadcrumb-item @click="changeRouter(6)" :class="indexFlag===6?'indexTag':''" :to="{ path: '/main/glassOptimize/optimizeMove' }">设置 |
| | | </el-breadcrumb-item> |
| | | <el-breadcrumb-item></el-breadcrumb-item> |
| | | </el-breadcrumb> |
New file |
| | |
| | | <template>
|
| | | <div style="width:100%;height:2000px;">
|
| | | <div class="layoutJSON">
|
| | | Displayed as <code>[x, y, w, h]</code>:
|
| | | <div class="columns">
|
| | | <div v-for="item in layout" :key="item.i">
|
| | | |
| | | <b>{{item.i}}</b>: [{{item.x}}, {{item.y}}, {{item.w}}, {{item.h}}]
|
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | <hr/>
|
| | | <input type="checkbox" v-model="draggable"/> Draggable
|
| | | <input type="checkbox" v-model="resizable"/> Resizable
|
| | | <input type="checkbox" v-model="responsive"/> Responsive
|
| | | <br/>
|
| | | <div style="width:100%;margin-top: 10px;height:100%;">
|
| | | <grid-layout v-model:layout="layout"
|
| | | :col-num="12"
|
| | | :row-height="30"
|
| | | :is-draggable="draggable"
|
| | | :is-resizable="resizable"
|
| | | :vertical-compact="true"
|
| | | :use-css-transforms="true"
|
| | | >
|
| | | |
| | | <grid-item v-for="item in layout"
|
| | | :key="item.i" |
| | | :static="item.static"
|
| | | :x="item.x"
|
| | | :y="item.y"
|
| | | :w="item.w"
|
| | | :h="item.h"
|
| | | :i="item.i"
|
| | | >
|
| | | <span class="text">{{item.i}}</span>
|
| | | </grid-item>
|
| | | |
| | | </grid-layout>
|
| | | </div>
|
| | | </div>
|
| | | </template>
|
| | | |
| | | <script>
|
| | | import { GridLayout, GridItem } from 'vue3-grid-layout';
|
| | | |
| | | export default {
|
| | | components: {
|
| | | GridLayout,
|
| | | GridItem,
|
| | | },
|
| | | data() {
|
| | | return {
|
| | | layout: [
|
| | | {"x":0,"y":0,"w":2,"h":2,"i":"0666*343"},
|
| | | {"x":2,"y":0,"w":2,"h":4,"i":"1"},
|
| | | {"x":4,"y":0,"w":2,"h":5,"i":"2"},
|
| | | {"x":6,"y":0,"w":2,"h":3,"i":"3"},
|
| | | {"x":8,"y":0,"w":2,"h":3,"i":"4"},
|
| | | {"x":10,"y":0,"w":2,"h":3,"i":"5"},
|
| | | {"x":0,"y":5,"w":2,"h":5,"i":"6"},
|
| | | {"x":2,"y":5,"w":2,"h":5,"i":"7"},
|
| | | {"x":4,"y":5,"w":2,"h":5,"i":"8"},
|
| | | {"x":6,"y":4,"w":2,"h":4,"i":"9"},
|
| | | {"x":8,"y":4,"w":2,"h":4,"i":"10"},
|
| | | {"x":10,"y":4,"w":2,"h":4,"i":"11"},
|
| | | {"x":0,"y":10,"w":2,"h":5,"i":"12"},
|
| | | {"x":2,"y":10,"w":2,"h":5,"i":"13"},
|
| | | {"x":4,"y":8,"w":2,"h":4,"i":"14"},
|
| | | {"x":6,"y":8,"w":2,"h":4,"i":"15"},
|
| | | {"x":8,"y":10,"w":2,"h":5,"i":"16"},
|
| | | {"x":10,"y":4,"w":2,"h":2,"i":"17"},
|
| | | {"x":0,"y":9,"w":2,"h":3,"i":"18"},
|
| | | {"x":2,"y":6,"w":2,"h":2,"i":"19"}
|
| | | ],
|
| | | draggable: true,
|
| | | resizable: true,
|
| | | responsive: true,
|
| | | index: 0
|
| | | }
|
| | | },
|
| | | methods: {
|
| | | }
|
| | | }
|
| | | </script>
|
| | | |
| | | <style scoped>
|
| | | .vue-grid-layout {
|
| | | background: #eee;
|
| | | }
|
| | | |
| | | .vue-grid-item:not(.vue-grid-placeholder) {
|
| | | background: #ccc;
|
| | | border: 1px solid black;
|
| | | }
|
| | | |
| | | .vue-grid-item .resizing {
|
| | | opacity: 0.9;
|
| | | }
|
| | | |
| | | .vue-grid-item .static {
|
| | | background: #cce;
|
| | | }
|
| | | |
| | | .vue-grid-item .text {
|
| | | font-size: 24px;
|
| | | text-align: center;
|
| | | position: absolute;
|
| | | top: 0;
|
| | | bottom: 0;
|
| | | left: 0;
|
| | | right: 0;
|
| | | margin: auto;
|
| | | height: 100%;
|
| | | width: 100%;
|
| | | }
|
| | | |
| | | .vue-grid-item .no-drag {
|
| | | height: 100%;
|
| | | width: 100%;
|
| | | }
|
| | | |
| | | .vue-grid-item .minMax {
|
| | | font-size: 12px;
|
| | | }
|
| | | |
| | | .vue-grid-item .add {
|
| | | cursor: pointer;
|
| | | }
|
| | | |
| | | .vue-draggable-handle {
|
| | | position: absolute;
|
| | | width: 20px;
|
| | | height: 20px;
|
| | | top: 0;
|
| | | left: 0;
|
| | | background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10'><circle cx='5' cy='5' r='5' fill='#999999'/></svg>") no-repeat;
|
| | | background-position: bottom right;
|
| | | padding: 0 8px 8px 0;
|
| | | background-repeat: no-repeat;
|
| | | background-origin: content-box;
|
| | | box-sizing: border-box;
|
| | | cursor: pointer;
|
| | | }
|
| | | |
| | | .layoutJSON {
|
| | | background: #ddd;
|
| | | border: 1px solid black;
|
| | | margin-top: 10px;
|
| | | padding: 10px;
|
| | | }
|
| | | |
| | | .columns {
|
| | | -moz-columns: 120px;
|
| | | -webkit-columns: 120px;
|
| | | columns: 120px;
|
| | | }
|
| | | |
| | | </style> |
| | |
| | | :layoutData="layoutData" |
| | | :gw="1200" |
| | | :gh="900" |
| | | style="width: 1200px; height: 900px; position: relative;" |
| | | style="width: 1200px; height: 800px; position: relative;" |
| | | /> |
| | | |
| | | |
| | |
| | | |
| | | "result": "ok", |
| | | "data": { |
| | | "Layouts": [{ |
| | | "mnumber": 1, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "60", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2310, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 60 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2310, |
| | | "y": 1715, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "23", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2080, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 23 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "71", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2080, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 71 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "63", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2180, |
| | | "x": 2080, |
| | | "y": 990, |
| | | "rownumber": 63 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2080, |
| | | "y": 265, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 120, |
| | | "x": 4380, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2080, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2080, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 990, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 110, |
| | | "x": 4150, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 1715, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 240, |
| | | "x": 4260, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 2, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 1715, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 990, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "22", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 265, |
| | | "rownumber": 22 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 360, |
| | | "x": 4140, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 1715, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 360, |
| | | "x": 4140, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 3, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 1715, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 990, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 265, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 2070, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 2440, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 360, |
| | | "x": 4140, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 4, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "61", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2070, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 61 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "27", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1989, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 27 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "25", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1956, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 25 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "26", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2065, |
| | | "x": 2070, |
| | | "y": 1715, |
| | | "rownumber": 26 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "64", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1700, |
| | | "x": 2070, |
| | | "y": 990, |
| | | "rownumber": 64 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "68", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 2070, |
| | | "y": 265, |
| | | "rownumber": 68 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "36", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 710, |
| | | "x": 3770, |
| | | "y": 990, |
| | | "rownumber": 36 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "35", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 710, |
| | | "x": 3770, |
| | | "y": 265, |
| | | "rownumber": 35 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1956, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 990, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 33, |
| | | "x": 1956, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 1715, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 81, |
| | | "x": 1989, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 365, |
| | | "x": 4135, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 70, |
| | | "x": 3700, |
| | | "y": 265, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1700, |
| | | "x": 2070, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 710, |
| | | "x": 3770, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 1715, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 20, |
| | | "x": 4480, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 5, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "37", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1770, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 37 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "34", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1408, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 34 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "37", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1770, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 37 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "72", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2060, |
| | | "x": 1770, |
| | | "y": 1715, |
| | | "rownumber": 72 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "66", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A07", |
| | | "JiaHao": "A07", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 627, |
| | | "x": 3830, |
| | | "y": 1715, |
| | | "rownumber": 66 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "59", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2060, |
| | | "x": 1770, |
| | | "y": 990, |
| | | "rownumber": 59 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "70", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A07", |
| | | "JiaHao": "A07", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 598, |
| | | "x": 3830, |
| | | "y": 990, |
| | | "rownumber": 70 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "59", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2060, |
| | | "x": 1770, |
| | | "y": 265, |
| | | "rownumber": 59 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "32", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 595, |
| | | "x": 3830, |
| | | "y": 265, |
| | | "rownumber": 32 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 362, |
| | | "x": 1408, |
| | | "y": 990, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1770, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 43, |
| | | "x": 4457, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 72, |
| | | "x": 4428, |
| | | "y": 990, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2060, |
| | | "x": 1770, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 75, |
| | | "x": 4425, |
| | | "y": 265, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 670, |
| | | "x": 3830, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 6, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "62", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2055, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 62 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "28", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1992, |
| | | "x": 2055, |
| | | "y": 1715, |
| | | "rownumber": 28 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "42", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1892, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 42 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "42", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1892, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 42 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "68", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 1892, |
| | | "y": 990, |
| | | "rownumber": 68 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "69", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A07", |
| | | "JiaHao": "A07", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 950, |
| | | "x": 3522, |
| | | "y": 990, |
| | | "rownumber": 69 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "65", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1970, |
| | | "x": 1892, |
| | | "y": 265, |
| | | "rownumber": 65 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "31", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 590, |
| | | "x": 3862, |
| | | "y": 265, |
| | | "rownumber": 31 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 453, |
| | | "x": 4047, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1892, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 28, |
| | | "x": 4472, |
| | | "y": 990, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 48, |
| | | "x": 4452, |
| | | "y": 265, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 2608, |
| | | "x": 1892, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 7, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "68", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 68 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "68", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 68 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "68", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 68 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "73", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1670, |
| | | "x": 1630, |
| | | "y": 1715, |
| | | "rownumber": 73 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "68", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 1630, |
| | | "y": 990, |
| | | "rownumber": 68 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "67", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1620, |
| | | "x": 1630, |
| | | "y": 265, |
| | | "rownumber": 67 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "43", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1148, |
| | | "x": 3300, |
| | | "y": 1715, |
| | | "rownumber": 43 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "30", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1165, |
| | | "x": 3300, |
| | | "y": 990, |
| | | "rownumber": 30 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "29", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1150, |
| | | "x": 3300, |
| | | "y": 265, |
| | | "rownumber": 29 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1630, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 40, |
| | | "x": 3260, |
| | | "y": 990, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1620, |
| | | "x": 1630, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 990, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 50, |
| | | "x": 3250, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 52, |
| | | "x": 4448, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 35, |
| | | "x": 4465, |
| | | "y": 990, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 50, |
| | | "x": 4450, |
| | | "y": 265, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1200, |
| | | "x": 3300, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "mnumber": 8, |
| | | "width": 4500, |
| | | "rects": [{ |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "65", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1970, |
| | | "x": 0, |
| | | "y": 1715, |
| | | "rownumber": 65 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "33", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1413, |
| | | "x": 1970, |
| | | "y": 1715, |
| | | "rownumber": 33 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "38", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1052, |
| | | "x": 3383, |
| | | "y": 1715, |
| | | "rownumber": 38 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "37", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A03", |
| | | "JiaHao": "A03", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1770, |
| | | "x": 0, |
| | | "y": 990, |
| | | "rownumber": 37 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "67", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A06", |
| | | "JiaHao": "A06", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1620, |
| | | "x": 1770, |
| | | "y": 990, |
| | | "rownumber": 67 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "69", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A07", |
| | | "JiaHao": "A07", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 950, |
| | | "x": 3390, |
| | | "y": 990, |
| | | "rownumber": 69 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "40", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1599, |
| | | "x": 0, |
| | | "y": 265, |
| | | "rownumber": 40 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "39", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1578, |
| | | "x": 1599, |
| | | "y": 265, |
| | | "rownumber": 39 |
| | | }, { |
| | | "isRemain": false, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "43", |
| | | "DM1": 0, |
| | | "liuchengka": "NG22091408A04", |
| | | "JiaHao": "A04", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 1148, |
| | | "x": 3177, |
| | | "y": 265, |
| | | "rownumber": 43 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 65, |
| | | "x": 4435, |
| | | "y": 1715, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 160, |
| | | "x": 4340, |
| | | "y": 990, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 725, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 175, |
| | | "x": 4325, |
| | | "y": 265, |
| | | "rownumber": 0 |
| | | }, { |
| | | "isRemain": true, |
| | | "h": 265, |
| | | "DM2": 0, |
| | | "xuhao": "null", |
| | | "DM1": 0, |
| | | "liuchengka": "null", |
| | | "JiaHao": "null", |
| | | "LM2": 0, |
| | | "LM1": 0, |
| | | "w": 4500, |
| | | "x": 0, |
| | | "y": 0, |
| | | "rownumber": 0 |
| | | }], |
| | | "wuliao": "KC2006145", |
| | | "SameCount": 1, |
| | | "height": 2440 |
| | | }, { |
| | | "Layouts": [ { |
| | | "mnumber": 9, |
| | | "width": 4500, |
| | | "rects": [{ |
| | |
| | | <style scoped>
|
| | | .layout-container {
|
| | | position: relative;
|
| | |
|
| | | }
|
| | |
|
| | | .layout-rect {
|
| | |
| | | const {currentRoute} = useRouter() |
| | | const route = currentRoute.value |
| | | |
| | | let orderId = route.query.orderId |
| | | let productionId = route.query.productionId |
| | | const orderId = route.query.orderId |
| | | const productionId = route.query.productionId |
| | | |
| | | const orderOtherMoney = ref(null) |
| | | |
| | |
| | | }, |
| | | filterConfig: { //çéé
置项 |
| | | //remote: true |
| | | }, |
| | | formConfig: { |
| | | data: { |
| | | shelfThickness: 2000, |
| | | spacerThickness: 0, |
| | | inWeight: 4000, |
| | | inMaxQuantity: 20, |
| | | inLenMin:400, |
| | | inLenMax:3500, |
| | | inShortMax:2500, |
| | | inShortMin:400 |
| | | }, |
| | | rules:{ |
| | | shelfThickness: [ |
| | | { required: true, message: t('basicData.msg.greater0'),type:'number',pattern:/^[1-9]\d*$/ } |
| | | ], |
| | | spacerThickness: [ |
| | | { required: true, message: t('delivery.pleaseEnterANumericalValueGreaterThanOrEqualTo0'),type:'number',pattern:/^[0-9]\d*$/ } |
| | | ], |
| | | inWeight: [ |
| | | { required: true, message: t('basicData.msg.greater0'),type:'number',pattern:/^[1-9]\d*$/ } |
| | | ] |
| | | }, |
| | | items:[ |
| | | { field: 'shelfThickness', title: 'æ¶å纵深(mm)', itemRender: { name: 'VxeInput' },span:8,folding: true}, |
| | | { field: 'inWeight', title: 'æ¶åæ¿éï¼KGï¼', itemRender: { name: 'VxeInput' },span:8,folding: true }, |
| | | { field: 'spacerThickness', title: 'é´éå度(mm)', itemRender: { name: 'VxeInput' } ,span:8,folding: true}, |
| | | { field: 'inLenMax', title: 'é¿è¾¹æå¤§(mm)', itemRender: { name: 'VxeInput' },span:8,folding: true }, |
| | | { field: 'inLenMin', title: 'é¿è¾¹æç(mm)', itemRender: { name: 'VxeInput' },span:8,folding: true }, |
| | | { field: 'inMaxQuantity', title: 'æå¤§æ°é', itemRender: { name: 'VxeInput' } ,span:8,folding: true}, |
| | | { field: 'inShortMax', title: 'çè¾¹æå¤§(mm)', itemRender: { name: 'VxeInput' },span:8,folding: true }, |
| | | { field: 'inShortMin', title: 'çè¾¹æç(mm)', itemRender: { name: 'VxeInput' },span:8,folding: true }, |
| | | { |
| | | span: 24, |
| | | collapseNode: true, |
| | | align: 'center', |
| | | itemRender: { |
| | | name: 'VxeButtonGroup', |
| | | options: [ |
| | | { type: 'submit', content: 'æºè½åæ¶', status: 'primary' }, |
| | | { type: 'reset', content: 'éç½®' } |
| | | ] |
| | | } |
| | | } |
| | | ] |
| | | }, |
| | | customConfig: { |
| | | storage: true |
| | |
| | | }) |
| | | return parseFloat(count.toFixed(2)) |
| | | } |
| | | |
| | | return '' |
| | | }) |
| | | ] |
| | | }, |
| | | |
| | | }) |
| | | const gridEventsRight = { |
| | | formSubmit () { |
| | | let form = gridOptions.formConfig.data |
| | | form.orderId =orderId |
| | | form.productionId = productionId |
| | | request.post(`/processCard/processCardAutoRack`,form).then(res => { |
| | | xGridLeft.value.reloadData(res.data.orderDetailList) |
| | | xGrid.value.reloadData(res.data.orderDetailsNotScope) |
| | | }) |
| | | }, |
| | | formReset () { |
| | | router.push({ |
| | | path: '/main/processCard/AddProcessCard', |
| | | query: {orderId: orderId, |
| | | productionId: productionId, |
| | | random:Math.random() |
| | | } |
| | | }) |
| | | } |
| | | } |
| | | |
| | | //左侧åç»ä»¶æ¥æ¶åæ° |
| | | const xGridLeft = ref() |
| | |
| | | class="mytable-scrollbar" |
| | | height="100%" |
| | | v-bind="gridOptions" |
| | | v-on="gridEventsRight" |
| | | @checkbox-change="handleCheckboxChange" |
| | | > |
| | | <!-- @toolbar-button-click="toolbarButtonClickEvent"--> |
| | |
| | | }, |
| | | ] |
| | | let hidePrintLabels = company.printLabel.hideButton; |
| | | let btnType = company.printBtn; |
| | | |
| | | if (hidePrintLabels == 'true') { |
| | | filteredOptions = lableTypeOptions.filter((option, index) => index !== 2); |
| | |
| | | data.value.printList = JSON.parse(route.query.printList) |
| | | |
| | | let inquiryMode = route.query.checkedValue |
| | | |
| | | // ç¬¬ä¸æ¬¡å è½½æ¥è¯¢ |
| | | request.post(`/processCard/selectPrint/${inquiryMode}`, data.value).then((res) => { |
| | | |
| | |
| | | gridOptions.loading = false |
| | | |
| | | |
| | | hideButton() |
| | | hideButton(); |
| | | hideHead() |
| | | } else { |
| | | ElMessage.warning(res.msg) |
| | | } |
| | |
| | | const hideButton = () => { |
| | | // æ ¹æ®æ¡ä»¶å¼ hidePrintLabels è¿æ»¤æé®æ°ç» |
| | | gridOptions.toolbarConfig.buttons = gridOptions.toolbarConfig.buttons.filter(button => { |
| | | // è¿éæ ¹æ® hidePrintLabels çå¼å³å®æ¯å¦éè printLabel å printLabel2 |
| | | if (hidePrintLabels == 'true') { |
| | | return button.code !== 'printLabel' && button.code !== 'printLabel2' ; |
| | | } else { |
| | | return true && button.code !== 'printLike'; // æ¾ç¤ºè¯¥æé® |
| | | // æ ¹æ® hidePrintLabels è¿æ»¤ printLabel å printLabel2 æé® |
| | | if (hidePrintLabels === 'true') { |
| | | if (button.code === 'printLabel' || button.code === 'printLabel2') { |
| | | return false; // éè printLabel å printLabel2 |
| | | } |
| | | } |
| | | }) |
| | | // 妿 printBtn 为 '1'ï¼åéè customLabel æé® |
| | | if (btnType == 1 && button.code === 'customLabel') { |
| | | console.log('Hiding customLabel button'); |
| | | return false; // éè customLabel æé® |
| | | } |
| | | |
| | | // é»è®¤æ
åµä¸è¿å trueï¼ä¿çå
¶ä»æé® |
| | | return true; |
| | | }); |
| | | } |
| | | |
| | | |
| | | const hideHead = () => { |
| | | |
| | | // 夿 btnType æ¯å¦çäº '1' (å¯ä»¥æ ¹æ®éè¦è°æ´ä¸ºæ°å 1) |
| | | if (btnType == 1) { |
| | | const headDiv = document.querySelector('.head'); |
| | | if (headDiv) { |
| | | headDiv.style.display = 'none'; // éè class="head" ç div |
| | | } |
| | | } |
| | | } |
| | | |
| | | // ç嬿å°å®æäºä»¶ |
| | | const printNumber = () => { |
| | | |
| | |
| | | }, |
| | | ] |
| | | let hidePrintLabels = company.printLabel.hideButton; |
| | | let btnType = company.printBtn; |
| | | |
| | | if (hidePrintLabels == 'true') { |
| | | filteredOptions = lableTypeOptions.filter((option, index) => index !== 2); |
| | |
| | | request.post(`/processCard/selectPrintDetails/${inquiryMode}/${type}`, data.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | console.log(res.data.data) |
| | | let newDataCollection = []; |
| | | for (let i = 0; i < res.data.data.length; i++) { |
| | | res.data.data[i].detail.forEach((item) => { |
| | |
| | | { |
| | | field: 'technology_number', |
| | | title: t('processCard.technologyNumber'), |
| | | filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged, width: 100 |
| | | }, |
| | | { |
| | | field: 'width', |
| | | title: t('order.width'), |
| | | filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged, width: 100 |
| | | }, |
| | | { |
| | | field: 'height', |
| | | title: t('order.height'), |
| | | filters: [{data: ''}], |
| | | slots: {filter: 'num1_filter'}, |
| | | filterMethod: filterChanged, width: 100 |
| | |
| | | } |
| | | |
| | | const hideButton = () => { |
| | | // æ ¹æ®æ¡ä»¶å¼ hidePrintLabels è¿æ»¤æé®æ°ç» |
| | | gridOptions.toolbarConfig.buttons = gridOptions.toolbarConfig.buttons.filter(button => { |
| | | // è¿éæ ¹æ® hidePrintLabels çå¼å³å®æ¯å¦éè printLabel å printLabel2 |
| | | // 妿 type ä¸ä¸ºç©ºæ¶ï¼éè print æé® |
| | | if (btnType == 1 && button.code === 'print') { |
| | | return false; // éè print æé® |
| | | } |
| | | |
| | | // æ ¹æ® hidePrintLabels çå¼å¤ææ¯å¦éè printLabelãprintLabel2 å customLabel |
| | | if (hidePrintLabels == 'true') { |
| | | return button.code !== 'printLabel' && button.code !== 'printLabel2' && button.code !== 'customLabel'; |
| | | } else { |
| | | return true && button.code !== 'printLike' && button.code !== 'printLabel3' && button.code !== 'printTest'; // æ¾ç¤ºè¯¥æé® |
| | | // 妿 hidePrintLabels 䏿¯ 'true'ï¼åéè printLikeãprintLabel3 å printTest |
| | | return button.code !== 'printLike' && button.code !== 'printLabel3' && button.code !== 'printTest'; |
| | | } |
| | | }) |
| | | } |
| | | |
| | | // é»è®¤è¿å trueï¼è¡¨ç¤ºä¿çæé® |
| | | return true; |
| | | }); |
| | | }; |
| | | |
| | | |
| | | // ç嬿å°å®æäºä»¶ |
| | | |
| | | // ç嬿尿¬¡æ°äºä»¶ |
| | | const printNumber = () => { |
| | | |
| | | selectRecordsData.value.printList = selectRecords |
| | | let printState = 0 |
| | | request.post(`/processCard/updatePrintState/${printState}`, selectRecordsData.value).then((res) => { |
| | | request.post(`/processCard/updatePrintNumber`, selectRecordsData.value).then((res) => { |
| | | if (res.code == 200 && res.data === true) { |
| | | } else { |
| | | |
| | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | </script> |
| | | |
| | | <template> |
| | |
| | | destroy-on-close |
| | | style="width: 80%;height:75% "> |
| | | <template #header="{ close, titleId, titleClass }"> |
| | | <el-button v-print="printContentLabel" :icon="Printer" circle/> |
| | | <el-button v-print="printContentLabel" :icon="Printer" circle @click="printNumber"/> |
| | | </template> |
| | | <print-custom-label id="childLabel" |
| | | :faceOrientation="labelRow.faceOrientation" |
| | |
| | | "{display:none}@media print{" + |
| | | "@page {" + |
| | | " size: auto; " + |
| | | " margin: 13mm 4mm 2mm 4mm; " + |
| | | " margin: 13mm 4mm 0mm 4mm; " + |
| | | " }body>:not(#" + |
| | | printId + |
| | | "){display:none !important}body>#" + |
| | |
| | | <el-input v-if="!company.showDeliveryCreator" v-model="remarks" style="background-color: transparent;border: none;margin-top: -20px;width: 100px"/> |
| | | <div id="printFlowCard" > |
| | | <!-- åæåæ ç¾--> |
| | | <div v-if="type!=='3'" id="entirety" v-for="(item,id) in labelList" > |
| | | |
| | | <template v-for="(item,id) in labelList"> |
| | | <div v-if="type!=='3'" id="entirety" > |
| | | <div class="row1" > |
| | | <!--é¢åçå¾åºå·ï¼é¢åçå¾éç顺åº--> |
| | | <!-- <div class="cell" v-if="item.heat_layout_id!==undefined">{{ item.heat_layout_id }}/{{ item.heat_layout_sort }}</div>--> |
| | |
| | | </div> |
| | | |
| | | <div class="row3" v-if="item.other_columns!=null&&(JSON.parse(item.other_columns).S02!=null)"> |
| | | <span v-if="item.heat_layout_id!==null && company.showDeliveryCreator" style="font-size: 7pt;"> |
| | | <span v-if="item.heat_layout_id!==undefined && company.showDeliveryCreator" style="font-size: 7pt;"> |
| | | ({{ item.stock_id }}) {{ item.heat_layout_id }}/{{ item.heat_layout_sort }} |
| | | </span> |
| | | <span v-if="item.stock_id!==null && !company.showDeliveryCreator" style="font-size: 7pt"> |
| | | <span v-if="item.stock_id!==undefined && !company.showDeliveryCreator" style="font-size: 7pt"> |
| | | {{ item.stock_id }}/{{ item.polys_id }} |
| | | </span> |
| | | {{JSON.parse(item.other_columns).S02}}={{item.quantity}} |
| | | </div> |
| | | <div class="row3" v-else> |
| | | <span v-if="item.heat_layout_id!==null && company.showDeliveryCreator" style="font-size: 7pt;"> |
| | | <span v-if="item.heat_layout_id!==undefined && company.showDeliveryCreator" style="font-size: 7pt;"> |
| | | ({{ item.stock_id }}) {{ item.heat_layout_id }}/{{ item.heat_layout_sort }} |
| | | </span> |
| | | <span v-if="item.stock_id!==null && !company.showDeliveryCreator" style="font-size: 7pt"> |
| | | <span v-if="item.stock_id!==undefined && !company.showDeliveryCreator" style="font-size: 7pt"> |
| | | {{ item.stock_id }}/{{ item.polys_id }} |
| | | </span> |
| | | {{Math.round(item.width)}}x{{Math.round(item.height)}}={{item.quantity}} |
| | |
| | | <span>{{item.glass_child}}</span> |
| | | <span v-if="company.showDeliveryCreator" style="font-size: 10pt" >{{item.processing_note}}</span> |
| | | <span v-else style="font-size: 6pt">{{item.processing_note}}</span> |
| | | |
| | | <br v-if="!company.showDeliveryCreator" /> |
| | | <span v-if="!company.showDeliveryCreator" style="font-size: 6pt;margin-top: -10px">{{item.product_name}}</span> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="element-to-break-after" v-if="(id+1)%44==0"></div> |
| | | </template> |
| | | |
| | | |
| | | |
| | |
| | | <span style="font-size: 10pt">{{item.glass_child}}</span> |
| | | </div> |
| | | </div> |
| | | <div class="element-to-break-after" v-if="(id+1)%44==0"></div> |
| | | </template> |
| | | |
| | | </div> |
| | |
| | | #entirety{ |
| | | text-align: center; |
| | | width: 180px; |
| | | height: 87px; |
| | | margin-bottom: 10px; |
| | | height: 90px; |
| | | margin-bottom: 7px; |
| | | margin-right: 5px; |
| | | overflow: hidden; |
| | | white-space: nowrap; |
| | |
| | | .row1 { |
| | | font-size: 8pt; |
| | | font-weight: bold; |
| | | height: 15px; |
| | | height: 20px; |
| | | } |
| | | .row1 span { |
| | | font-size: 10pt; |
| | |
| | | |
| | | .row3 { |
| | | margin-top: -5px; |
| | | height: 20px; |
| | | height: 25px; |
| | | font-size: 15pt; |
| | | font-weight: bolder; |
| | | } |
| | | |
| | | .row5 { |
| | | margin-top: 5px; |
| | | height: 15px; |
| | | font-weight: bold; |
| | | font-size: 6pt; |
| | |
| | | } |
| | | |
| | | .row6 { |
| | | height: 15px; |
| | | height: 25px; |
| | | font-weight: bold; |
| | | font-size: 4pt; |
| | | } |
| | |
| | | font-size: 6pt; |
| | | } |
| | | |
| | | .element-to-break-after { |
| | | page-break-after: always; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | <div class="main-div-customer"> |
| | | |
| | | <vxe-grid |
| | | max-height="100%" |
| | | height="99%" |
| | | @filter-change="filterChanged" |
| | | class="mytable-scrollbar" |
| | | ref="xGrid" |
| | |
| | | let produceList = ref([]) |
| | | let titleStyleVisible = ref(false) |
| | | |
| | | //å®ä¹åæ¶ç¶æ |
| | | const optionVal = ref('1') |
| | | const options = [ |
| | | { |
| | | value: '0', |
| | | label: 'æªåæ¶', |
| | | }, |
| | | { |
| | | value: '1', |
| | | label: '已忶', |
| | | }, |
| | | ] |
| | | |
| | | |
| | | const form = reactive({ |
| | | date1: '', |
| | |
| | | let endTime = orderInfo.workOrderDate[1] |
| | | let orderId=form.orderId |
| | | let project=form.project |
| | | |
| | | let state = optionVal.value |
| | | if (orderId==''){ |
| | | orderId=null |
| | | } |
| | |
| | | |
| | | //ç¬¬ä¸æ¬¡å è½½æ°æ® |
| | | |
| | | request.post(`/processCard/selectPrintFlowCard/${startTime}/${endTime}/${orderId}/${project}/${userId}`, filterData.value).then((res) => { |
| | | request.post(`/processCard/selectPrintFlowCard/${startTime}/${endTime}/${orderId}/${project}/${userId}/${state}`, filterData.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | produceList = produceList.value.concat(deepClone(res.data.data)) |
| | |
| | | if (project==''){ |
| | | project=null |
| | | } |
| | | request.post(`/processCard/selectPrintFlowCard/${startTime}/${endTime}/${orderId}/${project}/${userId}`, filterData.value).then((res) => { |
| | | let state = optionVal.value |
| | | |
| | | request.post(`/processCard/selectPrintFlowCard/${startTime}/${endTime}/${orderId}/${project}/${userId}/${state}`, filterData.value).then((res) => { |
| | | if (res.code == 200) { |
| | | |
| | | xGrid.value.loadData(res.data.data) |
| | |
| | | //{'code': 'titleStyle', 'name': t('processCard.labelStyle'),status: 'primary'}, |
| | | {code: 'detailsPrint', name: t('processCard.detailPrinting'), status: 'primary'}, |
| | | {code: 'detailsProcessPrint', name: t('processCard.detailsPrintedSeparately'), status: 'primary'}, |
| | | |
| | | {code: 'orderPrint', name: '订åæå°', status: 'primary'}, |
| | | ], |
| | | |
| | | zoom: true, |
| | |
| | | ElMessage.warning(t('searchOrder.msgList.checkOrder')) |
| | | return |
| | | } |
| | | |
| | | if (optionVal.value != '1'){ |
| | | ElMessage.warning('è¯·éæ©å·²åæ¶è®¢åæå°') |
| | | return |
| | | } |
| | | let orderIdList = "" |
| | | for (let i = 0; i < selectRecords.length; i++) { |
| | | if (i + 1 === selectRecords.length) { |
| | |
| | | ElMessage.warning(t('searchOrder.msgList.checkOrder')) |
| | | return |
| | | } |
| | | |
| | | if (optionVal.value != '1'){ |
| | | ElMessage.warning('è¯·éæ©å·²åæ¶è®¢åæå°') |
| | | return |
| | | } |
| | | let orderIdList = "" |
| | | for (let i = 0; i < selectRecords.length; i++) { |
| | | if (i + 1 === selectRecords.length) { |
| | |
| | | ElMessage.warning(t('searchOrder.msgList.checkOrder')) |
| | | return |
| | | } |
| | | |
| | | if (optionVal.value != '1'){ |
| | | ElMessage.warning('è¯·éæ©å·²åæ¶è®¢åæå°') |
| | | return |
| | | } |
| | | let orderIdList = "" |
| | | for (let i = 0; i < selectRecords.length; i++) { |
| | | if (i + 1 === selectRecords.length) { |
| | |
| | | } |
| | | let array = orderIdList.split('|'); |
| | | router.push({path: '/main/processCard/PrintFlowCardDetails', query: {printList: JSON.stringify(selectRecords),checkedValue:checkedValue.value.value,type:2}}) |
| | | return; |
| | | |
| | | } |
| | | case 'orderPrint': { |
| | | const selectRecords = $grid.getCheckboxRecords() |
| | | if(selectRecords===null ||selectRecords===''||selectRecords.length===0){ |
| | | ElMessage.warning(t('searchOrder.msgList.checkOrder')) |
| | | return |
| | | } |
| | | if (optionVal.value != '0'){ |
| | | ElMessage.warning('è¯·éæ©æªåæ¶è®¢åæå°') |
| | | return |
| | | } |
| | | let orderIdList = "" |
| | | for (let i = 0; i < selectRecords.length; i++) { |
| | | if (i + 1 === selectRecords.length) { |
| | | orderIdList += selectRecords[i].order_id |
| | | } else { |
| | | orderIdList += selectRecords[i].order_id + "|" |
| | | } |
| | | } |
| | | let array = orderIdList.split('|'); |
| | | router.push({path: '/main/processCard/PrintFlowCardDetails', query: {printList: JSON.stringify(selectRecords),checkedValue:checkedValue.value.value,type:3}}) |
| | | return; |
| | | |
| | | } |
| | |
| | | |
| | | <el-input v-model="form.project" clearable :placeholder="$t('order.project')" style="width: 110px"></el-input> |
| | | |
| | | |
| | | <el-select |
| | | :default-first-option="true" |
| | | ref="getSelect" style="width: 130px" |
| | | v-model="optionVal" |
| | | class="m-2" |
| | | @change="getWorkOrder" |
| | | > |
| | | <el-option |
| | | v-for="item in options" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | /> |
| | | </el-select> |
| | | |
| | | <el-button |
| | | id="select" |
| | | :icon="Search" |
| | |
| | | toolbarConfig: { |
| | | buttons: [ |
| | | {code: 'update', name: t('processCard.composing'), status: 'primary'}, |
| | | {code: 'revoke', name: t('processCard.revoke'), status: 'primary'}, |
| | | {code: 'delete', name: t('basicData.delete'), status: 'primary'}, |
| | | {code: 'rack', name: t('åæ¶'), status: 'primary'}, |
| | | ], |
| | |
| | | return; |
| | | |
| | | } |
| | | case 'revoke': { |
| | | const $table = xGrid.value |
| | | if ($table) { |
| | | const selectRecords = $table.getCheckboxRecords() |
| | | if (selectRecords.length == 0) { |
| | | ElMessage.warning(t('processCard.pleaseCheckTheRequiredData')) |
| | | return; |
| | | } |
| | | |
| | | let composingData = ref({ |
| | | composing: selectRecords, |
| | | }) |
| | | selectRecords.forEach(item => { |
| | | if (item.layoutStatus == "å·²æç"){ |
| | | ElMessage.warning(t('processCard.notSelectTheOptionData')) |
| | | return; |
| | | } |
| | | }); |
| | | //æ¤é坿çç¶æ |
| | | request.post("/processCard/revokeComposing", composingData.value).then((res) => { |
| | | if (res.code == 200 && res.data === true) { |
| | | ElMessage.success(t('basicData.msg.saveSuccess')) |
| | | router.push({ |
| | | path: '/main/processCard/SelectProcessCard', |
| | | query: {random: Math.random()} |
| | | }) |
| | | } else { |
| | | |
| | | ElMessage.warning("æ¤é失败ï¼è¯·æ£æ¥æ¯å¦å·²çæå·¥ç¨å·") |
| | | |
| | | } |
| | | }) |
| | | |
| | | } |
| | | return; |
| | | |
| | | } |
| | | case 'delete': { |
| | | const $table = xGrid.value |
| | | if ($table) { |
| | |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal= res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | produceList = produceList.value.concat(deepClone(res.data.data)) |
| | | xGrid.value.reloadData(produceList) |
| | | gridOptions.loading = false |
| | |
| | | request.post(`/report/damageReport/${pageNum.value}/${total.pageSize}/${startTime}/${newEndTime}`, filterData.value).then((res) => { |
| | | if (res.code == 200) { |
| | | |
| | | |
| | | total.value = res.data.footSum |
| | | produceList = deepClone(res.data.data) |
| | | xGrid.value.reloadData(produceList) |
| | | } else { |
| | |
| | | request.post(`/report/damageReport/${pageNum.value}/${total.pageSize}/${startTime}/${newEndTime}`, filterData.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | total.value = res.data.footSum |
| | | total.dataTotal = res.data.total.total * 1 |
| | | total.pageTotal = res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | |
| | | request.post(`/report/damageReport/1/${total.pageSize}/${startTime}/${newEndTime}`, filterData.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | total.value = res.data.footSum |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal=parseInt(res.data.total) |
| | | pageNum.value=1 |
| | |
| | | } |
| | | const List = ["breakageQuantity",'area',] |
| | | if (List.includes(column.field)) { |
| | | return footSum(data, column.field) |
| | | // return footSum(data, column.field) |
| | | return total.value?.[column.field] ?? 0 |
| | | } |
| | | return '' |
| | | }) |
| | |
| | | res.data.data.forEach(item => { |
| | | item.reportWorkQuantity = JSON.parse(item.reportWorkQuantity) |
| | | item.reportWorkQuantityCount = JSON.parse(item.reportWorkQuantityCount) |
| | | item.reportWorkTime = JSON.parse(item.reportWorkTime) |
| | | //item.reportWorkTime = JSON.parse(item.reportWorkTime) |
| | | }) |
| | | mergeCells.value = res.data.mergeCell |
| | | xGrid.value.loadData(res.data.data) |
| | |
| | | // total.dataTotal = res.data.total.total*1 |
| | | // total.pageTotal= res.data.total.pageTotal |
| | | // pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | produceList = produceList.value.concat(deepClone(res.data.data)) |
| | | titleSelectJson.value.processType = res.data.process |
| | | xGrid.value.reloadData(produceList) |
| | |
| | | request.post(`/report/selectProcessToBeCompleted/${pageNum.value}/${total.pageSize}/${startTime}/${newEndTime}/${inputVal}`, filterData.value).then((res) => { |
| | | if (res.code == 200) { |
| | | |
| | | |
| | | total.value = res.data.footSum |
| | | produceList = deepClone(res.data.data) |
| | | xGrid.value.reloadData(produceList) |
| | | } else { |
| | |
| | | // total.dataTotal = res.data.total.total*1 |
| | | // total.pageTotal= res.data.total.pageTotal |
| | | // pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | produceList = deepClone(res.data.data) |
| | | xGrid.value.reloadData(produceList) |
| | | } else { |
| | |
| | | } |
| | | const List = ["quantity",'childArea','actualArea','completeNum','completeArea','incompleteNum','incompleteArea'] |
| | | if (List.includes(column.field)) { |
| | | return footSum(data, column.field) |
| | | //return footSum(data, column.field) |
| | | return total.value?.[column.field] ?? 0 |
| | | } |
| | | return '' |
| | | }) |
| | |
| | | request.post(`/report/teamOutput/1/${total.pageSize}/${startTime}/${newEndTime}/${selectProcesses}`, filterData.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | total.value = res.data.footSum |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal= res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | |
| | | request.post(`/report/teamOutput/${pageNum.value}/${total.pageSize}/${startTime}/${newEndTime}/${selectProcesses}`, filterData.value).then((res) => { |
| | | if (res.code == 200) { |
| | | |
| | | |
| | | total.value = res.data.footSum |
| | | produceList = deepClone(res.data.data) |
| | | xGrid.value.reloadData(produceList) |
| | | } else { |
| | |
| | | request.post(`/report/teamOutput/${pageNum.value}/${total.pageSize}/${startTime}/${newEndTime}/${selectProcesses}`, filterData.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | total.value = res.data.footSum |
| | | total.dataTotal = res.data.total.total * 1 |
| | | total.pageTotal = res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal=parseInt(res.data.total) |
| | | pageNum.value=1 |
| | | total.value = res.data.footSum |
| | | produceList = deepClone(res.data.data) |
| | | xGrid.value.reloadData(produceList) |
| | | gridOptions.loading=false |
| | |
| | | } |
| | | const List = ["completedQuantity",'area',] |
| | | if (List.includes(column.field)) { |
| | | return footSum(data, column.field) |
| | | //return footSum(data, column.field) |
| | | return total.value?.[column.field] ?? 0 |
| | | } |
| | | return '' |
| | | }) |
| | |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal= res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | produceList = produceList.value.concat(deepClone(res.data.data)) |
| | | titleSelectJson.value.processType = res.data.process |
| | | titleSelectJson.value.processType.splice(0,1) |
| | |
| | | if (optionVal == '') { |
| | | optionVal = null |
| | | } |
| | | console.log(selectProcesses) |
| | | request.post(`/report/workInProgress/${pageNum.value}/${total.pageSize}/${inputVal}/${inputProject}/${selectProcesses}/${optionVal}`, filterData.value).then((res) => { |
| | | |
| | | if (res.code == 200) { |
| | | total.value = res.data.footSum |
| | | produceList = deepClone(res.data.data) |
| | | xGrid.value.reloadData(produceList) |
| | | } else { |
| | |
| | | total.dataTotal = res.data.total.total * 1 |
| | | total.pageTotal = res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | xGrid.value.reloadData(res.data.data) |
| | | gridOptions.loading = false |
| | | } else { |
| | |
| | | } |
| | | const List = ["quantity",'stockNum','stockArea',] |
| | | if (List.includes(column.field)) { |
| | | return footSum(data, column.field) |
| | | //return footSum(data, column.field) |
| | | return total.value?.[column.field] ?? 0 |
| | | } |
| | | return '' |
| | | }) |
| | |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal= res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | produceList = produceList.value.concat(deepClone(res.data.data)) |
| | | // 使ç¨mapæ¹æ³æ¥å¤çæ¯ä¸ªå¯¹è±¡ |
| | | let modifiedCollection = produceList.map(item => { |
| | |
| | | let newEndTime = date.toISOString().split('T')[0]; // è·å YYYY-MM-DD æ ¼å¼çå符串 |
| | | request.post(`/reportingWork/selectReportingWork/${pageNum.value}/${total.pageSize}/${startTime}/${newEndTime}/${inputVal}`,filterData.value).then((res) => { |
| | | if(res.code==200){ |
| | | |
| | | total.value = res.data.footSum |
| | | |
| | | produceList = deepClone(res.data.data) |
| | | // 使ç¨mapæ¹æ³æ¥å¤çæ¯ä¸ªå¯¹è±¡ |
| | |
| | | total.dataTotal = res.data.total.total*1 |
| | | total.pageTotal= res.data.total.pageTotal |
| | | pageTotal.value = res.data.total |
| | | total.value = res.data.footSum |
| | | produceList=res.data.data |
| | | // 使ç¨mapæ¹æ³æ¥å¤çæ¯ä¸ªå¯¹è±¡ |
| | | let modifiedCollection = produceList.map(item => { |
| | |
| | | } |
| | | const List = ["thisCompletedQuantity",'completedArea','thisWornQuantity','wornArea'] |
| | | if (List.includes(column.field)) { |
| | | return footSum(data, column.field) |
| | | //return footSum(data, column.field) |
| | | return total.value?.[column.field] ?? 0 |
| | | } |
| | | return '' |
| | | }) |
| | |
| | | titleUploadData.value.alType = titleSelectJson.value.alType[0].basicName |
| | | titleUploadData.value.calculateType = company.calculateType |
| | | const today = new Date |
| | | today.setTime(today.getTime() + (7 * 24 * 60 * 60 * 1000)) |
| | | today.setTime(today.getTime() + (company.deliveryDate * 24 * 60 * 60 * 1000)) |
| | | titleUploadData.value.deliveryDate = today.getFullYear() + |
| | | '-' + ("0" + (today.getMonth() + 1)).slice(-2) |
| | | + '-' + ("0" + today.getDate()).slice(-2) |
| | |
| | | return |
| | | } |
| | | titleUploadData.value.project = item.project |
| | | titleUploadData.value.salesmanId = item.salesmanId |
| | | titleUploadData.value.salesmanId = parseInt(item.salesmanId) |
| | | titleUploadData.value.salesman = item.salesman |
| | | titleUploadData.value.contacts = item.contacts |
| | | titleUploadData.value.contactNumber = item.contactNumber |
| | |
| | | |
| | | @ApiOperation("æµç¨å¡æå°æ¥è¯¢æ¥å£") |
| | | @SaCheckPermission("selectPrintFlowCard.search") |
| | | @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}") |
| | | @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}/{state}") |
| | | public Result selectPrintFlowCard( |
| | | @PathVariable Date selectTime1, |
| | | @PathVariable Date selectTime2, |
| | | @PathVariable String orderId, |
| | | @PathVariable String project, |
| | | @PathVariable String userId, |
| | | @PathVariable Integer state, |
| | | @RequestBody FlowCard flowCard) { |
| | | return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId, flowCard)); |
| | | return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId,state, flowCard)); |
| | | } |
| | | |
| | | @ApiOperation("æµç¨å¡æç»æ¥è¯¢æ¥å£") |
| | |
| | | return Result.seccess(flowCardService.updateComposingSv(object)); |
| | | } |
| | | |
| | | @ApiOperation("å¤éæ¡æ¤é坿çç¶æ") |
| | | @SaCheckPermission("selectProcessCard.review") |
| | | @PostMapping("/revokeComposing") |
| | | public Result revokeComposing( |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | |
| | | return Result.seccess(flowCardService.revokeComposingSv(object)); |
| | | } |
| | | @ApiOperation("æµç¨å¡æå°æç»æ°æ®æåºæ¥è¯¢æ¥å£") |
| | | @PostMapping("/printFlowCardDetails/{processId}/{technologyNumber}/{process}") |
| | | public Result printFlowCardDetails(@PathVariable String processId, |
| | |
| | | import com.example.erp.common.Result; |
| | | import com.example.erp.entity.pp.TagStyle; |
| | | import com.example.erp.service.pp.TagStyleService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Map; |
| | | |
| | | @RestController |
| | | @RequestMapping("tagStyle") |
| | |
| | | public Result addTag(@RequestBody TagStyle tagStyle){ |
| | | return Result.seccess(tagStyleService.addTag(tagStyle)); |
| | | } |
| | | |
| | | @ApiOperation("ä¿®æ¹æ ç¾æå°æ¬¡æ°") |
| | | @PostMapping("/updatePrintNumber") |
| | | public Result updatePrintNumber( |
| | | @RequestBody Map<String, Object> object |
| | | ) { |
| | | return Result.seccess(tagStyleService.updatePrintNumberSv(object)); |
| | | } |
| | | } |
| | |
| | | @ExcelProperty("产å") |
| | | private String productName; |
| | | @ExcelProperty("æ°é") |
| | | private Integer quantity; |
| | | private Double quantity; |
| | | @ExcelProperty("é¢ç§¯") |
| | | private Double area; |
| | | @ExcelProperty("åä»·") |
| | |
| | | private String inventoryArea; |
| | | @ExcelProperty("夿³¨") |
| | | private String remarks; |
| | | @ExcelProperty("å·¥ç¨å·") |
| | | private String projectNo; |
| | | @ExcelProperty("æä½äºº") |
| | | private String operator; |
| | | @ExcelProperty("å建æ¶é´") |
| | |
| | | //private Product product; |
| | | |
| | | @TableField(exist= false,select = false) |
| | | private String flowCardId; |
| | | private String processId; |
| | | @TableField(exist= false,select = false) |
| | | private String baiscQuantity; |
| | | @TableField(exist= false,select = false) |
| | | private Integer landingSequence; |
| | | |
| | | } |
| | |
| | | |
| | | Boolean updateOptimizeUsesMes(@Param("useId") Integer useId,@Param("quantity") Integer quantity); |
| | | |
| | | String selectProjectNo(@Param("useId") Integer useId); |
| | | |
| | | } |
| | |
| | | Boolean deleteReportingWork(String processId); |
| | | Boolean deleteReportingWorkByOrderId(String orderId); |
| | | |
| | | List<Map<String, String>> selectPrintFlowCardMp(Date selectTime1, Date selectTime2, String orderId, String project, FlowCard flowCard); |
| | | List<Map<String, String>> selectPrintFlowCardMp(Date selectTime1, Date selectTime2, String orderId, String project, Integer state, FlowCard flowCard); |
| | | |
| | | List<Map<String, String>> selectPrintFlowCard(Date selectTime1, Date selectTime2); |
| | | |
| | |
| | | |
| | | Map<String,Object> getGlassThicknessByProdutionId(String orderId,String productionId); |
| | | |
| | | List<OrderDetail> getOrderDetailByProductionId(String orderId, String productionId); |
| | | List<OrderDetail> getOrderDetailByProductionId(String orderId, String productionId,String type,Float inLenMax,Float inLenMin,Float inShortMax,Float inShortMin); |
| | | |
| | | Boolean revokeComposing(String processId); |
| | | |
| | | Integer selectProjectNo(String processId); |
| | | |
| | | List<Map<String, String>> selectPrintDetailsMp2(String orderId); |
| | | |
| | | List<Map<String, Object>> getPrintOrderDataDetails(String orderId, Integer orderNumber, Integer printQuantity); |
| | | |
| | | Boolean updatePrintNumberMp(String processId, Integer orderNumber); |
| | | } |
| | |
| | | Boolean updateOrderProcessDetailCancel(@Param("patchLog") PatchLog patchLog,@Param("reportingWork") ReportingWork reportingWork); |
| | | |
| | | Boolean updateReplenishCancel(@Param("patchLog") PatchLog patchLog); |
| | | |
| | | Integer selectProjectCount(String processId); |
| | | } |
| | | |
| | |
| | | |
| | | List<TeamOutputDTO> exportTeamOutputMp(List<LocalDate> date, String process); |
| | | |
| | | Map<String,Float> workInProgressOrderFootSum(String orderId, String inputProject, String selectProcesses, WorkInProgressDTO workInProgressDTO); |
| | | |
| | | Map<String,Float> processToBeCompletedFootSum(Date selectTime1, Date selectTime2, String orderId, String inputProject, String selectProcesses, Report report); |
| | | |
| | | Map<String,Float> damageReportFootSum(Date selectTime1, Date selectTime2, DamageReportDTO damageReportDTO); |
| | | |
| | | Map<String,Float> teamOutputFootSum(Date selectTime1, Date selectTime2, String selectProcesses, TeamOutputDTO teamOutputDTO); |
| | | |
| | | |
| | | // Map<String, Integer> getWorkInProgressTotal( |
| | | // @Param("selectTime1") Date selectTime1, @Param("selectTime2") Date selectTime2, |
| | |
| | | String getProcessLaminating(String process); |
| | | |
| | | String selectOrderid(String processIdStr); |
| | | |
| | | Map<String,Float> getFootSum(Date selectTime1, Date selectTime2, String orderId, ReportingWork reportingWork); |
| | | } |
| | |
| | | //å 餿æåºåºæç»çæ°æ® |
| | | materialInventoryMapper.deleteMaterialOutboundDetail(materialOutboundId); |
| | | materialInventoryMapper.updateMaterialOutbound(materialOutbound, materialOutboundId); |
| | | materialInventoryMapper.deleteMaterialLog(materialOutboundId); |
| | | oddNumber = materialOutboundId; |
| | | log.setFunction("saveMaterialOutboundä¿®æ¹:"+oddNumber); |
| | | } else { |
| | |
| | | materialInventoryMapper.insertMaterialOutboundDetail(materialOutboundDetail, oddNumber, materialOutboundDetailMaximum + 1); |
| | | //ä¿®æ¹ç©æåºå表åºåºæ°é |
| | | materialInventoryMapper.updateMaterialInventoryAvailableOut(materialOutboundDetail.getId(), materialOutboundDetail.getOutboundQuantity()); |
| | | if(materialOutboundDetail.getUseId()!=null){ |
| | | //ä¿®æ¹ä¼åå·¥ç¨è¡¨åºåºæ°é |
| | | materialInventoryMapper.updateMaterialInventoryAvailableOptOut(materialOutboundDetail.getUseId(), materialOutboundDetail.getOutboundQuantity()); |
| | | }/*else{ |
| | | String projectNo=""; |
| | | if(materialOutboundDetail.getUseId()!=null){ |
| | | projectNo = materialInventoryMapper.selectProjectNo(materialOutboundDetail.getUseId()); |
| | | //ä¿®æ¹ä¼åå·¥ç¨è¡¨åºåºæ°é |
| | | materialInventoryMapper.updateMaterialInventoryAvailableOptOut(materialOutboundDetail.getUseId(), materialOutboundDetail.getOutboundQuantity()); |
| | | |
| | | }/*else{ |
| | | //ä¿®æ¹ç©æåºå表åºåºæ°é |
| | | materialInventoryMapper.updateMaterialInventoryAvailableOut(materialOutboundDetail.getId(), materialOutboundDetail.getOutboundQuantity()); |
| | | }*/ |
| | | }*/ |
| | | String json=""; |
| | | MaterialStore materialStore=materialStoreMapper.getSelectMaterialStoreById(Long.valueOf(materialOutboundDetail.getMaterialCode())); |
| | | json=materialStore.getJson().substring(1, materialStore.getJson().length() - 1); |
| | |
| | | materialLog.setInventoryId(materialOutboundDetail.getId()); |
| | | materialLog.setInventoryArea(materialInventory.getInventoryArea()); |
| | | materialLog.setRemarks(materialOutboundDetail.getRemarks()); |
| | | materialLog.setProjectNo(projectNo); |
| | | materialLog.setOperator(object.get("userName").toString()); |
| | | materialLog.setOperateTime(LocalDate.now()); |
| | | materialLogMapper.insert(materialLog); |
| | |
| | | sysError.setError(e+Arrays.toString(e.getStackTrace())); |
| | | sysError.setFunc("saveMaterialOutbound"); |
| | | sysErrorService.insert(sysError); |
| | | saveState = "false1"; |
| | | saveState = "false"; |
| | | |
| | | } |
| | | return saveState; |
| | |
| | | for (MaterialOutboundDetail materialOutboundDetail : materialOutboundDetailLists) { |
| | | //è¿åç©æåºåæ° |
| | | materialInventoryMapper.updateMaterialInventoryAvailableInt(materialOutboundDetail.getInventoryId(), materialOutboundDetail.getOutboundQuantity()); |
| | | |
| | | if(materialOutboundDetail.getUseId()!=null){ |
| | | //è¿åä¼åå·¥ç¨åºåæ° |
| | | materialInventoryMapper.updateMaterialInventoryAvailableOptInt(materialOutboundDetail.getUseId(), materialOutboundDetail.getOutboundQuantity()); |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | return map; |
| | | } |
| | | |
| | | public Object selectPrintFlowCardSv(Date selectTime1, Date selectTime2, String orderId, String project, String userId, FlowCard flowCard) { |
| | | public Object selectPrintFlowCardSv(Date selectTime1, Date selectTime2, String orderId, String project, String userId, Integer state, FlowCard flowCard) { |
| | | if ("null".equals(orderId)) { |
| | | orderId = ""; |
| | | } |
| | |
| | | project = ""; |
| | | } |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("data", flowCardMapper.selectPrintFlowCardMp(selectTime1, selectTime2, orderId, project, flowCard)); |
| | | map.put("data", flowCardMapper.selectPrintFlowCardMp(selectTime1, selectTime2, orderId, project,state, flowCard)); |
| | | String roleId = flowCardMapper.selectUserMp(userId); |
| | | map.put("user", roleId); |
| | | return map; |
| | |
| | | if (!flowCardList.isEmpty()) { |
| | | for (FlowCard flowCard : flowCardList) { |
| | | Map<String, Object> itemmap = new HashMap<>(); |
| | | if (type == 1) { |
| | | if (type == 1) {//æç»æå° |
| | | itemmap.put("detail", flowCardMapper.selectPrintDetailsMp(flowCard.getOrderId())); |
| | | } else if (type == 2) { |
| | | } else if (type == 2) {//æç»åæ¶æå° |
| | | itemmap.put("detail", flowCardMapper.selectPrintDetailsMp1(flowCard.getOrderId())); |
| | | }else if (type == 3) {//订åæå° |
| | | itemmap.put("detail", flowCardMapper.selectPrintDetailsMp2(flowCard.getOrderId())); |
| | | } |
| | | |
| | | list.add(itemmap); |
| | |
| | | |
| | | if (lableType != 2) {//æåæ ç¾ |
| | | for (FlowCard flowCard : flowCardList) { |
| | | String orderId = flowCard.getOrderId(); |
| | | String processId = flowCard.getProcessId(); |
| | | String orderNumber = flowCard.getOrderNumber().toString(); |
| | | if (processId!=null){ |
| | | // æ£æ¥æ¯å¦å·²ç»å¤çè¿è¯¥ processIdï¼å¦æå¤çè¿åè·³è¿ |
| | | if (processedProcessIds.contains(processId) && processedProcessIds.contains(orderNumber)) { |
| | | continue; |
| | | } |
| | | Map<String, Object> itemmap = new HashMap<>(); |
| | | itemmap.put("data", flowCardMapper.getPrintCustomDataDetails(flowCard.getProcessId(), flowCard.getOrderNumber(), flowCard.getPrintQuantity())); |
| | | list.add(itemmap); |
| | | |
| | | // æ£æ¥æ¯å¦å·²ç»å¤çè¿è¯¥ processIdï¼å¦æå¤çè¿åè·³è¿ |
| | | if (processedProcessIds.contains(processId) && processedProcessIds.contains(orderNumber)) { |
| | | continue; |
| | | } |
| | | Map<String, Object> itemmap = new HashMap<>(); |
| | | itemmap.put("data", flowCardMapper.getPrintCustomDataDetails(flowCard.getProcessId(), flowCard.getOrderNumber(), flowCard.getPrintQuantity())); |
| | | list.add(itemmap); |
| | | // å°è¯¥ processId å å
¥å·²å¤çéå |
| | | processedProcessIds.add(processId); |
| | | processedProcessIds.add(orderNumber); |
| | | } else{ |
| | | |
| | | // å°è¯¥ processId å å
¥å·²å¤çéå |
| | | processedProcessIds.add(processId); |
| | | processedProcessIds.add(orderNumber); |
| | | Map<String, Object> itemmap = new HashMap<>(); |
| | | itemmap.put("data", flowCardMapper.getPrintOrderDataDetails(flowCard.getOrderId(), flowCard.getOrderNumber(), flowCard.getPrintQuantity())); |
| | | list.add(itemmap); |
| | | } |
| | | |
| | | } |
| | | } else {//å°çæ ç¾ |
| | | for (FlowCard flowCard : flowCardList) { |
| | |
| | | } |
| | | |
| | | public Object processCardAutoRack(Map<String, Object> object) { |
| | | String orderId = "NG25000004"; |
| | | String productionId = "NG25000004B"; |
| | | /*String orderId = object.get("orderId").toString(); |
| | | String orderId = object.get("orderId").toString(); |
| | | String productionId = object.get("productionId").toString(); |
| | | Integer inMaxQuantity = Integer.parseInt(object.get("inMaxQuantity").toString()); |
| | | Float inWeight = Float.parseFloat(object.get("inWeight").toString()); |
| | | Float shelfThickness = Float.parseFloat(object.get("shelfThickness").toString())*1000; |
| | | Float shelfThickness = Float.parseFloat(object.get("shelfThickness").toString()); |
| | | Float spacerThickness = Float.parseFloat(object.get("spacerThickness").toString()); |
| | | */ |
| | | Float inLenMax = Float.parseFloat(object.get("inLenMax").toString()); |
| | | Float inLenMin = Float.parseFloat(object.get("inLenMin").toString()); |
| | | Float inShortMax = Float.parseFloat(object.get("inShortMax").toString()); |
| | | Float inShortMin = Float.parseFloat(object.get("inShortMin").toString()); |
| | | |
| | | /*String orderId = "NG25000004"; |
| | | String productionId = "NG25000004A"; |
| | | Integer inMaxQuantity = 1; |
| | | Float inWeight = 100.0f; |
| | | Float inWeight = 4000.0f; |
| | | Float shelfThickness = 2000.0f; |
| | | /*å«çå度*/ |
| | | Float spacerThickness = 0.0f; |
| | | Float maxHeight = 1520.0f; |
| | | Float maxWid = 400.0f; |
| | | Float spacerThickness = 0.0f;//å«çå度*/ |
| | | |
| | | |
| | | Map<String, Object> thickness = flowCardMapper.getGlassThicknessByProdutionId(orderId, productionId); |
| | | |
| | | //æåç»çæ»å度 |
| | | Float glassTotalThickness = Float.parseFloat(thickness.get("totalThickness").toString()); |
| | | //æåç»çå度 |
| | | Float glassThickness = Float.parseFloat(thickness.get("thickness").toString()); |
| | | |
| | | //è·åæ¤å·¥ç¨å·è®¢åæç»ä¿¡æ¯ |
| | | List<OrderDetail> orderDetails = flowCardMapper.getOrderDetailByProductionId(orderId, productionId); |
| | | List<OrderDetail> orderDetails = flowCardMapper.getOrderDetailByProductionId(orderId, productionId,"scope",inLenMax,inLenMin,inShortMax,inShortMin); |
| | | List<OrderDetail> orderDetailsNotScope = flowCardMapper.getOrderDetailByProductionId(orderId, productionId,"notScope",inLenMax,inLenMin,inShortMax,inShortMin); |
| | | |
| | | //æ ¹æ®ç»çå度åå«çå度å½åæ¶åæå¤§å¯æ¾æ°é |
| | | Integer shelfMaxQuantityByThickness = (int) (shelfThickness / (glassTotalThickness + spacerThickness)); |
| | |
| | | ); |
| | | //å½å订åæç»å©ä½æ°é |
| | | if (shelfQuantity == 0) { |
| | | shelfQuantity = shelfQuantityByWeight; |
| | | }else if(shelfQuantity>0){ |
| | | String FlowCardId = orderDetailList.get(orderDetailList.size() - 1).getFlowCardId(); |
| | | shelfQuantity =Math.min( Math.min(shelfMaxQuantityByThickness,inMaxQuantity),shelfQuantityByWeight); |
| | | }else if(shelfQuantity>0){//æ¶åå©ä½æ°é大äº0æ¶ï¼å¤æå½åæ¶åå©ä½ééï¼æ¯å¦æ¯æææ°åºå·ççæåéé |
| | | String FlowCardId = orderDetailList.get(orderDetailList.size() - 1).getProcessId(); |
| | | double flowCardWeight = 0.0; |
| | | for (OrderDetail orderDetail1 : orderDetailList) { |
| | | if (orderDetail1.getFlowCardId().equals(FlowCardId)) { |
| | | if (orderDetail1.getProcessId().equals(FlowCardId)) { |
| | | flowCardWeight += orderDetail1.getHeight()*orderDetail1.getQuantity()* orderDetail1.getWidth()* glassThickness* 2.5 / 1000000; |
| | | } |
| | | } |
| | | if(flowCardWeight>0){ |
| | | //System.out.println(inWeight+","+flowCardWeight); |
| | | flowCardWeight = inWeight - flowCardWeight; |
| | | shelfQuantity = (int) (flowCardWeight / |
| | | //æç
§å½åæµç¨å¡å©ä½ééï¼è®¡ç®å½åæµç¨å¡å©ä½æ°é |
| | | int remainingQuantity = (int) (flowCardWeight / |
| | | (orderDetail.getHeight() |
| | | * orderDetail.getWidth() |
| | | * glassThickness |
| | | * 2.5 / 1000000)); |
| | | shelfQuantity =Math.min(Math.min(Math.min(shelfQuantityByWeight, Math.min(inMaxQuantity, shelfMaxQuantityByThickness)),shelfQuantity),remainingQuantity); |
| | | if (shelfQuantity == 0) { |
| | | shelfQuantity = shelfQuantityByWeight; |
| | | shelfQuantity = Math.min(shelfQuantityByWeight, Math.min(inMaxQuantity, shelfMaxQuantityByThickness)); |
| | | flowCardNo += 1; |
| | | } |
| | | } |
| | | |
| | | } |
| | | //åæå°å¼ |
| | | Integer maxQuantity = 0; |
| | | //Integer maxQuantity = 0; |
| | | while (orderDetail.getQuantity() > 0) { |
| | | OrderDetail newOrderDetail = new OrderDetail(); |
| | | //彿»å¾ªç¯ä¸ï¼å½åæ¶åå©ä½æ°é为0æ¶ï¼éæ°è®¡ç®æ¶åå©ä½æ°é |
| | | if (shelfQuantity == 0) { |
| | | shelfQuantity = shelfQuantityByWeight; |
| | | shelfQuantity = Math.min(Math.min(shelfMaxQuantityByThickness,inMaxQuantity),shelfQuantityByWeight); |
| | | } |
| | | String processId = productionId + String.format("%05d", flowCardNo); |
| | | String processId = productionId + String.format("%03d", flowCardNo); |
| | | //åæå°å¼ |
| | | maxQuantity = Math.min(shelfQuantity, Math.min(inMaxQuantity, shelfMaxQuantityByThickness)); |
| | | /*System.out.println(shelfQuantity + "," + inMaxQuantity + "," + shelfMaxQuantityByThickness); |
| | | //maxQuantity = Math.min(shelfQuantity, Math.min(inMaxQuantity, shelfMaxQuantityByThickness)); |
| | | //maxQuantity = Math.min(shelfQuantity, shelfMaxQuantityByThickness); |
| | | |
| | | /*System.out.println("订ååºå·ï¼"+orderDetail.getOrderNumber()); |
| | | System.out.println(shelfQuantity + "," + "," + shelfMaxQuantityByThickness); |
| | | System.out.println(flowCardNo + "," + maxQuantity); |
| | | System.out.println("------");*/ |
| | | if(shelfQuantity<=0){ |
| | | return false; |
| | | } |
| | | |
| | | if (orderDetail.getQuantity() > maxQuantity) { |
| | | newOrderDetail.setFlowCardId(processId); |
| | | newOrderDetail.setQuantity(Long.valueOf(maxQuantity)); |
| | | if (orderDetail.getQuantity() > shelfQuantity) { |
| | | newOrderDetail.setProcessId(processId); |
| | | newOrderDetail.setQuantity(Long.valueOf(shelfQuantity)); |
| | | newOrderDetail.setHeight(orderDetail.getHeight()); |
| | | newOrderDetail.setWidth(orderDetail.getWidth()); |
| | | newOrderDetail.setOrderNumber(orderDetail.getOrderNumber()); |
| | | newOrderDetail.setShape(orderDetail.getShape()); |
| | | newOrderDetail.setLandingSequence(flowCardNo); |
| | | orderDetailList.add(newOrderDetail); |
| | | orderDetail.setQuantity(orderDetail.getQuantity() - maxQuantity); |
| | | orderDetail.setQuantity(orderDetail.getQuantity() - shelfQuantity); |
| | | flowCardNo += 1; |
| | | shelfQuantity = shelfQuantity - shelfQuantity; |
| | | } else { |
| | | newOrderDetail.setFlowCardId(processId); |
| | | newOrderDetail.setProcessId(processId); |
| | | newOrderDetail.setQuantity(orderDetail.getQuantity()); |
| | | newOrderDetail.setHeight(orderDetail.getHeight()); |
| | | newOrderDetail.setWidth(orderDetail.getWidth()); |
| | | newOrderDetail.setOrderNumber(orderDetail.getOrderNumber()); |
| | | newOrderDetail.setShape(orderDetail.getShape()); |
| | | newOrderDetail.setLandingSequence(flowCardNo); |
| | | orderDetailList.add(newOrderDetail); |
| | | //å½åæ¶åå©ä½æ°é |
| | | shelfQuantity = shelfQuantity - Math.toIntExact(orderDetail.getQuantity()); |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | return orderDetailList; |
| | | Map<String, Object> map = new HashMap<>(); |
| | | Collections.reverse(orderDetailList); |
| | | map.put("orderDetailList", orderDetailList); |
| | | map.put("orderDetailsNotScope", orderDetailsNotScope); |
| | | return map; |
| | | } |
| | | |
| | | |
| | | public Boolean revokeComposingSv(Map<String, Object> object) { |
| | | List<FlowCard> flowCardList = JSONArray.parseArray(JSONObject.toJSONString(object.get("composing")), FlowCard.class); |
| | | if (!flowCardList.isEmpty()) { |
| | | for (FlowCard flowCard : flowCardList) { |
| | | //è·å没æå·¥ç¨å·çæ¡æ°ï¼å·²çæå·¥ç¨å·ä¸è½æ¤å |
| | | Integer count = flowCardMapper.selectProjectNo(flowCard.getProcessId()); |
| | | if (count == 0){ |
| | | flowCardMapper.revokeComposing(flowCard.getProcessId()); |
| | | } else { |
| | | return false; |
| | | } |
| | | |
| | | } |
| | | return true; |
| | | } else { |
| | | return false; |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | List<PatchLog> patchLoglist = JSONArray.parseArray(JSONObject.toJSONString(object.get("patchLog")), PatchLog.class); |
| | | if (!patchLoglist.isEmpty()){ |
| | | for (PatchLog patchLog : patchLoglist) { |
| | | //æ¥è¯¢æ¯å¦å·²çæå·¥ç¨å· |
| | | Integer projectCount = patchMapper.selectProjectCount(patchLog.getProcessId()); |
| | | //æ¥è¯¢æµç¨å¡å·¥èºæµç¨ |
| | | String technologicalProcess = reportingWorkMapper.SelectTechnologicalProcess(patchLog.getProcessId(), String.valueOf(patchLog.getTechnologyNumber())); |
| | | if (technologicalProcess!=null || !technologicalProcess.equals("")) { |
| | | String[] processList = technologicalProcess.split("->"); |
| | | //è·åå·¥èºæµç¨ç¬¬ä¸ä¸ªå·¥åº |
| | | String interceptProcess = processList[0]; |
| | | Integer firstStep=reportingWorkMapper.getFirstStep(patchLog.getProcessId(),patchLog.getOrderSort(),patchLog.getTechnologyNumber(),interceptProcess); |
| | | if (firstStep>=patchLog.getPatchNum()){ |
| | | ReportingWork reportingWork = reportingWorkMapper |
| | | .selectOne(new QueryWrapper<ReportingWork>().eq("reporting_work_id",patchLog.getReportingWorkId())); |
| | | //ä¿®æ¹å°çæµç¨å¡æ°é |
| | | patchMapper.updateOrderProcessDetailCancel(patchLog,reportingWork); |
| | | //å®¡æ ¸ |
| | | patchMapper.updateReplenishCancel(patchLog); |
| | | } |
| | | else { |
| | | saveState = false; |
| | | } |
| | | }else{ |
| | | if (projectCount == 0){ |
| | | if (technologicalProcess!=null || !technologicalProcess.equals("")) { |
| | | String[] processList = technologicalProcess.split("->"); |
| | | //è·åå·¥èºæµç¨ç¬¬ä¸ä¸ªå·¥åº |
| | | String interceptProcess = processList[0]; |
| | | Integer firstStep=reportingWorkMapper.getFirstStep(patchLog.getProcessId(),patchLog.getOrderSort(),patchLog.getTechnologyNumber(),interceptProcess); |
| | | if (firstStep>=patchLog.getPatchNum()){ |
| | | ReportingWork reportingWork = reportingWorkMapper |
| | | .selectOne(new QueryWrapper<ReportingWork>().eq("reporting_work_id",patchLog.getReportingWorkId())); |
| | | //ä¿®æ¹å°çæµç¨å¡æ°é |
| | | patchMapper.updateOrderProcessDetailCancel(patchLog,reportingWork); |
| | | //å®¡æ ¸ |
| | | patchMapper.updateReplenishCancel(patchLog); |
| | | } |
| | | else { |
| | | saveState = false; |
| | | } |
| | | }else{ |
| | | saveState = false; |
| | | } |
| | | |
| | | Log log = new Log(); |
| | | log.setContent(object.toString()); |
| | | log.setFunction("updateCancelReviewSvè¡¥çå审"); |
| | | log.setOperatorId((String) object.get("userId")); |
| | | log.setOperator((String) object.get("userName")); |
| | | logService.saveLog(log); |
| | | } else { |
| | | saveState = false; |
| | | } |
| | | |
| | | Log log = new Log(); |
| | | log.setContent(object.toString()); |
| | | log.setFunction("updateCancelReviewSvè¡¥çå审"); |
| | | log.setOperatorId((String) object.get("userId")); |
| | | log.setOperator((String) object.get("userName")); |
| | | logService.saveLog(log); |
| | | } |
| | | } |
| | | |
| | |
| | | /* æ ¹æ®éå®åå·æ±æ»*/ |
| | | map.put("data", reportMapper.workInProgressOrderMp(offset, pageSize, orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | map.put("total", reportMapper.workInProgressOrderTotal(offset, pageSize, orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | |
| | | map.put("footSum" ,reportMapper.workInProgressOrderFootSum(orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | }else if(optionVal.equals("2")){ |
| | | /* æ ¹æµç¨å¡å·æ±æ»*/ |
| | | map.put("data", reportMapper.workInProgressProcessMp(offset, pageSize, orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | map.put("total", reportMapper.workInProgressProcessTotal(offset, pageSize, orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | map.put("footSum" ,reportMapper.workInProgressOrderFootSum(orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | |
| | | } else if (optionVal.equals("3")) { |
| | | |
| | | } else { |
| | | //没æéæ©åç» |
| | | map.put("data", reportMapper.workInProgressMp(offset, pageSize, orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | map.put("total", reportMapper.workInProgressTotal(offset, pageSize, orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | map.put("footSum" ,reportMapper.workInProgressOrderFootSum(orderId, inputProject, selectProcesses, workInProgressDTO)); |
| | | |
| | | } |
| | | map.put("process", productionSchedulingMapper.selectProcess()); |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("data", reportMapper.processToBeCompletedMp(selectTime1, selectTime2, orderId, inputProject, selectProcesses, report)); |
| | | map.put("process", productionSchedulingMapper.selectProcess()); |
| | | map.put("footSum" ,reportMapper.processToBeCompletedFootSum(selectTime1, selectTime2, orderId, inputProject, selectProcesses, report)); |
| | | |
| | | return map; |
| | | } |
| | | |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("data", reportMapper.selectDamageReportMp(offset, pageSize, selectTime1, selectTime2, damageReportDTO)); |
| | | map.put("total", reportMapper.getDamageReportPageTotal(offset, pageSize, selectTime1, selectTime2, damageReportDTO)); |
| | | map.put("footSum" ,reportMapper.damageReportFootSum(selectTime1, selectTime2, damageReportDTO)); |
| | | return map; |
| | | } |
| | | |
| | |
| | | map.put("data", reportMapper.teamOutputMp(offset, pageSize, selectTime1, selectTime2,selectProcesses, teamOutputDTO)); |
| | | map.put("process", productionSchedulingMapper.selectProcess()); |
| | | map.put("total", reportMapper.teamOutputPageTotal(offset, pageSize, selectTime1, selectTime2,selectProcesses, teamOutputDTO)); |
| | | map.put("footSum" ,reportMapper.teamOutputFootSum(selectTime1, selectTime2,selectProcesses, teamOutputDTO)); |
| | | return map; |
| | | } |
| | | |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("data", reportingWorkMapper.selectReportingWorkMp(offset, pageSize, selectTime1, selectTime2, orderId, reportingWork)); |
| | | map.put("total", reportingWorkMapper.getPageTotal(offset, pageSize, selectTime1, selectTime2, orderId, reportingWork)); |
| | | map.put("footSum" ,reportingWorkMapper.getFootSum(selectTime1, selectTime2, orderId,reportingWork)); |
| | | return map; |
| | | } |
| | | |
| | |
| | | JSONObject reportingWorkJson = new JSONObject(reportingWorkMap); |
| | | ReportingWork reportingWork = JSONObject.parseObject(JSONObject.toJSONString(reportingWorkJson.get("title")), ReportingWork.class); |
| | | ReportingWorkDetail reportingWorkDetail =JSON.parseObject(JSONObject.toJSONString(reportingWorkJson.get("detail")), ReportingWorkDetail.class); |
| | | |
| | | //æ¥è¯¢æµç¨å¡å·¥èºæµç¨ |
| | | String technologicalProcess = reportingWorkMapper.SelectTechnologicalProcess(reportingWork.getProcessId(), reportingWorkDetail.getTechnologyNumber()); |
| | | |
| | | int index = technologicalProcess.indexOf("-"); |
| | | String interceptProcess = ""; |
| | | if (index <0){ |
| | | interceptProcess = technologicalProcess; |
| | | } |
| | | else { |
| | | //è·åå·¥èºæµç¨ç¬¬ä¸ä¸ªå·¥åº |
| | | interceptProcess = technologicalProcess.substring(0, index); |
| | | } |
| | | int processNum =0; |
| | | if (interceptProcess.equals(reportingWork.getThisProcess())) { |
| | | processNum = reportingWorkMapper.selectFlowCardNum( |
| | | reportingWorkDetail.getOrderNumber(), |
| | | reportingWorkDetail.getTechnologyNumber(), |
| | | reportingWork.getProcessId(), |
| | | reportingWork.getThisProcess() |
| | | ); |
| | | }else{ |
| | | processNum = reportingWorkMapper.selectGlassProcessNum( |
| | | reportingWorkDetail.getOrderNumber(), |
| | | reportingWorkDetail.getTechnologyNumber(), |
| | | reportingWork.getProcessId(), |
| | | reportingWork.getThisProcess() |
| | | ); |
| | | } |
| | | |
| | | //è·å坿¥æ°é |
| | | int processNum = reportingWorkMapper.selectGlassProcessNum( |
| | | reportingWorkDetail.getOrderNumber(), |
| | | reportingWorkDetail.getTechnologyNumber(), |
| | | reportingWork.getProcessId(), |
| | | reportingWork.getThisProcess() |
| | | ); |
| | | |
| | | //夿æ¯å¦å¤§äºå½åæ°é并䏿åºå¼å¸¸ |
| | | if (processNum < (reportingWorkDetail.getBreakageQuantity() + reportingWorkDetail.getCompletedQuantity())) { |
| | | return false; |
| | |
| | | package com.example.erp.service.pp; |
| | | |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import com.example.erp.entity.pp.FlowCard; |
| | | import com.example.erp.entity.pp.TagStyle; |
| | | import com.example.erp.mapper.pp.FlowCardMapper; |
| | | import com.example.erp.mapper.pp.TagStyleMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Service |
| | | @DS("pp") |
| | | public class TagStyleService { |
| | | private final TagStyleMapper tagStyleMapper; |
| | | |
| | | public TagStyleService(TagStyleMapper tagStyleMapper) { |
| | | final |
| | | FlowCardMapper flowCardMapper; |
| | | |
| | | public TagStyleService(TagStyleMapper tagStyleMapper, FlowCardMapper flowCardMapper) { |
| | | this.tagStyleMapper = tagStyleMapper; |
| | | this.flowCardMapper = flowCardMapper; |
| | | } |
| | | |
| | | public Boolean saveTag(TagStyle tagStyle) { |
| | |
| | | tagStyle.setId(null); |
| | | return tagStyleMapper.insert(tagStyle)>0; |
| | | } |
| | | |
| | | public Boolean updatePrintNumberSv(Map<String, Object> object) { |
| | | List<FlowCard> flowCardList = JSONArray.parseArray(JSONObject.toJSONString(object.get("printList")), FlowCard.class); |
| | | if (!flowCardList.isEmpty()) { |
| | | for (FlowCard flowCard : flowCardList) { |
| | | // æ´æ°æå°ç¶æ |
| | | flowCardMapper.updatePrintNumberMp( flowCard.getProcessId(), flowCard.getOrderNumber()); |
| | | } |
| | | return true; |
| | | } else { |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | |
| | | </if> |
| | | |
| | | <if test="materialLog.inventoryId != null and materialLog.inventoryId != ''"> |
| | | and ml.inventoryId regexp #{materialLog.inventoryId} |
| | | and ml.inventory_id regexp #{materialLog.inventoryId} |
| | | </if> |
| | | <if test="materialLog.materialCode != null and materialLog.materialCode != ''"> |
| | | and ml.materialCode regexp #{materialLog.materialCode} |
| | | and ml.material_code regexp #{materialLog.materialCode} |
| | | </if> |
| | | <if test="materialLog.materialName != null and materialLog.materialName != ''"> |
| | | and ml.materialName regexp #{materialLog.materialName} |
| | | and ml.material_name regexp #{materialLog.materialName} |
| | | </if> |
| | | <if test="materialLog.producer != null and materialLog.producer != ''"> |
| | | and ml.producer regexp #{materialLog.producer} |
| | |
| | | </if> |
| | | <if test="materialLog.remarks != null and materialLog.remarks != ''"> |
| | | and ml.remarks regexp #{materialLog.remarksr} |
| | | </if> |
| | | <if test="materialLog.projectNo != null and materialLog.projectNo != ''"> |
| | | and ml.project_no regexp #{materialLog.projectNo} |
| | | </if> |
| | | </where> |
| | | order by ml.id desc |
| | |
| | | </if> |
| | | |
| | | <if test="materialLog.inventoryId != null and materialLog.inventoryId != ''"> |
| | | and ml.inventoryId regexp #{materialLog.inventoryId} |
| | | and ml.inventory_id regexp #{materialLog.inventoryId} |
| | | </if> |
| | | <if test="materialLog.materialCode != null and materialLog.materialCode != ''"> |
| | | and ml.materialCode regexp #{materialLog.materialCode} |
| | | and ml.material_code regexp #{materialLog.materialCode} |
| | | </if> |
| | | <if test="materialLog.materialName != null and materialLog.materialName != ''"> |
| | | and ml.materialName regexp #{materialLog.materialName} |
| | | and ml.material_name regexp #{materialLog.materialName} |
| | | </if> |
| | | <if test="materialLog.producer != null and materialLog.producer != ''"> |
| | | and ml.producer regexp #{materialLog.producer} |
| | |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="updateMaterialOutboundOptimizeUses"> |
| | | <update id="updateMaterialOutboundOptimizeUses"> |
| | | update mm.material_outbound_detail set outbound_quantity=outbound_quantity+#{quantity} where use_id=#{useId}; |
| | | </select> |
| | | </update> |
| | | |
| | | <select id="updateOptimizeUsesMes"> |
| | | <update id="updateOptimizeUsesMes"> |
| | | update pp.optimize_use set not_use_count=not_use_count-#{quantity} where id=#{useId}; |
| | | </select> |
| | | </update> |
| | | |
| | | <insert id="insertMaterialOutboundDetailOptimizeUses" useGeneratedKeys="true" > |
| | | insert into mm.material_outbound_detail (material_outbound_id,material_outbound_number,material_code,use_id,inventory_id,inventory_organization, |
| | |
| | | ) |
| | | </insert> |
| | | |
| | | <select id="selectProjectNo"> |
| | | select project_no from pp.optimize_use where id=#{useId}; |
| | | </select> |
| | | |
| | | |
| | | </mapper> |
| | |
| | | where date(create_time)>=#{selectTime1} and date(create_time) <= #{selectTime2} |
| | | and position(#{orderId} in order_id) |
| | | and position(#{project} in project) |
| | | and processing_card >0 |
| | | and if(#{state}=0,(order_review >0 and processing_card =0),processing_card >0) |
| | | order by create_time desc |
| | | </select> |
| | | |
| | |
| | | left join pp.flow_card as fc on op.project_no=fc.project_no |
| | | left join sd.`order` as o on o.order_id=fc.order_id |
| | | where date(op.create_time)>=#{selectTime1} and date(op.create_time) <= #{selectTime2} |
| | | and state >= 20 and o.create_order>0 |
| | | and state >= 20 and (o.create_order>0 or o.create_order is null) |
| | | GROUP BY op.project_no |
| | | order by op.create_time desc |
| | | </select> |
| | |
| | | od.other_columns, |
| | | od.bend_radius, |
| | | od.order_number as heat_layout_id, |
| | | a.id as heat_layout_sort |
| | | a.id as heat_layout_sort, |
| | | od.product_name |
| | | from pp.optimize_detail opd |
| | | left join sd.`order` o on SUBSTR(opd.process_id, 1, 10) = o.order_id |
| | | left join sd.order_detail od |
| | |
| | | od.other_columns, |
| | | od.bend_radius, |
| | | opd.heat_layout_id, |
| | | opd.heat_layout_sort |
| | | opd.heat_layout_sort, |
| | | od.product_name |
| | | from pp.optimize_detail opd |
| | | left join sd.`order` o on SUBSTR(opd.process_id, 1, 10) = o.order_id |
| | | left join sd.order_detail od |
| | |
| | | pd.separation, |
| | | fc.technology_number, |
| | | IFNULL(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S02')),'') as mapNumber, |
| | | od.building_number |
| | | od.building_number, |
| | | fc.merge as merge |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on fc.order_id = ogd.order_id and fc.order_number = ogd.order_number and |
| | |
| | | fc.founder, |
| | | date(fc.splitFrame_time) as splitFrame_time, |
| | | /* if(fc.print_status=0,'æªæå°','å·²æå°') as print_status*/ |
| | | fc.print_status, |
| | | ifnull(fc.print_number,0) as print_status, |
| | | ogd.process, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')) AS glassNumber, |
| | | od.order_number |
| | | od.order_number, |
| | | od.width, |
| | | od.height |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on ogd.order_id = fc.order_id and ogd.order_number = fc.order_number and |
| | |
| | | fc.founder, |
| | | date(fc.splitFrame_time) as splitFrame_time, |
| | | /* if(fc.print_status=0,'æªæå°','å·²æå°') as print_status*/ |
| | | fc.print_status, |
| | | ifnull(fc.print_number,0) as print_status, |
| | | ogd.process, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')) AS glassNumber, |
| | | od.order_number |
| | | od.order_number, |
| | | ogd.child_width as width, |
| | | ogd.child_height as height |
| | | from flow_card as fc |
| | | left join sd.order_glass_detail as ogd |
| | | on ogd.order_id = fc.order_id and ogd.order_number = fc.order_number and |
| | |
| | | </select> |
| | | |
| | | <select id="flowCardToOptimizeCount"> |
| | | select count(*) from pp.flow_card where order_id = #{orderId} and engineering_occupancy=1 |
| | | select count(*) from pp.flow_card where order_id = #{orderId} and project_no is not null |
| | | </select> |
| | | |
| | | <select id="getFlowCardDetail" > |
| | |
| | | |
| | | <select id="getOrderDetailByProductionId"> |
| | | select * from (select a.*, |
| | | a.quantity as 'baiscQuantity', |
| | | IF(a.height >= a.width, a.height, a.width) as 'long', |
| | | IF(a.height < a.width, a.height, a.width) as 'short' |
| | | from sd.order_detail as a |
| | | left join sd.order_glass_detail as b |
| | | on a.order_id = b.order_id and a.order_number = b.order_number |
| | | where a.order_id = #{orderId} and b.production_id = #{productionId} |
| | | |
| | | group by a.order_number) as c |
| | | <if test="type=='scope'"> |
| | | where c.`long` <= #{inLenMax} |
| | | and c.`long` >= #{inLenMin} |
| | | and c.`short` >= #{inShortMin} |
| | | and c.`short` <= #{inShortMax} |
| | | </if> |
| | | <if test="type=='notScope'"> |
| | | where !(c.`long` <= #{inLenMax} |
| | | and c.`long` >= #{inLenMin} |
| | | and c.`short` >= #{inShortMin} |
| | | and c.`short` <= #{inShortMax}) |
| | | </if> |
| | | order by c.`long` desc |
| | | </select> |
| | | |
| | | <!-- å¤éæ¡ä¿®æ¹æçç¶æ--> |
| | | <update id="revokeComposing"> |
| | | update flow_card as fc |
| | | set fc.layout_status=0 |
| | | where fc.process_id = #{processId} |
| | | </update> |
| | | |
| | | <select id="selectProjectNo"> |
| | | SELECT COUNT(*) |
| | | FROM flow_card |
| | | WHERE process_id= #{processId} and project_no IS not NULL; |
| | | </select> |
| | | |
| | | <select id="selectPrintDetailsMp2"> |
| | | select ogd.id, |
| | | ogd.order_id, |
| | | o.customer_name, |
| | | o.project, |
| | | ogd.technology_number, |
| | | ogd.glass_address, |
| | | (od.quantity) as quantity, |
| | | (od.quantity) as printQuantity, |
| | | round((ogd.child_width * ogd.child_height * od.quantity / 1000000), 2) as total_area, |
| | | od.product_name, |
| | | ogd.glass_child, |
| | | ogd.process, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')) AS glassNumber, |
| | | od.order_number, |
| | | ogd.child_width as width, |
| | | ogd.child_height as height |
| | | from sd.order_glass_detail as ogd |
| | | left join sd.order_detail as od on od.order_id = ogd.order_id and od.order_number = ogd.order_number |
| | | left join sd.`order` as o on o.order_id = ogd.order_id |
| | | where ogd.order_id = #{orderId} |
| | | GROUP BY od.order_number |
| | | order by od.order_number |
| | | </select> |
| | | |
| | | <select id="getPrintOrderDataDetails"> |
| | | select o.order_id as orderId, |
| | | project, |
| | | customer_id as customerId, |
| | | o.customer_name as customerName, |
| | | order_type as orderType, |
| | | order_classify as orderClassify, |
| | | batch, |
| | | o.icon, |
| | | pack_type as packType, |
| | | delivery_date as deliveryDate, |
| | | al_type as alType, |
| | | money, |
| | | contract_id as contractId, |
| | | customer_batch customerBatch, |
| | | contacts, |
| | | delivery_address as deliveryAddress, |
| | | od.processing_note as processingNote, |
| | | width, |
| | | height, |
| | | #{printQuantity} as quantity, |
| | | CONCAT( |
| | | TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(width AS CHAR))), |
| | | ' X ', |
| | | TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(height AS CHAR))), |
| | | ' = ',#{printQuantity} ) as size, |
| | | |
| | | CONCAT( |
| | | od.order_number,') ', |
| | | TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(width AS CHAR))), |
| | | ' X ', |
| | | TRIM(TRAILING '.' FROM TRIM(TRAILING '0' FROM CAST(height AS CHAR))), |
| | | ' = ',#{printQuantity} ) as numberSize, |
| | | od.order_number as orderNumber, |
| | | ogd.technology_number as technologyNumber, |
| | | od.building_number as buildingNumber, |
| | | od.product_name as productName, |
| | | od.edging_type as edgingType, |
| | | od.remarks, |
| | | c.customer_abbreviation as customerAbbreviation, |
| | | p.product_abbreviation as productAbbreviation, |
| | | '' as processId, |
| | | o.create_time as createTime, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')) AS glassNumber, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S02')) AS figureNumber, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S03')) AS colourCeramicGlaze, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S04')) AS remarks1, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S05')) AS remarks2, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S06')) AS remarks3, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S07')) AS remarks4, |
| | | JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S08')) AS remarks5, |
| | | p.remarks as filmNumber, |
| | | od.bend_radius as bendRadius, |
| | | od.other_columns, |
| | | ogd.glass_child as glassChild, |
| | | ogd.glass_address as glassAddress, |
| | | JSON_UNQUOTE(JSON_EXTRACT(pd.separation, '$.color')) AS color, |
| | | 'ææ¬' as custom1, |
| | | 'ææ¬' as custom2, |
| | | 'ææ¬' as custom3, |
| | | 'ææ¬' as custom4, |
| | | 'ææ¬' as custom5, |
| | | od.quantity |
| | | from sd.order as o |
| | | left join sd.order_detail as od on o.order_id = od.order_id |
| | | left join sd.product as p on p.id = od.product_id |
| | | left join sd.customer as c on c.id = o.customer_id |
| | | left join sd.order_glass_detail as ogd |
| | | on ogd.order_id = od.order_id and ogd.order_number = od.order_number |
| | | left join sd.product_detail as pd on pd.prod_id = p.id and pd.sort_num = od.order_number and |
| | | pd.glass_sort = ogd.technology_number |
| | | |
| | | where od.order_id = #{orderId} |
| | | and od.order_number = #{orderNumber} |
| | | group by od.order_number, width, height |
| | | order by od.order_id |
| | | </select> |
| | | |
| | | <select id="updatePrintNumberMp"> |
| | | update pp.flow_card |
| | | set print_number = ifnull(print_number,0) + 1 |
| | | where process_id = #{processId} |
| | | and order_number = #{orderNumber} |
| | | </select> |
| | | </mapper> |
| | |
| | | update pp.patch_log set reviewer=null,review_status=0,update_time=now() where id=#{patchLog.id} |
| | | </update> |
| | | |
| | | <select id="selectProjectCount"> |
| | | SELECT COUNT(*) |
| | | FROM flow_card |
| | | WHERE process_id= #{processId} and project_no IS not NULL; |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | and date(scheduled_start_time) <= #{date[1]} |
| | | GROUP BY ps.order_id, ps.processes |
| | | </select> |
| | | |
| | | <select id="workInProgressOrderFootSum"> |
| | | SELECT |
| | | 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, |
| | | SUM(ROUND(ogd.child_width * ogd.child_height * |
| | | (odpds.reporting_work_num_count + IFNULL(c.patchNumSum, 0) - odpd.reporting_work_num_count - odpd.broken_num) / 1000000, 2)) AS stockArea |
| | | FROM sd.order_detail AS od |
| | | LEFT JOIN sd.order_glass_detail AS ogd |
| | | ON od.order_id = ogd.order_id |
| | | AND od.order_number = ogd.order_number |
| | | LEFT JOIN flow_card AS fc |
| | | ON fc.order_id = ogd.order_id |
| | | AND fc.production_id = ogd.production_id |
| | | AND fc.order_number = ogd.order_number |
| | | AND fc.technology_number = ogd.technology_number |
| | | LEFT JOIN sd.order_process_detail AS odpd |
| | | ON odpd.order_id = fc.order_id |
| | | AND odpd.order_number = fc.order_number |
| | | AND odpd.technology_number = fc.technology_number |
| | | AND odpd.process_id = fc.process_id |
| | | LEFT JOIN sd.order_process_detail AS odpds |
| | | ON odpds.id = odpd.id - 1 |
| | | LEFT JOIN ( |
| | | SELECT |
| | | SUM(rw.rework_num) AS patchNumSum, |
| | | rw.process_id, |
| | | rw.order_sort, |
| | | rw.technology_number, |
| | | rwk.this_process |
| | | FROM rework AS rw |
| | | LEFT JOIN reporting_work AS rwk |
| | | ON rw.reporting_work_id = rwk.reporting_work_id |
| | | WHERE rwk.this_process = #{selectProcesses} |
| | | AND rw.review_status >= 0 |
| | | GROUP BY rw.process_id, rw.order_sort, rw.technology_number |
| | | ) AS c |
| | | ON c.process_id = fc.process_id |
| | | AND c.order_sort = fc.order_number |
| | | AND c.technology_number = fc.technology_number |
| | | LEFT JOIN sd.`order` AS o |
| | | ON o.order_id = od.order_id |
| | | LEFT JOIN ( |
| | | SELECT |
| | | a.process_id, |
| | | a.teams_groups_name, |
| | | a.next_process, |
| | | b.technology_number, |
| | | b.order_number |
| | | FROM reporting_work AS a |
| | | LEFT JOIN reporting_work_detail AS b |
| | | ON a.reporting_work_id = b.reporting_work_id |
| | | GROUP BY a.process_id, a.teams_groups_name, a.next_process, b.order_number, b.technology_number |
| | | ) AS rws |
| | | ON rws.process_id = fc.process_id |
| | | AND rws.order_number = fc.order_number |
| | | AND rws.technology_number = fc.technology_number |
| | | AND rws.next_process = #{selectProcesses} |
| | | WHERE o.create_order > 0 |
| | | AND odpds.reporting_work_num_count + IFNULL(c.patchNumSum, 0) - odpd.reporting_work_num_count - odpd.broken_num != 0 |
| | | and odpd.process = #{selectProcesses} |
| | | and position(#{orderId} in od.order_id) |
| | | and position(#{inputProject} in o.project) |
| | | <if test="workInProgressDTO.customerName != null and workInProgressDTO.customerName != ''"> |
| | | and o.customer_name regexp #{workInProgressDTO.customerName} |
| | | </if> |
| | | <if test="workInProgressDTO.project != null and workInProgressDTO.project != ''"> |
| | | and o.project regexp #{workInProgressDTO.project} |
| | | </if> |
| | | <if test="workInProgressDTO.orderId != null and workInProgressDTO.orderId != ''"> |
| | | and o.order_id regexp #{workInProgressDTO.orderId} |
| | | </if> |
| | | <if test="workInProgressDTO.batch != null and workInProgressDTO.batch != ''"> |
| | | and o.batch regexp #{workInProgressDTO.batch} |
| | | </if> |
| | | <if test="workInProgressDTO.processId != null and workInProgressDTO.processId != ''"> |
| | | and fc.process_id regexp #{workInProgressDTO.processId} |
| | | </if> |
| | | order by o.order_id, fc.process_id |
| | | </select> |
| | | |
| | | <select id="processToBeCompletedFootSum"> |
| | | SELECT |
| | | SUM(fc.quantity) AS quantity, |
| | | ROUND(SUM(ogd.child_width * ogd.child_height) / 1000000, 2) AS childArea, |
| | | ROUND(SUM(ogd.child_width * ogd.child_height * fc.quantity) / 1000000, 2) AS actualArea, |
| | | SUM(odpd.reporting_work_num) AS completeNum, |
| | | ROUND(SUM(ogd.child_width * ogd.child_height * odpd.reporting_work_num) / 1000000, 2) AS completeArea, |
| | | SUM(fc.quantity - odpd.reporting_work_num) AS incompleteNum, |
| | | ROUND(SUM(ogd.child_width * ogd.child_height * (fc.quantity - odpd.reporting_work_num)) / 1000000, 2) AS incompleteArea |
| | | FROM sd.order_detail AS od |
| | | LEFT JOIN sd.order_glass_detail AS ogd |
| | | ON od.order_id = ogd.order_id |
| | | AND od.order_number = ogd.order_number |
| | | LEFT JOIN flow_card AS fc |
| | | ON fc.order_id = ogd.order_id |
| | | AND fc.production_id = ogd.production_id |
| | | AND fc.order_number = ogd.order_number |
| | | AND fc.technology_number = ogd.technology_number |
| | | LEFT JOIN sd.order_process_detail AS odpd |
| | | ON odpd.order_id = fc.order_id |
| | | AND odpd.order_number = fc.order_number |
| | | AND odpd.technology_number = fc.technology_number |
| | | AND odpd.process_id = fc.process_id |
| | | LEFT JOIN sd.`order` AS o |
| | | ON o.order_id = od.order_id |
| | | WHERE o.create_order > 0 |
| | | and odpd.process = #{selectProcesses} |
| | | and o.create_time >= #{selectTime1} |
| | | AND o.create_time < #{selectTime2} |
| | | AND POSITION('' IN od.order_id) |
| | | AND POSITION('' IN o.project) |
| | | AND fc.quantity - odpd.reporting_work_num > 0; |
| | | |
| | | </select> |
| | | |
| | | <select id="damageReportFootSum"> |
| | | SELECT |
| | | SUM(dd.breakage_quantity) AS breakageQuantity, |
| | | ROUND(SUM(ogd.child_width * ogd.child_height * dd.breakage_quantity) / 1000000, 2) AS area |
| | | FROM |
| | | sd.ORDER AS o |
| | | LEFT JOIN sd.order_glass_detail AS ogd ON ogd.order_id = o.order_id |
| | | LEFT JOIN reporting_work AS rw ON rw.order_id = o.order_id |
| | | LEFT JOIN damage_details AS dd ON dd.reporting_work_id = rw.reporting_work_id |
| | | AND dd.order_number = ogd.order_number |
| | | AND dd.technology_number = ogd.technology_number |
| | | LEFT JOIN sd.order_detail AS od ON o.order_id = od.order_id |
| | | AND od.order_number = ogd.order_number |
| | | WHERE |
| | | rw.reporting_work_time >= #{selectTime1} |
| | | AND rw.reporting_work_time < #{selectTime2} |
| | | AND dd.available = 0; |
| | | <if test="damageReportDTO.orderId != null and damageReportDTO.orderId != ''"> |
| | | and o.order_id regexp #{damageReportDTO.orderId} |
| | | </if> |
| | | <if test="damageReportDTO.project != null and damageReportDTO.project != ''"> |
| | | and o.project regexp #{damageReportDTO.project} |
| | | </if> |
| | | <if test="damageReportDTO.processId != null and damageReportDTO.processId != ''"> |
| | | and rw.process_id regexp #{damageReportDTO.processId} |
| | | </if> |
| | | <if test="damageReportDTO.orderNumber != null and damageReportDTO.orderNumber != ''"> |
| | | and dd.order_number regexp #{damageReportDTO.orderNumber} |
| | | </if> |
| | | <if test="damageReportDTO.technologyNumber != null and damageReportDTO.technologyNumber != ''"> |
| | | and dd.technology_number regexp #{damageReportDTO.technologyNumber} |
| | | </if> |
| | | <if test="damageReportDTO.responsibleProcess != null and damageReportDTO.responsibleProcess != ''"> |
| | | and dd.responsible_process regexp #{damageReportDTO.responsibleProcess} |
| | | </if> |
| | | <if test="damageReportDTO.responsibleTeam != null and damageReportDTO.responsibleTeam != ''"> |
| | | and dd.responsible_team regexp #{damageReportDTO.responsibleTeam} |
| | | </if> |
| | | <if test="damageReportDTO.responsibleEquipment != null and damageReportDTO.responsibleEquipment != ''"> |
| | | and dd.responsible_equipment regexp #{damageReportDTO.responsibleEquipment} |
| | | </if> |
| | | <if test="damageReportDTO.breakageType != null and damageReportDTO.breakageType != ''"> |
| | | and dd.breakage_type regexp #{damageReportDTO.breakageType} |
| | | </if> |
| | | <if test="damageReportDTO.breakageReason != null and damageReportDTO.breakageReason != ''"> |
| | | and dd.breakage_reason regexp #{damageReportDTO.breakageReason} |
| | | </if> |
| | | <if test="damageReportDTO.glassChild != null and damageReportDTO.glassChild != ''"> |
| | | and ogd.glass_child regexp #{damageReportDTO.glassChild} |
| | | </if> |
| | | <if test="damageReportDTO.glassNumber != null and damageReportDTO.glassNumber != ''"> |
| | | and ifnull(JSON_UNQUOTE(JSON_EXTRACT(od.other_columns, '$.S01')),'') regexp #{damageReportDTO.glassNumber} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="teamOutputFootSum"> |
| | | select SUM(completed_quantity) as completedQuantity, |
| | | ifnull(SUM(ROUND(width * height * completed_quantity / 1000000, 2)),0) AS area |
| | | from ( |
| | | SELECT |
| | | rw.this_process, |
| | | rw.teams_groups_name, |
| | | o.project, |
| | | rw.process_id, |
| | | fc.order_number, |
| | | MAX( ogd.child_width ) as width, |
| | | MAX( ogd.child_height ) as height, |
| | | rwd.completed_quantity as completed_quantity |
| | | FROM |
| | | reporting_work as rw left join reporting_work_detail as rwd on rwd.reporting_work_id=rw.reporting_work_id |
| | | left join flow_card as fc on fc.order_id=rw.order_id and fc.process_id=rw.process_id and fc.order_number=rwd.order_number and fc.technology_number=rwd.technology_number |
| | | left join sd.order_glass_detail as ogd on ogd.order_id=fc.order_id and ogd.order_number=fc.order_number and ogd.technology_number=fc.technology_number |
| | | left join sd.order_detail as od on od.order_id=ogd.order_id and od.order_number=ogd.order_number |
| | | left join sd.`order` as o on o.order_id=od.order_id |
| | | where o.create_order>0 and rw.reviewed_state>=0 and rwd.completed_quantity>0 |
| | | AND rw.reporting_work_time >= #{selectTime1} |
| | | AND rw.reporting_work_time < #{selectTime2} |
| | | and position(#{selectProcesses} in rw.this_process) |
| | | <if test="teamOutputDTO.thisProcess != null and teamOutputDTO.thisProcess != ''"> |
| | | and rw.this_process regexp #{teamOutputDTO.thisProcess} |
| | | </if> |
| | | <if test="teamOutputDTO.teamsGroupsName != null and teamOutputDTO.teamsGroupsName != ''"> |
| | | and rw.teams_groups_name regexp #{teamOutputDTO.teamsGroupsName} |
| | | </if> |
| | | <if test="teamOutputDTO.project != null and teamOutputDTO.project != ''"> |
| | | and o.project regexp #{teamOutputDTO.project} |
| | | </if> |
| | | <if test="teamOutputDTO.processId != null and teamOutputDTO.processId != ''"> |
| | | and rw.process_id regexp #{teamOutputDTO.processId} |
| | | </if> |
| | | <if test="teamOutputDTO.edgingType != null and teamOutputDTO.edgingType != ''"> |
| | | and od.edging_type regexp #{teamOutputDTO.edgingType} |
| | | </if> |
| | | GROUP BY |
| | | rw.reporting_work_id, |
| | | rw.process_id, |
| | | rw.this_process, |
| | | rw.teams_groups_name, |
| | | rwd.order_number |
| | | ORDER BY |
| | | rw.this_process, |
| | | rw.process_id, |
| | | rwd.order_number, |
| | | rw.reporting_work_time, |
| | | rw.teams_groups_name |
| | | ) as subquery |
| | | </select> |
| | | </mapper> |
| | |
| | | 0, |
| | | (d.reporting_work_num_count+ifnull(c.reworkNumSum,0)-b.reporting_work_num_count-b.broken_num) |
| | | ),0) |
| | | from flow_card as a |
| | | from pp.flow_card as a |
| | | left join sd.order_process_detail as b |
| | | on |
| | | b.order_number = a.order_number |
| | |
| | | rw.process_id,rw.order_sort,rw.technology_number, |
| | | rwk.this_process |
| | | from |
| | | rework as rw |
| | | pp.rework as rw |
| | | LEFT JOIN |
| | | reporting_work as rwk |
| | | pp.reporting_work as rwk |
| | | on rw.reporting_work_id =rwk.reporting_work_id |
| | | where rwk.this_process=#{thisProcess} |
| | | and rw.review_status=1 |
| | |
| | | <select id="selectOrderid"> |
| | | select order_id from pp.flow_card where process_id=#{processIdStr} group by order_id |
| | | </select> |
| | | |
| | | <select id="getFootSum"> |
| | | SELECT |
| | | ifnull(SUM(this_completed_quantity),0) AS thisCompletedQuantity, |
| | | ifnull(SUM(ROUND(child_width * child_height * this_completed_quantity / 1000000, 2)),0) AS completedArea, |
| | | ifnull(SUM(this_worn_quantity),0) AS thisWornQuantity, |
| | | ifnull(SUM(ROUND(child_width * child_height * this_worn_quantity / 1000000, 2)),0) AS wornArea |
| | | FROM ( |
| | | -- å
对 reporting_work_id è¿è¡å»é |
| | | SELECT |
| | | rw.reporting_work_id, |
| | | MAX(rw.this_completed_quantity) AS this_completed_quantity, |
| | | MAX(rw.this_worn_quantity) AS this_worn_quantity, |
| | | MAX(ogd.child_width) AS child_width, |
| | | MAX(ogd.child_height) AS child_height |
| | | FROM sd.order AS o |
| | | LEFT JOIN sd.order_glass_detail AS ogd |
| | | ON ogd.order_id = o.order_id |
| | | LEFT JOIN reporting_work AS rw |
| | | ON rw.order_id = ogd.order_id |
| | | AND rw.production_id = ogd.production_id |
| | | WHERE rw.reviewed_state != 2 |
| | | and rw.reporting_work_time >= #{selectTime1} |
| | | AND rw.reporting_work_time < #{selectTime2} |
| | | and position(#{orderId} in rw.order_id) |
| | | AND rw.reviewed_state != -1 |
| | | AND o.create_order > 0 |
| | | <if test="reportingWork.reportingWorkId != null and reportingWork.reportingWorkId != ''"> |
| | | and rw.reporting_work_id regexp #{reportingWork.reportingWorkId} |
| | | </if> |
| | | <if test="reportingWork.orderId != null and reportingWork.orderId != ''"> |
| | | and o.order_id regexp #{reportingWork.orderId} |
| | | </if> |
| | | <if test="reportingWork.processId != null and reportingWork.processId != ''"> |
| | | and rw.process_id regexp #{reportingWork.processId} |
| | | </if> |
| | | <if test="reportingWork.order.project != null and reportingWork.order.project != ''"> |
| | | and o.project regexp #{reportingWork.order.project} |
| | | </if> |
| | | <if test="reportingWork.order.batch != null and reportingWork.order.batch != ''"> |
| | | and o.batch regexp #{reportingWork.order.batch} |
| | | </if> |
| | | <if test="reportingWork.thisProcess != null and reportingWork.thisProcess != ''"> |
| | | and rw.this_process regexp #{reportingWork.thisProcess} |
| | | </if> |
| | | <if test="reportingWork.deviceName != null and reportingWork.deviceName != ''"> |
| | | and rw.device_name regexp #{reportingWork.deviceName} |
| | | </if> |
| | | <if test="reportingWork.teamsGroupsName != null and reportingWork.teamsGroupsName != ''"> |
| | | and rw.teams_groups_name regexp #{reportingWork.teamsGroupsName} |
| | | </if> |
| | | GROUP BY rw.reporting_work_id -- æ reporting_work_id è¿è¡åç»ï¼ç¡®ä¿å¯ä¸ |
| | | |
| | | ) AS subquery; |
| | | |
| | | </select> |
| | | </mapper> |
| | |
| | | and date(d.create_time) <= #{endDate} |
| | | and d.customer_id = #{orderDetail.order.customerId} |
| | | and om.money is not null |
| | | and om.money >0 |
| | | group by d.delivery_id, o.order_id, om.`column` |
| | | |
| | | UNION ALL |
| | |
| | | where date(o.create_time) >= #{startDate} |
| | | and date(o.create_time) <= #{endDate} |
| | | and o.customer_id = #{orderDetail.order.customerId} |
| | | and o.create_order>0 |
| | | and o.order_review>0 |
| | | group by od.order_id,od.product_id |
| | | |
| | | UNION ALL |
| | |
| | | where date(o.create_time) >= #{startDate} |
| | | and date(o.create_time) <= #{endDate} |
| | | and o.customer_id = #{orderDetail.order.customerId} |
| | | and o.order_review>0 |
| | | and om.money is not null |
| | | and om.money >0 |
| | | group by o.order_id, om.`column` |
| | | |
| | | </select> |
| | |
| | | <select id="exportOrderSummary" > |
| | | SELECT * |
| | | from sd.`order` as b |
| | | where date(b.create_time)>=#{dates[0]} and date(b.create_time) <= #{dates[1]} and b.create_order>0 |
| | | where date(b.create_time)>=#{dates[0]} and date(b.create_time) <= #{dates[1]} and b.order_review>0 |
| | | order by b.id desc |
| | | </select> |
| | | |
| | |
| | | on d.type_id = c.type_id |
| | | left join sd.basic_glass_type as e |
| | | on e.type_id = d.belong |
| | | where date(a.create_time)>=#{dates[0]} and date(a.create_time) <= #{dates[1]} and b.create_order>0 |
| | | where date(a.create_time)>=#{dates[0]} and date(a.create_time) <= #{dates[1]} and b.order_review>0 |
| | | </select> |
| | | |
| | | |
| | |
| | | left join sd.basic_glass_type as e |
| | | on e.type_id = d.belong |
| | | where date(b.create_time) >= #{dates[0]} |
| | | and date(b.create_time) <= #{dates[1]} and b.create_order>0 |
| | | and date(b.create_time) <= #{dates[1]} and b.order_review>0 |
| | | group by b.order_id, a.product_id |
| | | order by b.order_id desc |
| | | </select> |