|
|
@@ -1000,6 +1000,38 @@ namespace SiteCore.Handler
|
|
|
}
|
|
|
returnErrorMsg("缺少必要的参数ctid");
|
|
|
}
|
|
|
+ public void ins_checkdesign()
|
|
|
+ {
|
|
|
+ if (UrlPostParmsCheck("ctid"))
|
|
|
+ {
|
|
|
+ string ctid = GetPostString("ctid");
|
|
|
+ string name = GetPostString("name");
|
|
|
+ int UserID = GetPostInt("UserID");
|
|
|
+ int memoopt = GetPostInt("memoopt");
|
|
|
+ CeErpTradeCell entity = null;
|
|
|
+ if (ctid != "") entity = CeErpTradeCell.GetByCtid(ctid);
|
|
|
+ if (entity != null)
|
|
|
+ {
|
|
|
+ string stropt = "";
|
|
|
+ if (memoopt == 1)
|
|
|
+ {
|
|
|
+ stropt = "“改稿”";
|
|
|
+ }
|
|
|
+ else if (memoopt == 2)
|
|
|
+ {
|
|
|
+ stropt = "“定稿”";
|
|
|
+ }
|
|
|
+ entity.MemoOpt = memoopt;
|
|
|
+ entity.Update();
|
|
|
+ LogHelper.addLog(entity.ctid, UserID, name + "标记:" + stropt, entity.OrderState, 1);
|
|
|
+ returnSuccessMsg("操作成功!");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ returnErrorMsg("找不到记录");
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ returnErrorMsg("缺少必要的参数ctid");
|
|
|
+ }
|
|
|
public void save_othermemo()
|
|
|
{
|
|
|
if (UrlPostParmsCheck("ctid"))
|