|
@@ -162,7 +162,7 @@ module.exports = app => {
|
|
|
}
|
|
|
|
|
|
async updatePos(tid, data) {
|
|
|
- if (data.sgfh_qty !== undefined || data.sjcl_qty !== undefined || data.qtcl_qty !== undefined) {
|
|
|
+ if (data.sgfh_qty !== undefined || data.sjcl_qty !== undefined || data.qtcl_qty !== undefined || data.ex_qty1 !== undefined) {
|
|
|
const op = await this.getDataById(data.id);
|
|
|
const bills = await this.ctx.service.reviseBills.getDataById(op.lid);
|
|
|
const billsPos = await this.getAllDataByCondition({where: {tid: tid, lid: op.lid} });
|