|
|
@ -125,7 +125,7 @@ export default { |
|
|
|
this.PageListParams.SkipCount = 0 |
|
|
|
this.PageListParams.MaxResultCount= 1000 |
|
|
|
this.PageListParams.condition = {filters: []} |
|
|
|
this.propsData.details.forEach(item=>{ |
|
|
|
this.tableDataDetails.details.forEach(item=>{ |
|
|
|
this.PageListParams.condition.filters.push({ |
|
|
|
action: '==', |
|
|
|
column: 'code', |
|
|
@ -137,18 +137,18 @@ export default { |
|
|
|
getPageList(this.PageListParams, 'basedata/item-basic').then(res => { |
|
|
|
this.Loading.appMainLoading = false |
|
|
|
res.items.forEach(res_item=>{ |
|
|
|
this.propsData.details.forEach(detail=>{ |
|
|
|
this.tableDataDetails.details.forEach(detail=>{ |
|
|
|
if(detail.itemCode == res_item.code){ |
|
|
|
detail.configuration = res_item.configuration |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
let data = initPrintAllData(this.propsData,'fsctl.rdlx'); |
|
|
|
let data = initPrintAllData(this.tableDataDetails,'fsctl.rdlx'); |
|
|
|
this.Print(data) |
|
|
|
}).catch(err => { |
|
|
|
this.Loading.appMainLoading = false |
|
|
|
this.$message.error('物品信息配置获取失败'); |
|
|
|
let data = initPrintAllData(this.propsData,'fsctl.rdlx'); |
|
|
|
let data = initPrintAllData(this.tableDataDetails,'fsctl.rdlx'); |
|
|
|
this.Print(data) |
|
|
|
}) |
|
|
|
} else { |
|
|
|