| | |
| | | </el-radio-group> |
| | | <div style="display: flex;align-items: center;"> |
| | | <p style="font-size: 14px;margin-right: 30px;"> |
| | | 总工时汇总:<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{ (totalInfo['产量工时汇总']+totalInfo['辅助工时汇总'])? (totalInfo['产量工时汇总']+totalInfo['辅助工时汇总']):0 }}</span> 产量工时汇总:<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['产量工时汇总']?totalInfo['产量工时汇总']:0}}</span> 辅助工时汇总:<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['辅助工时汇总']?totalInfo['辅助工时汇总']:0}}</span> |
| | | 总工时汇总:<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{ (totalInfo['产量工时汇总']+totalInfo['辅助工时汇总'])? Number((totalInfo['产量工时汇总']+totalInfo['辅助工时汇总'])).tofixed(4):0 }}</span> 产量工时汇总:<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['产量工时汇总']?Number(totalInfo['产量工时汇总']).tofixed(4):0}}</span> 辅助工时汇总:<span style="font-size: 16px;color: #3A7BFA;" v-if="totalInfo">{{totalInfo['辅助工时汇总']?Number(totalInfo['辅助工时汇总']).tofixed(4):0}}</span> |
| | | </p> |
| | | <el-button size="small" type="primary" @click="openAdd" v-show="currentTable == 'ValueTable0'&&add">录入数据</el-button> |
| | | <el-button size="small" type="primary" |
| | |
| | | entityCopy1: {}, |
| | | upIndex1:100, |
| | | weekList:[ |
| | | {label: '周一', value: '1',type:'primary'}, |
| | | {label: '周二', value: '2',type:'primary'}, |
| | | {label: '周三', value: '3',type:'primary'}, |
| | | {label: '周四', value: '4',type:'primary'}, |
| | | {label: '周五', value: '5',type:'primary'}, |
| | | {label: '周六', value: '6',type:'primary'}, |
| | | {label: '周日', value: '7',type:'primary'} |
| | | {label: '周一', value: '周一',type:'primary'}, |
| | | {label: '周二', value: '周二',type:'primary'}, |
| | | {label: '周三', value: '周三',type:'primary'}, |
| | | {label: '周四', value: '周四',type:'primary'}, |
| | | {label: '周五', value: '周五',type:'primary'}, |
| | | {label: '周六', value: '周六',type:'primary'}, |
| | | {label: '周日', value: '周日',type:'primary'} |
| | | ], |
| | | currentTable:'ValueTable0', |
| | | addVisible:false, |
| | |
| | | this.entity.dateTime.push(formattedDate2); |
| | | this.componentData1.entity.dateTime.push(formattedDate1); |
| | | this.componentData1.entity.dateTime.push(formattedDate2); |
| | | this.componentData1.entity.dateTime = JSON.stringify(this.componentData1.entity.dateTime) |
| | | this.refreshTable() |
| | | }, |
| | | getPower(){ |