| | |
| | | top: '10%', |
| | | containLabel: true |
| | | }, |
| | | // animation: false, // 取消动画 |
| | | xAxis: { |
| | | show: false |
| | | }, |
| | |
| | | color: function(value, index) { |
| | | return value === '0' ? 'transparent' : '#fff' |
| | | }, |
| | | fontSize: 18, |
| | | fontSize: 20, |
| | | // formatter: function(value, index) { |
| | | // return [ |
| | | // '{lg|' + (index + 1) + '、 }' + '{title|' + value + '} ' |
| | |
| | | show: true, |
| | | position: 'right', |
| | | formatter: '{c}', |
| | | fontSize: 14, |
| | | fontSize: 20, |
| | | color: '#fff' |
| | | // formatter: '{c}%', |
| | | } |
| | |
| | | borderColor: '#fff' |
| | | } |
| | | }, |
| | | xAxis: [{ |
| | | type: 'category', |
| | | boundaryGap: true, |
| | | axisLabel: { |
| | | interval: 0, |
| | | formatter: '{value}', |
| | | fontSize: 14, |
| | | margin: 20, |
| | | textStyle: { |
| | | color: colorX |
| | | } |
| | | }, |
| | | axisLine: { |
| | | lineStyle: { |
| | | color: '#032c58' |
| | | } |
| | | }, |
| | | splitLine: { |
| | | show: false, |
| | | lineStyle: { |
| | | color: '#032c58' |
| | | } |
| | | }, |
| | | axisTick: { |
| | | show: false |
| | | }, |
| | | data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'] |
| | | }], |
| | | xAxis: [ |
| | | { |
| | | type: 'category', |
| | | boundaryGap: true, |
| | | axisLabel: { |
| | | interval: 0, |
| | | formatter: '{value}', |
| | | fontSize: 18, |
| | | margin: 20, |
| | | textStyle: { |
| | | color: colorX |
| | | } |
| | | }, |
| | | axisLine: { |
| | | lineStyle: { |
| | | color: '#032c58' |
| | | } |
| | | }, |
| | | splitLine: { |
| | | show: false, |
| | | lineStyle: { |
| | | color: '#032c58' |
| | | } |
| | | }, |
| | | axisTick: { |
| | | show: false |
| | | }, |
| | | data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'] |
| | | }], |
| | | yAxis: [ |
| | | { |
| | | // max: 800, |
| | |
| | | type: 'value', |
| | | axisLabel: { |
| | | textStyle: { |
| | | fontSize: 14, |
| | | fontSize: 18, |
| | | color: colorY |
| | | } |
| | | }, |
| | |
| | | show: true, |
| | | position: 'top', |
| | | textStyle: { |
| | | color: '#fff' |
| | | color: '#fff', |
| | | fontSize: 16 |
| | | } |
| | | }, |
| | | itemStyle: { |
| | |
| | | title: { |
| | | width: 50, |
| | | align: 'right', |
| | | fontSize: 18 |
| | | fontSize: 20 |
| | | } |
| | | } |
| | | } |
| | |
| | | align: 'left', |
| | | verticalAlign: 'center', |
| | | lineHeight: 40, |
| | | fontSize: 18, |
| | | fontSize: 20, |
| | | formatter: function(value, index) { |
| | | return data[index].value + '' |
| | | } |
| | |
| | | textStyle: { |
| | | rich: { |
| | | name: { |
| | | fontSize: 18, |
| | | fontSize: 22, |
| | | fontWeight: 'normal', |
| | | color: '#fff', |
| | | padding: [10, 0] |
| | | }, |
| | | val: { |
| | | fontSize: 32, |
| | | fontSize: 22, |
| | | fontWeight: 'bold', |
| | | color: '#fff' |
| | | } |
| | |
| | | padding: [0, -50, 25, -50], |
| | | rich: { |
| | | icon: { |
| | | fontSize: 16, |
| | | fontSize: 18, |
| | | color: 'red' |
| | | }, |
| | | name: { |
| | | fontSize: 16, |
| | | fontSize: 18, |
| | | padding: [0, 10, 0, 4], |
| | | color: '#fff' |
| | | }, |
| | |
| | | } |
| | | return option |
| | | } |
| | | |
| | | // 车间生产 生产信息 生产进度 进度条 |
| | | export function progress(param1, param2) { |
| | | // param1 报工数量 |
| | | // param2 任务数量 |
| | | |
| | | // 拿到数据之后需要计算出相对长度 param2的相对长度为100 |
| | | let relativeValue = ''// 相对值 绿色背景 |
| | | |
| | | relativeValue = (param1 / param2) * 100 |
| | | // 百分比数值的位置 |
| | | var position = 'right' |
| | | // if (param1 >= 50) { |
| | | // position = 'inside'; |
| | | // } else if (param1 < 50) { |
| | | // position = 'right'; |
| | | // } |
| | | |
| | | var option = { |
| | | // animation: false, // 取消动画 |
| | | // animationDuration: 5000, |
| | | grid: { |
| | | top: 'center', |
| | | left: '0%', |
| | | right: '0%', |
| | | // height: '%', |
| | | // containLabel: false |
| | | containLabel: true |
| | | |
| | | }, |
| | | xAxis: { |
| | | type: 'value', |
| | | axisLabel: { |
| | | show: false |
| | | }, |
| | | max: 100, |
| | | axisTick: { |
| | | show: false |
| | | }, |
| | | axisLine: { |
| | | show: false |
| | | }, |
| | | splitLine: { |
| | | show: false |
| | | } |
| | | }, |
| | | yAxis: [{ |
| | | type: 'category', |
| | | data: [], |
| | | axisLabel: { |
| | | show: false |
| | | }, |
| | | axisTick: { |
| | | show: false |
| | | }, |
| | | axisLine: { |
| | | show: false |
| | | }, |
| | | splitLine: { |
| | | show: false |
| | | }, |
| | | z: 10 |
| | | }, { |
| | | type: 'category', |
| | | axisLabel: { |
| | | show: false |
| | | }, |
| | | axisTick: { |
| | | show: false |
| | | }, |
| | | axisLine: { |
| | | show: false |
| | | }, |
| | | splitLine: { |
| | | show: false |
| | | }, |
| | | data: [] |
| | | }], |
| | | series: [{ |
| | | name: '', |
| | | type: 'bar', |
| | | barWidth: '100%', |
| | | // barMaxWidth: '100%', |
| | | label: { |
| | | normal: { |
| | | show: true, |
| | | // position: ['24', '38%'], |
| | | position: (param1.toString() + param2.toString()).length <= 6 ? ['24', '38%'] : 'insideLeft', |
| | | // formatter: '{c} %', |
| | | formatter: param1 + '/' + param2, |
| | | textStyle: { |
| | | color: '#FFFFFF', |
| | | fontWeight: 'bold', |
| | | fontFamily: 'Microsoft YaHei', |
| | | fontSize: 18 |
| | | } |
| | | } |
| | | }, |
| | | itemStyle: { |
| | | normal: { |
| | | barBorderRadius: 5, |
| | | shadowBlur: 10, |
| | | shadowColor: '#111', |
| | | color: '#2FD04F' |
| | | } |
| | | }, |
| | | // data: [param1], |
| | | data: [relativeValue], |
| | | z: 10 |
| | | }, { |
| | | type: 'bar', |
| | | barWidth: '100%', |
| | | yAxisIndex: 1, |
| | | silent: true, |
| | | // barMaxWidth: '100%', |
| | | itemStyle: { |
| | | normal: { |
| | | barBorderRadius: 5, |
| | | color: '#42475B' |
| | | } |
| | | }, |
| | | // data: [param2] |
| | | data: [100] |
| | | }] |
| | | } |
| | | |
| | | return option |
| | | } |
| | |
| | | <el-table-column |
| | | prop="xsdd" |
| | | label="销售单号" |
| | | width="141" |
| | | width="165" |
| | | /> |
| | | |
| | | <el-table-column |
| | | prop="cpmc" |
| | | width="133" |
| | | width="120" |
| | | label="产品名称" |
| | | /> |
| | | <el-table-column |
| | | prop="sl" |
| | | label="数量" |
| | | width="100" |
| | | width="80" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table-column |
| | | prop="xsdd" |
| | | label="销售单号" |
| | | width="141" |
| | | width="165" |
| | | /> |
| | | |
| | | <el-table-column |
| | | prop="cpmc" |
| | | width="133" |
| | | width="120" |
| | | label="产品名称" |
| | | /> |
| | | <el-table-column |
| | | prop="sl" |
| | | label="数量" |
| | | width="100" |
| | | width="80" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table-column |
| | | prop="xh" |
| | | label="序号" |
| | | width="50" |
| | | width="60" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.xh }} |
| | | </div> |
| | | </template> |
| | |
| | | <el-table-column |
| | | prop="jgdh" |
| | | label="加工单号" |
| | | width="150" |
| | | width="165" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.jgdh }} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="cxmc" |
| | | width="130" |
| | | width="100" |
| | | label="产线名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.cxmc }} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="cpmc" |
| | | width="150" |
| | | width="140" |
| | | label="产品名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.cpmc }} |
| | | </div> |
| | | </template> |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.scsl }} |
| | | </div> |
| | | </template> |
| | |
| | | <el-table-column |
| | | prop="yjks" |
| | | label="预计开始" |
| | | width="150" |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.yjks }} |
| | | </div> |
| | | </template> |
| | |
| | | <el-table-column |
| | | prop="yjwg" |
| | | label="预计完工" |
| | | width="150" |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.yjwg }} |
| | | </div> |
| | | </template> |
| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}" |
| | | > {{ row.gx }} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="scjd" |
| | | prop="scjdxxx" |
| | | label="生产进度" |
| | | width="90" |
| | | width="130" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div |
| | | :style="{color:row.cxmc==='装配一线'?'#ffff00':row.cxmc==='装配二线'?'#FF3333':row.cxmc==='装配三线'?'#FF00FF':'#00FFFF'}" |
| | | > {{ row.scjd }} |
| | | </div> |
| | | <!-- <div--> |
| | | <!-- :style="{color:row.cxmc==='装配一线'?'#FFFF77':row.cxmc==='装配二线'?'#FF8888':row.cxmc==='装配三线'?'#D28EFF':'#66FFFF'}"--> |
| | | <!-- > {{ row.scjdxxx }}--> |
| | | <!-- </div>--> |
| | | <div :id="'progress'+row.xh" style="width: 100%;height:30px" /> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <el-table-column |
| | | prop="xsdd" |
| | | label="销售单号" |
| | | width="141" |
| | | width="165" |
| | | /> |
| | | |
| | | <el-table-column |
| | | prop="cpmc" |
| | | width="133" |
| | | width="120" |
| | | label="产品名称" |
| | | /> |
| | | <el-table-column |
| | | prop="sl" |
| | | label="数量" |
| | | width="100" |
| | | width="80" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table-column |
| | | prop="xsdd" |
| | | label="销售单号" |
| | | width="141" |
| | | width="165" |
| | | /> |
| | | |
| | | <el-table-column |
| | | prop="cpmc" |
| | | width="133" |
| | | width="120" |
| | | label="产品名称" |
| | | /> |
| | | <el-table-column |
| | | prop="sl" |
| | | label="数量" |
| | | width="100" |
| | | width="80" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | |
| | | <script> |
| | | import './kbCommon.css' |
| | | import { kbTop, loadEcharts } from '@/utils/myEcharts' |
| | | import { kbTop, line02, loadEcharts, progress } from '@/utils/myEcharts' |
| | | |
| | | export default { |
| | | name: 'Cjsc', |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '20', |
| | | scjd2: '30' |
| | | }, |
| | | { |
| | | xh: 2, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 3, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '50', |
| | | scjd2: '100' |
| | | }, |
| | | { |
| | | xh: 4, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '20', |
| | | scjd2: '60' |
| | | }, |
| | | { |
| | | xh: 5, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '50', |
| | | scjd2: '60' |
| | | }, |
| | | { |
| | | xh: 6, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 7, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 8, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '30', |
| | | scjd2: '30' |
| | | }, |
| | | { |
| | | xh: 9, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 10, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '1', |
| | | scjd2: '2' |
| | | }, |
| | | { |
| | | xh: 11, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 12, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '1000', |
| | | scjd2: '1000' |
| | | }, |
| | | { |
| | | xh: 13, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '16', |
| | | scjd2: '33' |
| | | }, |
| | | { |
| | | xh: 14, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '19', |
| | | scjd2: '81' |
| | | }, |
| | | { |
| | | xh: 15, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '100', |
| | | scjd2: '200' |
| | | }, |
| | | { |
| | | xh: 16, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '1', |
| | | scjd2: '2' |
| | | }, |
| | | { |
| | | xh: 17, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 18, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '1', |
| | | scjd2: '2' |
| | | }, |
| | | { |
| | | xh: 19, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 20, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 21, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 22, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '1', |
| | | scjd2: '2' |
| | | }, |
| | | { |
| | | xh: 23, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 24, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 25, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 26, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | }, |
| | | { |
| | | xh: 27, |
| | |
| | | yjks: '2022-10-01', |
| | | yjwg: '2022-10-10', |
| | | gx: '工序一', |
| | | scjd: '10/20' |
| | | scjd1: '10', |
| | | scjd2: '20' |
| | | } |
| | | ] |
| | | } |
| | |
| | | // 中间部分的表格 |
| | | getCenterTableDataSetInterval() { |
| | | let startValue = 0 // 初始值 |
| | | const scale = 23// 刻度 |
| | | const scale = 20// 刻度 |
| | | |
| | | this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale) |
| | | |
| | |
| | | if (nowLoop === loop) { |
| | | this.getCenterTableDataSetInterval() |
| | | } |
| | | |
| | | nowLoop++ |
| | | }, 5000) |
| | | this.$nextTick(() => { |
| | | this.tableDataCenterTop.forEach(i => { |
| | | loadEcharts('progress' + i.xh, progress(i.scjd1, i.scjd2)) |
| | | }) |
| | | }) |
| | | }, 1000 * 10) |
| | | |
| | | this.$nextTick(() => { |
| | | this.tableDataCenterTop.forEach(i => { |
| | | loadEcharts('progress' + i.xh, progress(i.scjd1, i.scjd2)) |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | // 定时刷新表格数据 |
| | | getTableDataSetInterval() { |
| | | let startValue = 0 // 初始值 |
| | | const startValue = 0 // 初始值 |
| | | const scale = 10// 刻度 |
| | | |
| | | this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale) |
| | | |
| | | const loop = Math.floor(this.tableDataLeftTopTemp.length / scale)// 需要循环的次数 |
| | | let nowLoop = 0// 当前循环的次数 |
| | | |
| | | setInterval(() => { |
| | | startValue = startValue + scale |
| | | this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale) |
| | | if (nowLoop === loop) { |
| | | this.getTableDataSetInterval() |
| | | } |
| | | nowLoop++ |
| | | }, 5000) |
| | | // |
| | | // const loop = Math.floor(this.tableDataLeftTopTemp.length / scale)// 需要循环的次数 |
| | | // let nowLoop = 0// 当前循环的次数 |
| | | // |
| | | // setInterval(() => { |
| | | // startValue = startValue + scale |
| | | // this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale) |
| | | // if (nowLoop === loop) { |
| | | // this.getTableDataSetInterval() |
| | | // } |
| | | // nowLoop++ |
| | | // }, 5000) |
| | | }, |
| | | |
| | | // 获取topEcharts |
| | |
| | | padding: '10px 0', |
| | | textAlign: 'center', |
| | | color: '#07acc2', |
| | | border: 'none' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | }, |
| | | cellStyle() { |
| | |
| | | backgroundColor: '#000', |
| | | // backgroundColor: 'transparent', |
| | | color: '#fff', |
| | | border: 'none' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | }, |
| | | headerCellStyleCenter() { |
| | |
| | | padding: '10px 0', |
| | | textAlign: 'center', |
| | | color: '#07acc2', |
| | | border: 'none' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | }, |
| | | cellStyleCenter() { |
| | | return { |
| | | padding: '7.5px 0', |
| | | padding: '7px 0', |
| | | textAlign: 'center', |
| | | backgroundColor: '#000', |
| | | color: '#fff', |
| | | border: 'none' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | } |
| | | } |
| | |
| | | <style lang="scss" scoped> |
| | | $main_color: #09d8f2; |
| | | $color01: #00FFFF; |
| | | .lineContent { |
| | | height: 435px; |
| | | border: 1px solid $main_color; |
| | | //outline: 1px solid $main_color; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | } |
| | | |
| | | .lineContentCenter { |
| | | height: 935px; |
| | | border: 1px solid $main_color; |
| | | //outline: 1px solid $main_color; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | } |
| | | |
| | | .horn { |
| | | background: linear-gradient($color01, $color01) left top, |
| | | linear-gradient($color01, $color01) left top, |
| | | linear-gradient($color01, $color01) right top, |
| | | linear-gradient($color01, $color01) right top, |
| | | linear-gradient($color01, $color01) left bottom, |
| | | linear-gradient($color01, $color01) left bottom, |
| | | linear-gradient($color01, $color01) right bottom, |
| | | linear-gradient($color01, $color01) right bottom; |
| | | background-repeat: no-repeat; |
| | | //background-size: 5px 20px, 20px 5px; |
| | | background-size: 2px 20px, 20px 2px; |
| | | } |
| | | |
| | | .tableData { |
| | | background: #000; |
| | | } |
| | | |
| | | //.el-table::before{ |
| | | // height: 0; |
| | | //} |
| | | .el-table::before{ |
| | | height: 0; |
| | | } |
| | | |
| | | .el-table__empty-text { |
| | | color: $main_color; |
| | | } |
| | | |
| | | </style> |
| | |
| | | <el-table-column |
| | | prop="xh" |
| | | label="序号" |
| | | width="50" |
| | | width="60" |
| | | /> |
| | | <el-table-column |
| | | prop="cxmc" |
| | | width="130" |
| | | width="100" |
| | | label="产线名称" |
| | | > |
| | | <template slot-scope="{row}"> |
| | |
| | | <el-table-column |
| | | prop="jgdh" |
| | | label="生产单号" |
| | | width="150" |
| | | width="165" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div style="color: #00FFFF">{{ row.jgdh }}</div> |
| | |
| | | |
| | | <el-table-column |
| | | prop="cpmc" |
| | | width="150" |
| | | width="120" |
| | | label="产品名称" |
| | | /> |
| | | <el-table-column |
| | | prop="blyy" |
| | | label="不良原因" |
| | | width="150" |
| | | width="180" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <div style="color:#d91010;">{{ row.blyy }}</div> |
| | |
| | | <el-table-column |
| | | prop="scsl" |
| | | label="不良数量" |
| | | width="100" |
| | | width="110" |
| | | /> |
| | | <el-table-column |
| | | prop="bgsl" |
| | | label="报工数量" |
| | | width="100" |
| | | width="110" |
| | | /> |
| | | <!-- <el-table-column--> |
| | | <!-- prop="yjks"--> |
| | |
| | | headTime: '', |
| | | tableDataLeftTop: [], |
| | | tableDataLeftTopTemp: [ |
| | | { xsdd: 'MO-2022111501', cpmc: '产品名称1', sl: '100' }, |
| | | { xsdd: 'MO-2022111501', cpmc: '电池包test', sl: '100' }, |
| | | { xsdd: 'MO-2022111502', cpmc: '产品名称2', sl: '100' }, |
| | | { xsdd: 'MO-2022111503', cpmc: '产品名称3', sl: '100' }, |
| | | { xsdd: 'MO-2022111504', cpmc: '产品名称4', sl: '100' }, |
| | |
| | | ], |
| | | tableDataCenterTop: [], |
| | | tableDataCenterTopTemp: [ |
| | | { xh: 1, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 2, bgsl: 200, blyy: '尺寸、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 3, bgsl: 200, blyy: '尺寸、色系', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 4, bgsl: 200, blyy: '尺寸、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 5, bgsl: 200, blyy: '色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 6, bgsl: 200, blyy: '尺寸、色系', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 7, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 8, bgsl: 200, blyy: '尺寸、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 9, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 10, bgsl: 200, blyy: '毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 11, bgsl: 200, blyy: '尺寸', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 12, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 13, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 14, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 15, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 16, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 17, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 18, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 19, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 20, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 21, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 22, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 23, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 24, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 25, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 26, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 27, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '产线名称1', cpmc: '产品名称1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' } |
| | | { xh: 1, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 2, bgsl: 200, blyy: '尺寸、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 3, bgsl: 200, blyy: '尺寸、色系', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 4, bgsl: 200, blyy: '尺寸、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 5, bgsl: 200, blyy: '色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 6, bgsl: 200, blyy: '尺寸、色系', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 7, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 8, bgsl: 200, blyy: '尺寸、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 9, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 10, bgsl: 200, blyy: '毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 11, bgsl: 200, blyy: '尺寸', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 12, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 13, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 14, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 15, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 16, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 17, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 18, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 19, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 20, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 21, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 22, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 23, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 24, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 25, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 26, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' }, |
| | | { xh: 27, bgsl: 200, blyy: '尺寸、色系、毛刺', jgdh: 'MO-2022-1115-01', cxmc: '装配一线', cpmc: '电池包test', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '工序一', scjd: '10/20' } |
| | | ] |
| | | } |
| | | }, |
| | |
| | | padding: '10px 0', |
| | | textAlign: 'center', |
| | | color: '#07acc2', |
| | | border: 'none' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | }, |
| | | cellStyleCenter() { |
| | |
| | | textAlign: 'center', |
| | | backgroundColor: '#000', |
| | | color: '#fff', |
| | | border: 'none' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | } |
| | | } |
| | |
| | | <style lang="scss" scoped> |
| | | $main_color:#09d8f2; |
| | | $color01: #00FFFF; |
| | | .lineContent { |
| | | height: 435px; |
| | | border: 1px solid $main_color; |
| | | //outline: 1px solid $main_color; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | |
| | | } |
| | | .lineContentCenter{ |
| | | height: 935px; |
| | | border: 1px solid $main_color; |
| | | //outline: 1px solid $main_color; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | } |
| | | |
| | | .horn { |
| | | background: linear-gradient($color01, $color01) left top, |
| | | linear-gradient($color01, $color01) left top, |
| | | linear-gradient($color01, $color01) right top, |
| | | linear-gradient($color01, $color01) right top, |
| | | linear-gradient($color01, $color01) left bottom, |
| | | linear-gradient($color01, $color01) left bottom, |
| | | linear-gradient($color01, $color01) right bottom, |
| | | linear-gradient($color01, $color01) right bottom; |
| | | background-repeat: no-repeat; |
| | | //background-size: 5px 20px, 20px 5px; |
| | | background-size: 2px 20px, 20px 2px; |
| | | } |
| | | |
| | | .tableData{ |
| | | background: #000; |
| | | } |
| | | |
| | | //.el-table::before{ |
| | | // height: 0; |
| | | //} |
| | | .el-table::before{ |
| | | height: 0; |
| | | } |
| | | |
| | | .el-table__empty-text{ |
| | | color: $main_color; |
| | |
| | | height: 35px; |
| | | display: flex; |
| | | color: #00ffff; |
| | | font-size: 24px; |
| | | font-size: 26px; |
| | | /*align-content: flex-start;*/ |
| | | } |
| | | |
| | | .svg_class{ |
| | | margin-right: 10px; |
| | | font-size: 26px; |
| | | font-size: 28px; |
| | | } |
| | | |
| | | .el-table::before{ |
| | | height: 0; |
| | | |
| | | |
| | | .lineContent { |
| | | height: 435px; |
| | | border: 1px solid #09d8f2; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | box-shadow: #00FFFF 0 0 10px; |
| | | } |
| | | |
| | | .lineContentCenter { |
| | | height: 935px; |
| | | border: 1px solid #09d8f2; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | box-shadow: #00FFFF 0 0 10px; |
| | | } |
| | | |
| | | .horn { |
| | | background: linear-gradient(#00FFFF, #00FFFF) left top, |
| | | linear-gradient(#00FFFF, #00FFFF) left top, |
| | | linear-gradient(#00FFFF, #00FFFF) right top, |
| | | linear-gradient(#00FFFF, #00FFFF) right top, |
| | | linear-gradient(#00FFFF, #00FFFF) left bottom, |
| | | linear-gradient(#00FFFF, #00FFFF) left bottom, |
| | | linear-gradient(#00FFFF, #00FFFF) right bottom, |
| | | linear-gradient(#00FFFF, #00FFFF) right bottom; |
| | | background-repeat: no-repeat; |
| | | background-size: 2px 20px, 20px 2px; |
| | | } |
| | |
| | | <el-table-column |
| | | prop="xh" |
| | | label="序号" |
| | | width="50" |
| | | width="60" |
| | | /> |
| | | |
| | | <el-table-column |
| | |
| | | <el-table-column |
| | | prop="pfsj" |
| | | label="派发时间" |
| | | width="160" |
| | | width="140" |
| | | /> |
| | | <el-table-column |
| | | prop="" |
| | | label="销售订单号" |
| | | width="160" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="加工单号" |
| | | width="160" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="产品名称" |
| | | width="100" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="任务数量" |
| | | width="100" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="完工数量" |
| | | width="100" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="不良数量" |
| | | width="100" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="完成率" |
| | | width="80" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="预计开始" |
| | | width="140" |
| | | /> <el-table-column |
| | | prop="" |
| | | label="预计结束" |
| | | width="140" |
| | | /> |
| | | </el-table> |
| | | </div> |
| | |
| | | <el-table-column |
| | | prop="xh" |
| | | label="序号" |
| | | width="50" |
| | | width="60" |
| | | /> |
| | | <el-table-column |
| | | prop="cx" |
| | | width="144" |
| | | width="165" |
| | | label="产线" |
| | | /> |
| | | <el-table-column |
| | | prop="cp" |
| | | width="160" |
| | | width="120" |
| | | label="产品" |
| | | /> |
| | | <el-table-column |
| | |
| | | padding: '10px 0', |
| | | textAlign: 'center', |
| | | color: '#07acc2', |
| | | border: 'none' |
| | | // fontSize: '16px' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | }, |
| | | cellStyle() { |
| | |
| | | textAlign: 'center', |
| | | backgroundColor: '#000', |
| | | color: '#fff', |
| | | border: 'none' |
| | | // fontSize: '16px' |
| | | border: 'none', |
| | | fontSize: '18px' |
| | | } |
| | | } |
| | | } |
| | |
| | | <style lang="scss" scoped> |
| | | $main_color: #09d8f2; |
| | | $color01: #00FFFF; |
| | | .lineContent { |
| | | height: 435px; |
| | | border: 1px solid $main_color; |
| | | border-radius: 5px; |
| | | padding: 2px; |
| | | } |
| | | |
| | | .horn { |
| | | background: linear-gradient($color01, $color01) left top, |
| | | linear-gradient($color01, $color01) left top, |
| | | linear-gradient($color01, $color01) right top, |
| | | linear-gradient($color01, $color01) right top, |
| | | linear-gradient($color01, $color01) left bottom, |
| | | linear-gradient($color01, $color01) left bottom, |
| | | linear-gradient($color01, $color01) right bottom, |
| | | linear-gradient($color01, $color01) right bottom; |
| | | background-repeat: no-repeat; |
| | | background-size: 2px 20px, 20px 2px; |
| | | } |
| | | |
| | | .tableData { |
| | | background: #000; |
| | | } |
| | | |
| | | .el-table::before{ |
| | | height: 0; |
| | | } |
| | | |
| | | .el-table__empty-text { |
| | |
| | | background-color: rgb(255 255 0); |
| | | border-radius: 50%; |
| | | } |
| | | |
| | | </style> |