|
|
@ -261,23 +261,6 @@ export default { |
|
|
|
this.payCompany_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj.createOrgSid = resp.data |
|
|
|
this.formobj.useOrgSid = resp.data |
|
|
|
fetchBySid(resp.data).then((respsone) => { |
|
|
|
if (respsone.success) { |
|
|
|
this.formobj.createOrgName = respsone.data.name |
|
|
|
this.formobj.useOrgName = respsone.data.name |
|
|
|
} |
|
|
|
}) |
|
|
|
payment.selectByUseOrgSid({ useOrgSid: resp.data }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.receiveCompany_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
getNumber(val, limit) { |
|
|
|
val = val.replace(/[^0-9.]/g, '') // 保留数字 |
|
|
@ -384,6 +367,23 @@ export default { |
|
|
|
}, |
|
|
|
toAdd() { |
|
|
|
this.dialogVisible = true |
|
|
|
getOrgSidByPath({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.formobj.createOrgSid = resp.data |
|
|
|
this.formobj.useOrgSid = resp.data |
|
|
|
fetchBySid(resp.data).then((respsone) => { |
|
|
|
if (respsone.success) { |
|
|
|
this.formobj.createOrgName = respsone.data.name |
|
|
|
this.formobj.useOrgName = respsone.data.name |
|
|
|
} |
|
|
|
}) |
|
|
|
payment.selectByUseOrgSid({ useOrgSid: resp.data }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.receiveCompany_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['form_obj'].clearValidate() |
|
|
|
}) |
|
|
|