|
|
@ -417,16 +417,18 @@ export default { |
|
|
|
return val |
|
|
|
}, |
|
|
|
showAdd(value, orgSidPath) { |
|
|
|
this.finance = JSON.parse(JSON.stringify(value)) |
|
|
|
this.init() |
|
|
|
this.finance = JSON.parse(JSON.stringify(value)) |
|
|
|
this.orgPath = orgSidPath |
|
|
|
selectList({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.policy_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
if (this.finance.policySid !== '') { |
|
|
|
selectListByOther({ orgPath: this.orgPath, userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => { |
|
|
|
if (this.finance.isPack !== '' && this.finance.isPack !== null) { |
|
|
|
selectList({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), isPack: this.finance.isPack }).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.policy_list = resp.data |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|
if (this.finance.policySid !== '' && this.finance.isPack !== null) { |
|
|
|
selectListByOther({ orgPath: window.sessionStorage.getItem('defaultOrgPath'), userSid: window.sessionStorage.getItem('userSid'), sid: this.finance.policySid }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.other_list = res.data |
|
|
|
} |
|
|
|