Commit 4229f75a authored by 李苏's avatar 李苏 💬

type 选择调整为 "src": "fme/ufmezbp/init/year",

parent af2dd810
......@@ -3,7 +3,7 @@
* @Author: lisu lisu@gavelinfo.com
* @Date: 2024-09-19 10:47:46
* @LastEditors: lisu lisu@gavelinfo.com
* @LastEditTime: 2024-10-29 14:43:46
* @LastEditTime: 2024-12-06 15:53:14
* @FilePath: /zghywpc-vue/src/views/fmegl/fmezbpgl/biao/edit.vue
-->
<template>
......@@ -35,13 +35,14 @@
prop: 'type',
span: 12,
"type": "RelSelect",
"value": "year",
"value": "Y",
"typeConfig": {
"src": "fme/ufmezbp/init/year",
change: (v) => {
console.log(this.editConfig.editColItemList)
let changList = ['dbrwcq', 'yhrwcq', 'lhqx', 'sjtbyc', 'sjgbcq','month']
let changList2 = ['rlkkx']
if (v.id == 'year') {
if (v.id == 'Y') {
this.editConfig.editColItemList.forEach(item => {
if (changList.includes(item.prop)) {
item.show = false
......@@ -60,16 +61,7 @@
},
clearable: false,
"optionsData": [{
id: 'year',
name: '年'
},
{
id: 'month',
name: '月'
}
],
"match": {
"value": "id",
"label": "name"
......
......@@ -120,18 +120,14 @@
prop: 'type',
span: 6,
type: 'RelSelect',
value: 'year',
value: 'Y',
typeConfig: {
clearable: false,
optionsData: [{
id: 'year',
name: '年'
},
{
id: 'month',
name: '月'
}
],
"src": "fme/ufmezbp/init/year",
"match": {
"value": "id",
"label": "name"
}
}
}
......
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