Browse Source

修改其他账户中流程表单回显bug

dev
long 2 years ago
parent
commit
9d9e85fa25
  1. 11
      src/views/activiti/form/ProcessMaterialBorrowingForm.vue
  2. 10
      src/views/activiti/form/ProcessMaterialWarehousingForm.vue
  3. 11
      src/views/activiti/form/ProcessMaterialsAllotForm.vue
  4. 10
      src/views/activiti/form/ProcessMaterialsDeliveryForm.vue
  5. 10
      src/views/activiti/form/ProcessMaterialsReturnForm.vue
  6. 8
      src/views/activiti/form/ProcessPermissionAuthorizationForm.vue
  7. 3
      src/views/activiti/form/ProcessSmaterialsScrapForm.vue
  8. 10
      src/views/activiti/form/ProcessSpecialMaterialsForm.vue
  9. 10
      src/views/activiti/form/ProcessUdgetPlanForm.vue

11
src/views/activiti/form/ProcessMaterialBorrowingForm.vue

@ -305,14 +305,17 @@
created () {
//data
this.showFlowData();
if (!this.isNew){
this.init();
}
let company = sessionStorage.getItem("PARENT_ID");
let userInfo=sessionStorage.getItem("USER_INFORMATION");
console.log(userInfo)
// userInfo.company=company;
this.popupCallback(company,userInfo);
if (!this.isNew){
this.init();
}else {
this.popupCallback(company,userInfo);
}
},
methods: {
/*回显数据*/

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

@ -369,15 +369,17 @@ import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
created() {
//data
this.showFlowData()
if (!this.isNew) {
this.init()
}
let company = sessionStorage.getItem('PARENT_ID')
let puwwcid = sessionStorage.getItem('PUWWC_Id')
let userInfo = sessionStorage.getItem('USER_INFORMATION')
console.log(userInfo)
// userInfo.company=company;
this.popupCallback(company, userInfo, puwwcid)
if (!this.isNew) {
this.init()
}else {
this.popupCallback(company, userInfo, puwwcid)
}
},
methods: {
//tab

11
src/views/activiti/form/ProcessMaterialsAllotForm.vue

@ -388,16 +388,17 @@
created() {
//data
this.showFlowData()
if (!this.isNew) {
this.init()
}
let company = sessionStorage.getItem('PARENT_ID')
let userInfo = sessionStorage.getItem('USER_INFORMATION')
// console.log("userInfouserInfo",JSON.parse(userInfo));
// userInfo.company=company;
this.popupCallback(company, userInfo)
if (!this.isNew) {
this.init()
}else {
this.popupCallback(company, userInfo)
}
},
methods: {
async onSelect(record) {

10
src/views/activiti/form/ProcessMaterialsDeliveryForm.vue

@ -408,14 +408,16 @@
created() {
//data
//this.showFlowData()
if (!this.isNew) {
this.init()
}
let company = sessionStorage.getItem('PARENT_ID')
let puwwcid = sessionStorage.getItem('PUWWC_Id')
let userInfo = sessionStorage.getItem('USER_INFORMATION')
// userInfo.company=company;
this.popupCallback(company, userInfo, puwwcid)
if (!this.isNew) {
this.init()
}else {
this.popupCallback(company, userInfo, puwwcid)
}
},
methods: {
shuliang() {

10
src/views/activiti/form/ProcessMaterialsReturnForm.vue

@ -308,14 +308,16 @@
created () {
//data
this.showFlowData();
if (!this.isNew){
this.init();
}
let company = sessionStorage.getItem("PARENT_ID");
let userInfo=sessionStorage.getItem("USER_INFORMATION");
console.log(userInfo)
// userInfo.company=company;
this.popupCallback(company,userInfo);
if (!this.isNew){
this.init();
}else {
this.popupCallback(company,userInfo);
}
},
methods: {
/*回显数据*/

8
src/views/activiti/form/ProcessPermissionAuthorizationForm.vue

@ -214,12 +214,14 @@
created () {
//data
this.showFlowData();
let company = sessionStorage.getItem("PARENT_ID");
let userInfo=sessionStorage.getItem("USER_INFORMATION");
if (!this.isNew){
this.init();
}else {
this.popupCallback(company,userInfo);
}
let company = sessionStorage.getItem("PARENT_ID");
let userInfo=sessionStorage.getItem("USER_INFORMATION");
this.popupCallback(company,userInfo);
},
methods: {
/*回显数据*/

3
src/views/activiti/form/ProcessSmaterialsScrapForm.vue

@ -355,9 +355,10 @@
let userInfo = sessionStorage.getItem('USER_INFORMATION')
// console.log(userInfo)
// userInfo.company=company;
this.popupCallback(company, userInfo)
if (!this.isNew){
this.init();
}else {
this.popupCallback(company, userInfo)
}
},
methods: {

10
src/views/activiti/form/ProcessSpecialMaterialsForm.vue

@ -302,14 +302,16 @@
created () {
//data
this.showFlowData();
if (!this.isNew){
this.init();
}
let company = sessionStorage.getItem("PARENT_ID");
let userInfo=sessionStorage.getItem("USER_INFORMATION");
console.log(userInfo)
// userInfo.company=company;
this.popupCallback(company,userInfo);
if (!this.isNew){
this.init();
}else {
this.popupCallback(company,userInfo);
}
},
methods: {
/*回显数据*/

10
src/views/activiti/form/ProcessUdgetPlanForm.vue

@ -615,14 +615,16 @@
created() {
//data
//this.showFlowData()
if (!this.isNew) {
this.init()
}
this.getAllTable()
let company = sessionStorage.getItem('PARENT_ID')
let userInfo = sessionStorage.getItem('USER_INFORMATION')
// userInfo.company=company;
this.popupCallback(company, userInfo)
if (!this.isNew) {
this.init()
}else {
this.popupCallback(company, userInfo)
}
// this.descriptionFetchDatas();
},

Loading…
Cancel
Save