diff --git a/src/views/activiti/applyHome.vue b/src/views/activiti/applyHome.vue index 8fde2d5..11c9e9c 100644 --- a/src/views/activiti/applyHome.vue +++ b/src/views/activiti/applyHome.vue @@ -31,10 +31,19 @@ - + + @afterSubmit="afterSub" @close="lcModa.visible=false,lcModa.disabled = false" > + @@ -58,6 +67,7 @@ return { description: '所有', dictOptions:[], + disableSubmit: false, url: { getProcessDataList: "/activiti_process/listData", getFirstNode:'/actProcessIns/getFirstNode', @@ -163,7 +173,7 @@ /*提交成功申请后*/ afterSub(formData){ this.lcModa.visible = false; - this.$message("请前往我的申请列表提交审批!") + this.$message.success("请前往我的申请列表提交审批!") }, /*前往我的申请页面*/ handleToApplyList() { diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index 33b6adb..c4a67bb 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -57,7 +57,7 @@ - + \ No newline at end of file diff --git a/src/views/processmaterials/modules/ProcessUdgetPlanForm.vue b/src/views/processmaterials/modules/ProcessUdgetPlanForm.vue index a98bc9d..94a1916 100644 --- a/src/views/processmaterials/modules/ProcessUdgetPlanForm.vue +++ b/src/views/processmaterials/modules/ProcessUdgetPlanForm.vue @@ -26,12 +26,12 @@ - + - + @@ -78,14 +78,14 @@ import { JEditableTableMixin } from '@/mixins/JEditableTableMixin' import { validateDuplicateValue } from '@/utils/util' import JFormContainer from '@/components/jeecg/JFormContainer' - import JDate from '@/components/jeecg/JDate' + import JDate from '@/components/jeecg/JDate' import JUpload from '@/components/jeecg/JUpload' import JSelectDepart from '@/components/jeecgbiz/JSelectDepart' import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep' import JDictSelectTag from "@/components/dict/JDictSelectTag" export default { - name: 'ProcessUdgetPlanForm', + name: 'ProcessUdgetPlanFormff', mixins: [JEditableTableMixin], components: { JFormContainer, @@ -245,10 +245,7 @@ { title: '对比单价', key: 'contrastPrice', - type: FormTypes.popup, - popupCode:"", - destFields:"", - orgFields:"", + type: FormTypes.inputNumber, width:"200px", placeholder: '请输入${title}', defaultValue:'', @@ -285,6 +282,30 @@ placeholder: '请输入${title}', defaultValue:'', }, + { + title: '删除标志', + key: 'delFlag', + type: FormTypes.inputNumber, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '删除时间', + key: 'delTime', + type: FormTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, + { + title: '修改人', + key: 'updateBy', + type: FormTypes.input, + width:"200px", + placeholder: '请输入${title}', + defaultValue:'', + }, ] }, url: { @@ -342,11 +363,13 @@ }, methods: { addBefore(){ + alert(3) this.form.resetFields() this.processUdgetPlanMaterialTable.dataSource=[] }, getAllTable() { let values = this.tableKeys.map(key => getRefPromise(this, key)) + console.log('-------->',values) return Promise.all(values) }, /** 调用完edit()方法之后会自动调用此方法 */ @@ -363,6 +386,7 @@ }, /** 整理成formData */ classifyIntoFormData(allValues) { + alert(JSON.stringify(allValues)) let main = Object.assign(this.model, allValues.formValue) return { ...main, // 展开 diff --git a/src/views/processmaterials/modules/ProcessUdgetPlanModal.vue b/src/views/processmaterials/modules/ProcessUdgetPlanModal.vue index 42c5951..24c8d32 100644 --- a/src/views/processmaterials/modules/ProcessUdgetPlanModal.vue +++ b/src/views/processmaterials/modules/ProcessUdgetPlanModal.vue @@ -1,125 +1,45 @@ \ No newline at end of file + + + \ No newline at end of file