瀏覽代碼

更新

guide_order
huangjiajun 7 月之前
父節點
當前提交
505de834d4
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. +4
    -0
      app/svc/svc_order_track_save_create_update.go

+ 4
- 0
app/svc/svc_order_track_save_create_update.go 查看文件

@@ -356,6 +356,10 @@ func OrderSaveCreateUpdate(eg *xorm.Engine, pvd string, ordData *[]md.OrderInfo,
}
_ = db.DbsOrderUpdate(eg, v.OrdId, &v)
}
if v.State == 4 && ords[v.PvdOid].Reason != "" && v.Reason == "" {
v.Reason = ords[v.PvdOid].Reason
_ = db.DbsOrderUpdate(eg, v.OrdId, &v)
}
if v.State != ords[v.PvdOid].State && (v.State != 4 || v.Pvd == md.PVD_JD || v.Pvd == md.PVD_JDOwn || v.Pvd == md.PVD_ELM) {
if ords[v.PvdOid].Reason != "" {
v.Reason = ords[v.PvdOid].Reason


Loading…
取消
儲存