|
@@ -14681,6 +14681,39 @@ namespace SiteCore.Handler
|
|
|
}
|
|
}
|
|
|
returnErrorMsg("缺少必要的参数");
|
|
returnErrorMsg("缺少必要的参数");
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public void saveJointorder()
|
|
|
|
|
+ {
|
|
|
|
|
+ string ctid = GetPostString("ctid");
|
|
|
|
|
+ if (!string.IsNullOrEmpty(ctid))
|
|
|
|
|
+ {
|
|
|
|
|
+ CeErpTradeCellExtend ceErpTradeCellExtend = CeErpTradeCellExtend.getByTid(ctid);
|
|
|
|
|
+ if (ceErpTradeCellExtend == null)
|
|
|
|
|
+ {
|
|
|
|
|
+ ceErpTradeCellExtend = new CeErpTradeCellExtend();
|
|
|
|
|
+ ceErpTradeCellExtend.ctid = ctid;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (ceErpTradeCellExtend.IsJoint == 1)
|
|
|
|
|
+ {
|
|
|
|
|
+ ceErpTradeCellExtend.IsJoint = 0;
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ ceErpTradeCellExtend.IsJoint = 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (ceErpTradeCellExtend.ID > 0)
|
|
|
|
|
+ {
|
|
|
|
|
+ ceErpTradeCellExtend.Update();
|
|
|
|
|
+ }
|
|
|
|
|
+ else
|
|
|
|
|
+ {
|
|
|
|
|
+ ceErpTradeCellExtend.Create();
|
|
|
|
|
+ }
|
|
|
|
|
+ returnSuccessMsg("保存成功");
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+ returnErrorMsg("缺少必要的参数");
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|