|
|
|
@ -12,10 +12,20 @@
|
|
|
|
|
>
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<!-- <el-form-item label="同步状态">-->
|
|
|
|
|
<!-- <el-select v-model="queryParams.syncFlag" placeholder="请选择同步状态">-->
|
|
|
|
|
<!-- <el-option label="已同步" value="Y"></el-option>-->
|
|
|
|
|
<!-- <el-option label="未同步" value="N"></el-option>-->
|
|
|
|
|
<!-- </el-select>-->
|
|
|
|
|
<!-- </el-form-item>-->
|
|
|
|
|
<el-form-item label="同步状态">
|
|
|
|
|
<el-select v-model="queryParams.syncFlag" placeholder="请选择同步状态">
|
|
|
|
|
<el-option label="已同步" value="1"></el-option>
|
|
|
|
|
<el-option label="未同步" value="0"></el-option>
|
|
|
|
|
<el-select v-model="queryParams.syncFlag" placeholder="请选择同步状态" clearable>
|
|
|
|
|
<el-option
|
|
|
|
|
v-for="dict in dict.type.sys_yes_no"
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
:value="dict.value"
|
|
|
|
|
/>
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item>
|
|
|
|
@ -82,7 +92,11 @@
|
|
|
|
|
<span>{{ parseTime(scope.row.planTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="已同步" align="center" prop="syncFlag"/>
|
|
|
|
|
<el-table-column label="已同步" align="center" prop="syncFlag">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.syncFlag"/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="创建人" align="center" prop="createBy"/>
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
@ -358,6 +372,7 @@ import moment from 'moment'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'Plan',
|
|
|
|
|
dicts: ['sys_yes_no'],
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
// 湿料计划详情list
|
|
|
|
|