diff --git a/yxt-as-ui/src/views/workFlow/qitachukuFlow/otherOutboundEdit.vue b/yxt-as-ui/src/views/workFlow/qitachukuFlow/otherOutboundEdit.vue index dd86b1b051..373dac61c4 100644 --- a/yxt-as-ui/src/views/workFlow/qitachukuFlow/otherOutboundEdit.vue +++ b/yxt-as-ui/src/views/workFlow/qitachukuFlow/otherOutboundEdit.vue @@ -115,12 +115,10 @@ "createTime": getCurrentDate(), "billNo": "", "remarks": "", - "createBySid": window.sessionStorage.getItem('userSid'), - "createByName": window.sessionStorage.getItem('name'), - "deptSid": window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage - .getItem('defaultOrgPath').lastIndexOf('/') + 1), - "deptName": window.sessionStorage.getItem('defaultOrgPathName').substring(window - .sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1), + "createBySid": '', + "createByName": '', + "deptSid": '', + "deptName": '', "busTypeKey": "", "busTypeValue": "", "finishTime": "", @@ -167,15 +165,6 @@ methods: { init() { - getOrgSidByPath({ - orgPath: window.sessionStorage.getItem('defaultOrgPath') - }).then((res) => { - if (res.success) { - this.formobj.createOrgSid = res.data - this.formobj.useOrgSid = res.data - } - }) - getTypeValueList({ type: 'wms_busType', groupNum: 'wms_ck' @@ -348,12 +337,10 @@ "createTime": getCurrentDate(), "billNo": "", "remarks": "", - "createBySid": window.sessionStorage.getItem('userSid'), - "createByName": window.sessionStorage.getItem('name'), - "deptSid": window.sessionStorage.getItem('defaultOrgPath').substring(window.sessionStorage - .getItem('defaultOrgPath').lastIndexOf('/') + 1), - "deptName": window.sessionStorage.getItem('defaultOrgPathName').substring(window - .sessionStorage.getItem('defaultOrgPathName').lastIndexOf('/') + 1), + "createBySid": '', + "createByName": '', + "deptSid": '', + "deptName": '', "busTypeKey": "", "busTypeValue": "", "finishTime": "", @@ -381,7 +368,7 @@ .then(resp => { if (resp.success) { this.formobj = resp.data - this.formobj.instanceId = res.data.procInstId + this.formobj.instanceId = resp.data.procInstId //this.Array为数组名 this.formobj.otheroutDetailList.forEach(item => {