Merge pull request 'projects/mes-zjl' (#425) from projects/mes-zjl into projects/mes-test

Reviewed-on: #425
This commit is contained in:
朱菊兰 2025-03-17 10:36:14 +08:00
commit 932d35c14c
5 changed files with 11 additions and 16 deletions

View File

@ -220,10 +220,6 @@ export default {
//
emitButtonClick1() {
let n = this.tableData1.length
if (n >=3) {
this.$modal.msgWarning('最多可添加3档计价')
return false
}
let obj = {}
obj.startTime = n === 0 ? '' : this.tableData1[n-1].endTime
obj.endTime = ''
@ -232,10 +228,6 @@ export default {
},
emitButtonClick2() {
let n = this.tableData2.length
if (n >=3) {
this.$modal.msgWarning('最多可添加3档计价')
return false
}
let obj = {}
obj.startUsed = n === 0 ? 0 : this.tableData2[n-1].endUsed
obj.endUsed = 0

View File

@ -13,6 +13,8 @@
</el-col>
</el-row>
<base-table
:page="1"
:limit="5000"
:table-props="tableProps"
:table-data="tableData"
:max-height="tableH"
@ -43,7 +45,7 @@ const tableProps = [
},
{
prop: 'workTime',
label: '工作时长'
label: '工作时长(h)'
}
]
export default {

View File

@ -62,7 +62,8 @@ export default {
selectOptions: [],
param: 'workOrderId',
clearable: false,
filterable: true
filterable: true,
required: true
},
{
type: 'button',

View File

@ -38,6 +38,7 @@ import { groupTeamSchedulingPage, groupClassesListAll } from '@/api/monitoring/t
import { parseTime } from '@/utils/ruoyi'
import TeamProductionDetail from './components/teamProductionDetail'
import tableHeightMixin from '@/mixins/tableHeightMixin';
import moment from 'moment'
const tableProps = [
{
prop: 'createTime',
@ -53,14 +54,12 @@ const tableProps = [
{
prop: 'startTime',
label: '上班时间',
filter: parseTime,
minWidth: 160
filter: (val) => moment(val).format('HH:mm')
},
{
prop: 'endTime',
label: '下班时间',
filter: parseTime,
minWidth: 160
filter: (val) => moment(val).format('HH:mm')
},
{
prop: 'classesName',
@ -70,7 +69,8 @@ const tableProps = [
{
prop: 'teamName',
label: '班组名称',
showOverflowtooltip: true
showOverflowtooltip: true,
minWidth: 100
}
]
export default {

View File

@ -97,7 +97,7 @@
"
@click="handleClick({ data: scope.row, type: 'bind' })"
v-hasPermi="['base:order-manage:bindWorkOrder']">
绑定工单
下发工单
</el-button>
<span style="margin: 0 4px; font-size: 18px; color: #e5e7eb">|</span>
<el-button