| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sReturn = ""; |
| | | if (oSystemParameter.ShowBill(ref sReturn) == true) |
| | | { |
| | | if (oSystemParameter.omodel.WMS_CampanyName == "乔一") //系统参数 判断客户 |
| | | { |
| | | //判断生产资源 |
| | | if (HSourceID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "生产资源没有选择!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (HCenterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | |
| | | |
| | | } |
| | | oCN.Commit(); |
| | | string sReturn = ""; |
| | | |
| | | if (oSystemParameter.ShowBill(ref sReturn) == true) |
| | | { |
| | | if (oSystemParameter.omodel.MES_StationInBill_SaveAutoAddnew == "Y") //系统参数 自动审核 |