| | |
| | | var _action = curAction is PackingAction ? curAction as PackingAction : null; |
| | | if (_action != null) |
| | | { |
| | | list = GetMinPkgList(_action); |
| | | list = _action.CurPkg.Item.GetWipSnList().Select(q => q.Value).ToList(); |
| | | } |
| | | } |
| | | return GetHuaWeiWeek(WorkBatch.Batch.ORDER_NO, list); |
| | |
| | | { |
| | | if (curAction is PackingAction) |
| | | { |
| | | qtylist = GetMinPkgList(curAction as PackingAction); |
| | | qtylist = (curAction as PackingAction).CurPkg.Item.GetWipSnList().Select(q => q.Value).ToList(); |
| | | } |
| | | if (curAction is PrintInStoreLabel) |
| | | { |
| | |
| | | case "GetXH": |
| | | return ""; |
| | | case "GetCardNo": |
| | | return ""; |
| | | return $"{Context["CurWaitShipmentCarton"].ToInt32() + 1}"; |
| | | case "GetCardTotal": |
| | | return ""; |
| | | var total = ""; |
| | | var _curaction = curAction is PackingAction ? curAction as PackingAction : null; |
| | | if (!_curaction.IsNullOrEmpty()) { |
| | | total = $"{Math.Ceiling(Context["CurShipQty"].ToDecimal()/_curaction.PkgRule.GetTotalQty().ToDecimal())}"; |
| | | } |
| | | return total; |
| | | case "GetModelSpec": //Model+空格+SPEC, |
| | | return GetLabelVarWo(lv, $"{WorkBatch.Product.ExtInfo?.Model} {WorkBatch.Product.SPEC}"); |
| | | case "GetDATE": |