预算和指标填报

This commit is contained in:
2026-04-10 08:41:39 +08:00
parent 0c8bd440ae
commit bdd73b8868
18 changed files with 162 additions and 39 deletions

View File

@@ -30,6 +30,13 @@
</el-select>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="数值目标属性" prop="targetProperty">
<el-select v-model="form.targetProperty" placeholder="请选择" style="width: 100%;">
<el-option v-for='item in targetPropertyList' :key='item.value' :label="item.label" :value= 'item.value' ></el-option>
</el-select>
</el-form-item>
</el-col>
</el-row>
</el-form>
</template>
@@ -46,7 +53,8 @@ export default {
importantWork: '',
unit: '',
time:'',
calculateMethod:''
calculateMethod:'',
targetProperty:'',
},
isEdit: false, //是否是编辑
rules: {
@@ -54,9 +62,11 @@ export default {
unit: [{ required: true, message: '请选择单位', trigger: 'change' }],
time: [{ required: true, message: '请选择所属年份', trigger: 'change' }],
calculateMethod: [{ required: true, message: '请选择累计值计算方式', trigger: 'change' }],
targetProperty: [{ required: true, message: '请选择数值目标属性', trigger: 'change' }],
},
unitList:getDictDatas('lb_dw'),
calculateMethodList:getDictDatas('important_work_method')
calculateMethodList:getDictDatas('important_work_method'),
targetPropertyList:getDictDatas('target_property')
}
},
methods: {

View File

@@ -44,6 +44,22 @@ export default {
data () {
return {
formConfig: [
{
type: 'select',
label: '所属基地',
selectOptions: [
{ id: 2, name: '桐城' },
{ id: 3, name: '自贡' },
{ id: 5, name: '合肥' },
{ id: 6, name: '宿迁' },
{ id: 7, name: '宜兴' },
{ id: 8, name: '漳州' },
{ id: 9, name: '洛阳' },
{ id: 10, name: '秦皇岛' },
],
param: 'factory',
onchange: true
},
{
type: 'input',
label: '客户名称',
@@ -74,6 +90,7 @@ export default {
}
],
listQuery:{
factory:'',
name:'',
code:'',
pageSize:20,
@@ -106,6 +123,7 @@ export default {
case 'search':
this.listQuery.name = val.name
this.listQuery.code = val.code
this.listQuery.factory = val.factory
this.listQuery.pageNo = 1;
this.getDataList();
break;

View File

@@ -45,6 +45,11 @@ const tableProps = [
label: '累计值计算方式',
filter: publicFormatter('important_work_method')
},
{
prop: 'targetProperty',
label: '数值目标属性',
filter: publicFormatter('target_property')
},
];
export default {
name: 'GroupKeyTaskConfiguration',