跟新
This commit is contained in:
@@ -13,8 +13,6 @@
|
|||||||
"prettier": "prettier --write ."
|
"prettier": "prettier --write ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"file-saver": "^2.0.5",
|
|
||||||
"xlsx": "^0.18.5",
|
|
||||||
"@axolo/json-editor-vue": "^0.3.2",
|
"@axolo/json-editor-vue": "^0.3.2",
|
||||||
"@chenfengyuan/vue-qrcode": "^2.0.0",
|
"@chenfengyuan/vue-qrcode": "^2.0.0",
|
||||||
"@element-plus/icons-vue": "^2.0.10",
|
"@element-plus/icons-vue": "^2.0.10",
|
||||||
@@ -38,6 +36,7 @@
|
|||||||
"driver.js": "^0.9.8",
|
"driver.js": "^0.9.8",
|
||||||
"echarts": "^5.4.1",
|
"echarts": "^5.4.1",
|
||||||
"element-plus": "2.5.5",
|
"element-plus": "2.5.5",
|
||||||
|
"file-saver": "^2.0.5",
|
||||||
"form-create-designer": "3.2.11-oem",
|
"form-create-designer": "3.2.11-oem",
|
||||||
"highlight.js": "^11.7.0",
|
"highlight.js": "^11.7.0",
|
||||||
"html-to-image": "^1.11.13",
|
"html-to-image": "^1.11.13",
|
||||||
@@ -46,6 +45,7 @@
|
|||||||
"json-editor-vue3": "^1.1.1",
|
"json-editor-vue3": "^1.1.1",
|
||||||
"jsplumb": "2.15.6",
|
"jsplumb": "2.15.6",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
|
"mammoth": "^1.11.0",
|
||||||
"marked": "^12.0.2",
|
"marked": "^12.0.2",
|
||||||
"markmap-common": "0.15.6",
|
"markmap-common": "0.15.6",
|
||||||
"markmap-lib": "0.15.8",
|
"markmap-lib": "0.15.8",
|
||||||
@@ -73,7 +73,8 @@
|
|||||||
"vue-router": "4.1.6",
|
"vue-router": "4.1.6",
|
||||||
"vue3-tree-org": "^4.2.2",
|
"vue3-tree-org": "^4.2.2",
|
||||||
"vue3-video-play": "1.3.1-beta.6",
|
"vue3-video-play": "1.3.1-beta.6",
|
||||||
"vuedraggable": "^4.1.0"
|
"vuedraggable": "^4.1.0",
|
||||||
|
"xlsx": "^0.18.5"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@achrinza/node-ipc": "^11.0.0",
|
"@achrinza/node-ipc": "^11.0.0",
|
||||||
|
|||||||
@@ -138,7 +138,7 @@
|
|||||||
<!-- 部门采购会议纪要(预算超过2000元必须上传,不区分部门自行采购/学校统一采购) -->
|
<!-- 部门采购会议纪要(预算超过2000元必须上传,不区分部门自行采购/学校统一采购) -->
|
||||||
<el-row :gutter="16" v-if="showPurchaseDetailBlocks && dataForm.budget != null && dataForm.budget >= BUDGET_DEPT_SELF_MEETING_MINUTES">
|
<el-row :gutter="16" v-if="showPurchaseDetailBlocks && dataForm.budget != null && dataForm.budget >= BUDGET_DEPT_SELF_MEETING_MINUTES">
|
||||||
<el-col :span="8" class="mb12">
|
<el-col :span="8" class="mb12">
|
||||||
<el-form-item label="部门采购会议纪要" prop="deptSelfMeetingMinutes" required>
|
<el-form-item label="部门采购会议纪要" prop="deptSelfMeetingMinutes">
|
||||||
<upload-file
|
<upload-file
|
||||||
v-model="dataForm.deptSelfMeetingMinutes"
|
v-model="dataForm.deptSelfMeetingMinutes"
|
||||||
:limit="1"
|
:limit="1"
|
||||||
@@ -1633,6 +1633,21 @@ const dataRules = reactive({
|
|||||||
trigger: 'change',
|
trigger: 'change',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
// 部门采购会议纪要:预算超过2000元必填
|
||||||
|
deptSelfMeetingMinutes: [
|
||||||
|
{
|
||||||
|
validator: (_rule: any, value: any, callback: (e?: Error) => void) => {
|
||||||
|
if (dataForm.budget != null && dataForm.budget >= BUDGET_DEPT_SELF_MEETING_MINUTES) {
|
||||||
|
if (!value || (Array.isArray(value) && value.length === 0) || (typeof value === 'string' && !value.trim())) {
|
||||||
|
callback(new Error('请上传部门采购会议纪要'));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
callback();
|
||||||
|
},
|
||||||
|
trigger: 'change',
|
||||||
|
},
|
||||||
|
],
|
||||||
// 学校统一采购时必填
|
// 学校统一采购时必填
|
||||||
deptClassifyUserId: [
|
deptClassifyUserId: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user