Browse Source

修改页面bug 关联回显再次确认保存的bug

dev
long 2 years ago
parent
commit
31c46eaa78
  1. 5
      src/components/jeecg/HDelivery.vue
  2. 10
      src/components/jeecg/HPlan.vue
  3. 9
      src/views/activiti/ProcessModelList.vue
  4. 2
      src/views/activiti/form/ProcessMaterialWarehousingForm.vue

5
src/components/jeecg/HDelivery.vue

@ -145,6 +145,11 @@
params.ids.push(res.result.id)
params.vals.push(res.result.warehousingBatch)
this.showText=params;
let dataList=[];
let data={}
data.id=res.result.id;
dataList.push(data)
this.$emit('mounted', dataList)
}
if (res.code === 510) {
this.$message.warning(res.message)

10
src/components/jeecg/HPlan.vue

@ -152,7 +152,11 @@
params.ids.push(res.result.id)
params.vals.push(res.result.warehousingBatch)
this.showText=params;
let dataList=[];
let data={}
data.id=res.result.id;
dataList.push(data)
this.$emit('mounted', dataList)
}
if (res.code === 510) {
this.$message.warning(res.message)
@ -240,11 +244,11 @@
this.$emit('callback', rows[0].id)
this.$emit('mounted', rows)
this.$emit('callType', rows[0])
console.log(rows[0],"选中的数据-----")
console.log(rows,"选中的数据-----")
} else {
//v-model field
// this.$emit("input",row[orgFieldsArr[destFieldsArr.indexOf(this.field)]])
console.log(rows[0],"选中的数据")
console.log(rows,"选中的数据")
this.$emit('input', this.showText, rows[0])
this.$emit('mounted', rows)
this.$emit('callType', rows[0])

9
src/views/activiti/ProcessModelList.vue

@ -631,6 +631,7 @@
/*编辑流程信息*/
edit(record) {
this.editForm.resetFields();
this.editObj.visible = true
if (!record.description) {
this.textbox = '新增'
} else {
@ -640,7 +641,7 @@
this.$nextTick(() => {
this.editForm.setFieldsValue(pick(this.model,'id','name','categoryId','routeName','sort','userIds','description'))
})
this.editObj.visible = true
},
editObjOk() {
var _this = this
@ -674,9 +675,9 @@
let routeName = this.editForm.getFieldValue('routeName')
console.log('routeName', routeName)
var route = this.getFormComponent(routeName)
this.editObj.businessTable = route.businessTable
this.editObj.routeName = route.routeName
console.log('this.editObj', this.editObj)
this.model.businessTable = route.businessTable
this.model.routeName = route.routeName
console.log('this.model', this.model)
})
},
viewForm(routeName) {

2
src/views/activiti/form/ProcessMaterialWarehousingForm.vue

@ -531,6 +531,7 @@ import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
formData.title = this.processData.description
formData.targetLibrary = this.libraryAssociationIdInvisible
formData.processUdgetPlanId=this.processUdgetPlanIds
console.log(this.processUdgetPlanIds);
if (!formData.tableName) formData.tableName = this.processData.businessTable
var url = this.url.add
let method = 'post'
@ -612,6 +613,7 @@ import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
}
}
this.processUdgetPlanIds=ids.join(",");
console.log(this.processUdgetPlanIds,"processUdgetPlanIds")
let params = {}
params.ids = JSON.stringify(ids)
this.requestSubTableData(this.url.list, params, this.processMaterialWarehousingListTable)

Loading…
Cancel
Save