|
@@ -107,8 +107,7 @@
|
|
|
<el-button v-if="row.status !== 5" type="text" size="small" @click="beforeCloseAccount(row)">结算</el-button>
|
|
|
<el-button v-if="row.status === 5" type="text" size="small" :disabled="viewDisabled"
|
|
|
@click="cancelCloseAccount(row)">取消结算</el-button>
|
|
|
- <el-button :disabled="row.taskStatus != 10" type="text" size="small"
|
|
|
- @click="dispatch(row)">派工</el-button>
|
|
|
+ <el-button :disabled="row.taskStatus != 10" type="text" size="small" @click="dispatch(row)">派工</el-button>
|
|
|
<el-button type="text" size="small" @click="rowCellTwo(row, index)"
|
|
|
:disabled="row.strStatus == '结算完成' || viewDisabled">{{ row.$cellEdit ? '修改完成' : '修改' }}</el-button>
|
|
|
<el-button type="text" size="small" @click="rowDel(row, index)"
|
|
@@ -120,14 +119,14 @@
|
|
|
</user-select>
|
|
|
<span v-else>{{ row.userName }}</span>
|
|
|
</template>
|
|
|
- <!-- <template slot="frequency" slot-scope="{ row }">-->
|
|
|
- <!-- <el-select v-if="row.$cellEdit" size="small" v-model="row.frequency" placeholder="请选择"-->
|
|
|
- <!-- @change="frequencyChange(row)" clearable>-->
|
|
|
- <!-- <el-option v-for="item in frequencyList" :key="item.id" :label="item.dictValue" :value="item.dictKey">-->
|
|
|
- <!-- </el-option>-->
|
|
|
- <!-- </el-select>-->
|
|
|
- <!-- <span v-else>{{ row.frequency | frequencyFormat(frequencyList) }}</span>-->
|
|
|
- <!-- </template>-->
|
|
|
+ <template slot="frequency" slot-scope="{ row }">
|
|
|
+ <el-select v-if="row.$cellEdit" size="small" v-model="row.frequency" placeholder="请选择"
|
|
|
+ @change="frequencyChange(row)" clearable>
|
|
|
+ <el-option v-for="item in frequencyList" :key="item.id" :label="item.dictValue" :value="item.dictKey">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <span v-else>{{ row.frequency | frequencyFormat(frequencyList) }}</span>
|
|
|
+ </template>
|
|
|
<template slot="second" slot-scope="{ row }">
|
|
|
<el-select v-if="row.$cellEdit && row.frequency == 4" size="small" v-model="row.second" placeholder="请选择"
|
|
|
clearable>
|