|
@ -481,11 +481,6 @@ export default { |
|
|
this.costType_list = res.data |
|
|
this.costType_list = res.data |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
getTypeValueList({ type: 'payCostType', groupNum: '001' }).then((res) => { |
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
this.costTitle_list = res.data |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
getInvoicingList({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
getInvoicingList({ orgPath: window.sessionStorage.getItem('defaultOrgPath') }).then((res) => { |
|
|
if (res.success) { |
|
|
if (res.success) { |
|
|
this.payCompany_list = res.data |
|
|
this.payCompany_list = res.data |
|
@ -580,6 +575,16 @@ export default { |
|
|
this.formobj.costTypeKey = '' |
|
|
this.formobj.costTypeKey = '' |
|
|
this.formobj.isVeh = '' |
|
|
this.formobj.isVeh = '' |
|
|
} |
|
|
} |
|
|
|
|
|
if (this.formobj.costTypeKey !== '' && this.formobj.costTypeKey !== '004') { |
|
|
|
|
|
getTypeValueList({ type: 'payCostType', groupNum: this.formobj.costTypeKey }).then((res) => { |
|
|
|
|
|
if (res.success) { |
|
|
|
|
|
this.costTitle_list = res.data |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
} else { |
|
|
|
|
|
this.costTitle_list = [] |
|
|
|
|
|
} |
|
|
|
|
|
this.formobj.detailsList = [] |
|
|
}, |
|
|
}, |
|
|
isVehChange(val) { |
|
|
isVehChange(val) { |
|
|
if (val === '1') { |
|
|
if (val === '1') { |
|
|