Commit c3eb7ad5 authored by 邓春圆's avatar 邓春圆

目标值修改

parent a8672bbb
...@@ -57,7 +57,12 @@ ...@@ -57,7 +57,12 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('部门人数')" align="center" prop="deptEmpCount"/> <el-table-column :label="$t('部门人数')" align="center" prop="deptEmpCount"/>
<el-table-column :label="$t('目标方数')" align="center" prop="cubeNum"/> <el-table-column :label="$t('目标值')" align="center" prop="cubeNum"/>
<el-table-column :label="$t('目标单位')" align="center">
<template v-slot="{row}">
<dict-tag :type="DICT_TYPE.CEBE_UNIT" :value="row.cubeUnit" ></dict-tag>
</template>
</el-table-column>
<el-table-column :label="$t('运输方式')" align="center" prop="transportType"> <el-table-column :label="$t('运输方式')" align="center" prop="transportType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.TRANSPORT_TYPE" :value="scope.row.transportType"/> <dict-tag :type="DICT_TYPE.TRANSPORT_TYPE" :value="scope.row.transportType"/>
...@@ -124,8 +129,11 @@ ...@@ -124,8 +129,11 @@
:key="item.channelId"></el-option> :key="item.channelId"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('立方数')" prop="cubeNum"> <el-form-item :label="$t('目标值')" prop="cubeNum">
<el-input v-model="form.cubeNum" :placeholder="$t('请输入立方数')"/> <el-input v-model="form.cubeNum" :placeholder="$t('请输入目标值')"/>
</el-form-item>
<el-form-item :label="$t('目标单位')" prop="cubeUnit" :rules="{required:true,message:$t('请输入目标单位')}">
<dict-selector :type="DICT_TYPE.CEBE_UNIT" v-model="form.cubeUnit" :placeholder="$t('请选择目标单位')" />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -152,10 +160,11 @@ ...@@ -152,10 +160,11 @@
import {getChannelList} from '@/api/ecw/channel'; import {getChannelList} from '@/api/ecw/channel';
import dayjs from "dayjs"; import dayjs from "dayjs";
import { parseTime } from '@/utils/ruoyi'; import { parseTime } from '@/utils/ruoyi';
import Template from "@/views/cms/template/index.vue";
export default { export default {
name: "EcwDepttargetIndex", name: "EcwDepttargetIndex",
components: {}, components: {Template},
data() { data() {
return { return {
// 遮罩层 // 遮罩层
...@@ -367,6 +376,7 @@ import { parseTime } from '@/utils/ruoyi'; ...@@ -367,6 +376,7 @@ import { parseTime } from '@/utils/ruoyi';
transportType: undefined, transportType: undefined,
shippingChannel: undefined, shippingChannel: undefined,
cubeNum: undefined, cubeNum: undefined,
cubeUnit:undefined,
}; };
this.resetForm("form"); this.resetForm("form");
}, },
......
...@@ -63,7 +63,6 @@ ...@@ -63,7 +63,6 @@
<dict-tag :type="DICT_TYPE.CEBE_UNIT" :value="row.cubeUnit" ></dict-tag> <dict-tag :type="DICT_TYPE.CEBE_UNIT" :value="row.cubeUnit" ></dict-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('目标方数')" align="center" prop="cubeNum"/>
<el-table-column :label="$t('运输方式')" align="center" prop="transportType"> <el-table-column :label="$t('运输方式')" align="center" prop="transportType">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.TRANSPORT_TYPE" :value="scope.row.transportType"/> <dict-tag :type="DICT_TYPE.TRANSPORT_TYPE" :value="scope.row.transportType"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment