|
@@ -414,9 +414,8 @@
|
|
|
methods: {
|
|
methods: {
|
|
|
//获取详情
|
|
//获取详情
|
|
|
async getInfo(id) {
|
|
async getInfo(id) {
|
|
|
- this.form = (await invoiceApplyInfoV2API(id)) || {};
|
|
|
|
|
- //来源清单没有数据时给空数组,避免表格因空行报错
|
|
|
|
|
- this.form.relatedList = this.form.relatedVO ? [this.form.relatedVO] : [];
|
|
|
|
|
|
|
+ this.form = await invoiceApplyInfoV2API(id);
|
|
|
|
|
+ this.form.relatedList = [this.form.relatedVO];
|
|
|
this.form.category = Number(this.form.category) || '';
|
|
this.form.category = Number(this.form.category) || '';
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
// 根据来源类型设置数据源:99 用 tableInfo(setValue),非 99 用 tableInfoNew(putValue)
|
|
// 根据来源类型设置数据源:99 用 tableInfo(setValue),非 99 用 tableInfoNew(putValue)
|