fix: 直发单中录运输单报错 fix #455

This commit is contained in:
lyx 2024-03-21 19:06:36 +08:00
parent dae8445d5f
commit 92bc2bfe53

View File

@ -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);