|
|
@@ -33,10 +33,10 @@
|
|
|
:disabled="single">详情</el-button>
|
|
|
</template>
|
|
|
<template v-slot:plannedCapacity="{ row }">
|
|
|
- {{ row.plannedCapacity }}{{row.plannedCapacityUnit?row.plannedCapacityUnit:''}}
|
|
|
+ {{ row.plannedCapacity }}{{ row.plannedCapacityUnit ? row.plannedCapacityUnit : '' }}
|
|
|
</template>
|
|
|
<template v-slot:averageDailyCapacity="{ row }">
|
|
|
- {{ row.averageDailyCapacity }}{{row.plannedCapacityUnit?row.plannedCapacityUnit:''}}
|
|
|
+ {{ row.averageDailyCapacity }}{{ row.plannedCapacityUnit ? row.plannedCapacityUnit : '' }}
|
|
|
</template>
|
|
|
<template v-slot:action="{ row }">
|
|
|
<el-link type="primary" :underline="false" icon="el-icon-edit" @click="handleUpdate(row)">
|
|
|
@@ -71,8 +71,19 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="规划产能" prop="plannedCapacity">
|
|
|
<div style="display: flex;align-items: center;justify-content: space-between;">
|
|
|
- <el-input v-model="form.plannedCapacity" placeholder="请输入规划产能" style="width: calc(100% - 100px)" />
|
|
|
- <DictSelection dictName="计量单位" v-model="form.plannedCapacityUnit" filterable clearable style="width: 100px;">
|
|
|
+ <el-input v-model="form.plannedCapacity" placeholder="请输入规划产能" style="width: calc(100% - 300px)" />
|
|
|
+
|
|
|
+ <el-select v-model="form.measureType" placeholder="计量类型">
|
|
|
+ <el-option v-for="item in measureTypeList" :key="item.value" :label="item.label"
|
|
|
+ :value="item.value"></el-option>
|
|
|
+ </el-select>
|
|
|
+
|
|
|
+ <!-- <el-select v-model="form.plannedCapacityUnit" placeholder="计量单位">
|
|
|
+ <el-option v-for="item in month_select" :key="item.value" :label="item.value"
|
|
|
+ :value="item.value"></el-option>
|
|
|
+ </el-select> -->
|
|
|
+ <DictSelection dictName="计量单位" v-model="form.plannedCapacityUnit" filterable clearable
|
|
|
+ style="width: 100px;">
|
|
|
</DictSelection>
|
|
|
</div>
|
|
|
</el-form-item>
|
|
|
@@ -128,6 +139,16 @@ export default {
|
|
|
year_select: [
|
|
|
{ "value": 2025 }, { "value": 2026 }, { "value": 2027 }, { "value": 2028 }
|
|
|
],
|
|
|
+ measureTypeList: [
|
|
|
+ {
|
|
|
+ label: '数量',
|
|
|
+ value: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '重量',
|
|
|
+ value: 2
|
|
|
+ },
|
|
|
+ ],
|
|
|
month_select: [
|
|
|
{ "value": 1 }, { "value": 2 }, { "value": 3 }, { "value": 4 },
|
|
|
{ "value": 5 }, { "value": 6 }, { "value": 7 }, { "value": 8 },
|