diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js index d4413bf8..23793e1f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/jurisdictionalManagement/data.js @@ -36,75 +36,13 @@ export const addEditFormList = [ required: true, }, - merge(cloneDeep(PresetFormItems.station), { - required: false, - label: "起始桩号:", - options: { - options: [ - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.startStakeMark[1]?.trim()) - return false; - else return true; - }, - }, - ], - key: "startStakeMark[0]", - }, - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.startStakeMark[0]?.trim()) - return false; - else return true; - }, - }, - ], - key: "startStakeMark[1]", - }, - ], - }, + merge(cloneDeep(PresetFormItems.startStation), { + required: true, }), - - merge(cloneDeep(PresetFormItems.station), { - required: false, - label: "结束桩号:", - options: { - options: [ - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.endStakeMark[1]?.trim()) - return false; - else return true; - }, - }, - ], - key: "endStakeMark[0]", - }, - { - rules: [ - { - message: "请补全桩号", - callback(value, data) { - if (!value?.trim() && data.endStakeMark[0]?.trim()) - return false; - else return true; - }, - }, - ], - key: "endStakeMark[1]", - }, - ], - }, + merge(cloneDeep(PresetFormItems.endStation), { + required: true, }), + { label: "辖区路段编号:", key: "roadCode",