|
@@ -616,7 +616,7 @@ module.exports = app => {
|
|
unit: data[i].unit,
|
|
unit: data[i].unit,
|
|
unit_price: this.ctx.helper.round(data[i].price, info.decimal.up),
|
|
unit_price: this.ctx.helper.round(data[i].price, info.decimal.up),
|
|
};
|
|
};
|
|
- qd.full_path = selectData.full_path + '-' + qd.ledger_id;
|
|
|
|
|
|
+ qd.full_path = parentData.full_path + '-' + qd.ledger_id;
|
|
insertBillsData.push(qd);
|
|
insertBillsData.push(qd);
|
|
const precision = this.ctx.helper.findPrecision(info.precision, qd.unit);
|
|
const precision = this.ctx.helper.findPrecision(info.precision, qd.unit);
|
|
if (data[i].pos.length > 0) {
|
|
if (data[i].pos.length > 0) {
|