| | |
| | | "\"FVMIBUSINESS\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["FVMIBUSINESS"]) + "\"," + |
| | | //\"FScanBox\":\"\", |
| | | //\"FSourceType\":\"\", |
| | | "\"FStockId0\":{\"FNumber\":\"" + Pub_Class.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["FStockId0"]) + "\"}," + |
| | | "\"FEntity\": [ "; |
| | | string sJson_Entry = ""; |
| | | for (int i = 0; i < Ds.Tables[1].Rows.Count; i++) |
| | |
| | | { |
| | | if (dal.omodel_View.HBarCodeType == "唯一条码") |
| | | { |
| | | //博日有源单扫码,条码数量大于源单数量,取源单数量 |
| | | if (dal.omodel_View.HSourceInterID != 0 && oSystemParameter.omodel.WMS_CampanyName == "博日科技" |
| | | && HBillType != "1202" && HBillType != "1205") |
| | | { |
| | | if(dal.omodel_View.HinitQty==0) |
| | | { |
| | | sErrMsg = "已扫描数量等于或大于源单数量,不允许扫码!"; |
| | | return false; |
| | | } |
| | | else if(dal.omodel_View.HQty > dal.omodel_View.HinitQty) |
| | | { |
| | | dal.omodel_View.HQty = dal.omodel_View.HinitQty; |
| | | } |
| | | } |
| | | |
| | | if (HQty > 0 && dal.omodel_View.HQty > HQty) |
| | | { |
| | | sRelQty = HQty; |