Compare commits
No commits in common. "932d35c14c3bf4c28ec32a32d5525bf43f2d6b2d" and "d49a698136f134cb273dd0b45c611bb0dd5a2bde" have entirely different histories.
932d35c14c
...
d49a698136
@ -220,6 +220,10 @@ export default {
|
|||||||
// 增加
|
// 增加
|
||||||
emitButtonClick1() {
|
emitButtonClick1() {
|
||||||
let n = this.tableData1.length
|
let n = this.tableData1.length
|
||||||
|
if (n >=3) {
|
||||||
|
this.$modal.msgWarning('最多可添加3档计价')
|
||||||
|
return false
|
||||||
|
}
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.startTime = n === 0 ? '' : this.tableData1[n-1].endTime
|
obj.startTime = n === 0 ? '' : this.tableData1[n-1].endTime
|
||||||
obj.endTime = ''
|
obj.endTime = ''
|
||||||
@ -228,6 +232,10 @@ export default {
|
|||||||
},
|
},
|
||||||
emitButtonClick2() {
|
emitButtonClick2() {
|
||||||
let n = this.tableData2.length
|
let n = this.tableData2.length
|
||||||
|
if (n >=3) {
|
||||||
|
this.$modal.msgWarning('最多可添加3档计价')
|
||||||
|
return false
|
||||||
|
}
|
||||||
let obj = {}
|
let obj = {}
|
||||||
obj.startUsed = n === 0 ? 0 : this.tableData2[n-1].endUsed
|
obj.startUsed = n === 0 ? 0 : this.tableData2[n-1].endUsed
|
||||||
obj.endUsed = 0
|
obj.endUsed = 0
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<base-table
|
<base-table
|
||||||
:page="1"
|
|
||||||
:limit="5000"
|
|
||||||
:table-props="tableProps"
|
:table-props="tableProps"
|
||||||
:table-data="tableData"
|
:table-data="tableData"
|
||||||
:max-height="tableH"
|
:max-height="tableH"
|
||||||
@ -45,7 +43,7 @@ const tableProps = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'workTime',
|
prop: 'workTime',
|
||||||
label: '工作时长(h)'
|
label: '工作时长'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
export default {
|
export default {
|
||||||
|
@ -62,8 +62,7 @@ export default {
|
|||||||
selectOptions: [],
|
selectOptions: [],
|
||||||
param: 'workOrderId',
|
param: 'workOrderId',
|
||||||
clearable: false,
|
clearable: false,
|
||||||
filterable: true,
|
filterable: true
|
||||||
required: true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'button',
|
type: 'button',
|
||||||
|
@ -38,7 +38,6 @@ import { groupTeamSchedulingPage, groupClassesListAll } from '@/api/monitoring/t
|
|||||||
import { parseTime } from '@/utils/ruoyi'
|
import { parseTime } from '@/utils/ruoyi'
|
||||||
import TeamProductionDetail from './components/teamProductionDetail'
|
import TeamProductionDetail from './components/teamProductionDetail'
|
||||||
import tableHeightMixin from '@/mixins/tableHeightMixin';
|
import tableHeightMixin from '@/mixins/tableHeightMixin';
|
||||||
import moment from 'moment'
|
|
||||||
const tableProps = [
|
const tableProps = [
|
||||||
{
|
{
|
||||||
prop: 'createTime',
|
prop: 'createTime',
|
||||||
@ -54,12 +53,14 @@ const tableProps = [
|
|||||||
{
|
{
|
||||||
prop: 'startTime',
|
prop: 'startTime',
|
||||||
label: '上班时间',
|
label: '上班时间',
|
||||||
filter: (val) => moment(val).format('HH:mm')
|
filter: parseTime,
|
||||||
|
minWidth: 160
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'endTime',
|
prop: 'endTime',
|
||||||
label: '下班时间',
|
label: '下班时间',
|
||||||
filter: (val) => moment(val).format('HH:mm')
|
filter: parseTime,
|
||||||
|
minWidth: 160
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'classesName',
|
prop: 'classesName',
|
||||||
@ -69,8 +70,7 @@ const tableProps = [
|
|||||||
{
|
{
|
||||||
prop: 'teamName',
|
prop: 'teamName',
|
||||||
label: '班组名称',
|
label: '班组名称',
|
||||||
showOverflowtooltip: true,
|
showOverflowtooltip: true
|
||||||
minWidth: 100
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
export default {
|
export default {
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
"
|
"
|
||||||
@click="handleClick({ data: scope.row, type: 'bind' })"
|
@click="handleClick({ data: scope.row, type: 'bind' })"
|
||||||
v-hasPermi="['base:order-manage:bindWorkOrder']">
|
v-hasPermi="['base:order-manage:bindWorkOrder']">
|
||||||
下发工单
|
绑定工单
|
||||||
</el-button>
|
</el-button>
|
||||||
<span style="margin: 0 4px; font-size: 18px; color: #e5e7eb">|</span>
|
<span style="margin: 0 4px; font-size: 18px; color: #e5e7eb">|</span>
|
||||||
<el-button
|
<el-button
|
||||||
|
Loading…
Reference in New Issue
Block a user