diff --git a/src/views/bid_document_examination/edit.vue b/src/views/bid_document_examination/edit.vue index 3408c34..1828f39 100644 --- a/src/views/bid_document_examination/edit.vue +++ b/src/views/bid_document_examination/edit.vue @@ -10,15 +10,6 @@ -
- - - - - - - -
{ // 表单数据 const formData = reactive({ id: '', - dept_id: '', - org_id: '', approve_id: 0, buy_bidding_document_id: '', @@ -505,35 +492,6 @@ const customEvent1 = (e: any) => { const formRules = reactive({ }) - -//获取所有组织 -const getlist = () => { - getAll().then((res) => { - Object.assign(list1, res) - if (res.length > 0 && !formData.org_id) { - formData.org_id = res[0].id - deptAll({ 'org_id': res[0].id }).then((res) => { - if (res.length > 0) { - Object.assign(list2, res) - formData.dept_id = res[0].id - } - - }) - } - }) -} -//获取部门 -const deptrmt = (e: any) => { - formData.dept_id = '' - getlist1(e) - -} -//获取所有部门 -const getlist1 = (id: any) => { - deptAll({ 'org_id': id }).then((res) => { - list2.splice(0, list2.length, ...res) - }) -} // 获取详情 const setFormData = async (data: Record) => {