fix: 直发单中录运输单报错 fix #455
This commit is contained in:
parent
dae8445d5f
commit
92bc2bfe53
@ -64,7 +64,7 @@ export class RecordService {
|
|||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
async recordsAfterSave(model: MagicAttributeModel, options: CreateOptions): Promise<void> {
|
async recordsAfterSave(model: MagicAttributeModel, options: CreateOptions): Promise<void> {
|
||||||
// 运输单导致的订单更新不必走以下订单逻辑,减少性能消耗,有vaybill一定是运输单录入
|
// 运输单导致的订单更新不必走以下订单逻辑,减少性能消耗,有waybill一定是运输单录入
|
||||||
if (options.values.waybill) return;
|
if (options.values.waybill) return;
|
||||||
// 订单新建更新后(根据合同确定出入库字段)
|
// 订单新建更新后(根据合同确定出入库字段)
|
||||||
await this._setProject(model, options);
|
await this._setProject(model, options);
|
||||||
|
Loading…
Reference in New Issue
Block a user