Commit 7c0269d0 by 庄冰

channel

parent fa77469b
...@@ -616,10 +616,10 @@ class OrderTmProductService extends ServiceBase { ...@@ -616,10 +616,10 @@ class OrderTmProductService extends ServiceBase {
} }
} }
} }
var rItem = await this.receiptvoucherDao.getItemSourceOrderNo(item.sourceOrderNo); var rItemList = await this.receiptvoucherDao.getItemSourceOrderNo(item.sourceOrderNo);
if (rItem && rItem.length > 0) { if (rItemList && rItemList.length > 0) {
for (let j = 0; j < flowList.length; j++) { for (let j = 0; j < rItemList.length; j++) {
const rItem = flowList[j]; const rItem = rItemList[j];
if (rItem) { if (rItem) {
resultData.receiptVoucher.push({ resultData.receiptVoucher.push({
payAccountType: rItem.payAccountType, payAccountType: rItem.payAccountType,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment