| | |
| | | xMargin:'هامش المحور X', |
| | | yMargin:'هامش المحور Y', |
| | | location:'موقع العلامة التجارية', |
| | | sort:'玻璃反弯' |
| | | sort:'玻璃反弯', |
| | | archRise:'拱高' |
| | | |
| | | }, |
| | | |
| | |
| | | xMargin:'X axis margin', |
| | | yMargin:'Y-axis margin', |
| | | location:'Trademark position', |
| | | sort:'玻璃反弯' |
| | | sort:'玻璃反弯', |
| | | archRise:'拱高' |
| | | |
| | | }, |
| | | |
| | |
| | | xMargin:'Границы оси X', |
| | | yMargin:'Интервал оси Y', |
| | | location:'Расположение товарного знака', |
| | | sort:'玻璃反弯' |
| | | sort:'玻璃反弯', |
| | | archRise:'拱高' |
| | | }, |
| | | |
| | | workOrder:{ |
| | |
| | | xMargin:'宽方向坐标', |
| | | yMargin:'高方向坐标', |
| | | location:'商标位置', |
| | | sort:'玻璃反弯' |
| | | sort:'玻璃反弯', |
| | | archRise:'拱高' |
| | | |
| | | }, |
| | | |
| | |
| | | {field: 'childWidth',width:120, title: t('craft.childWidth'),editRender: { name: 'input'},filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'childHeight',width:120, title: t('craft.childHeight'),editRender: { name: 'input'},filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'arc',width:120, title: t('craft.arc'),editRender: { name: 'input'},filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'archRise',width:120, title: t('craft.archRise'),editRender: { name: 'input'},filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'area',width:120, title: t('craft.area'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'orderDetail.quantity',width:120, title: t('order.quantity'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | | {field: 'process',width:120, title: t('craft.process'),filters:[{ data: '' }],slots: { filter: 'num1_filter' }, sortable: true,filterMethod:filterChanged}, |
| | |
| | | ) |
| | | let widthList = [] |
| | | let arcList = [] |
| | | let archRiseList = [] |
| | | sameOrderNumber.forEach((item) =>{ |
| | | widthList.push(item.childWidth) |
| | | arcList.push(item.arc) |
| | | archRiseList.push(item.archRise) |
| | | console.log(item.archRise) |
| | | }) |
| | | widthList = widthList.sort(); |
| | | arcList = arcList.sort(); |
| | | archRiseList = archRiseList.sort(); |
| | | sameOrderNumber.forEach((item,index) =>{ |
| | | item.childWidth = widthList[index] |
| | | item.arc = arcList[index] |
| | | item.archRise = archRiseList[index] |
| | | }) |
| | | |
| | | } |
| | |
| | | <result column="child_width" property="childWidth"/> |
| | | <result column="child_height" property="childHeight"/> |
| | | <result column="arc" property="arc"/> |
| | | <result column="arch_rise" property="archRise"/> |
| | | <result column="icon" property="icon"/> |
| | | <result column="process" property="process"/> |
| | | <result column="area" property="area"/> |
| | |
| | | a.child_width, |
| | | a.child_height,a.arc, |
| | | a.icon, |
| | | a.arch_rise, |
| | | a.area, |
| | | b.quantity, |
| | | a.process, |
| | |
| | | a.total_area = #{item.area}*b.quantity, |
| | | a.icon = #{item.icon}, |
| | | a.process = #{item.process}, |
| | | a.arc = #{item.arc} |
| | | a.arc = #{item.arc}, |
| | | a.arch_rise = #{item.archRise} |
| | | where |
| | | a.order_id = b.order_id |
| | | and a.order_id = #{item.orderId} |