|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | var id = getQueryString('Id'); | 
|---|
|  |  |  | var SupplierLot=getQueryString('SupplierLot');//供货批次 | 
|---|
|  |  |  | $('#SupplierLot').val(SupplierLot); | 
|---|
|  |  |  | if(SupplierLot!='' && SupplierLot!=null &&SupplierLot!=undefined){ | 
|---|
|  |  |  | $('#SupplierLot').attr('readonly', 'readonly'); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // var SupplierLot=getQueryString('SupplierLot');//供货批次 | 
|---|
|  |  |  | // $('#SupplierLot').val(SupplierLot); | 
|---|
|  |  |  | // if(SupplierLot!='' && SupplierLot!=null &&SupplierLot!=undefined){ | 
|---|
|  |  |  | //    $('#SupplierLot').attr('readonly', 'readonly'); | 
|---|
|  |  |  | // } | 
|---|
|  |  |  | var asnType = getQueryString('Type'); | 
|---|
|  |  |  | console.log(asnType); | 
|---|
|  |  |  | // console.log(asnType == 4); | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | synData(IP + "/BllAsn/GetAsnDetailQtyList", param , 'get', function (res) { | 
|---|
|  |  |  | if (res.code == 0) { //成功 | 
|---|
|  |  |  | $("#arriveQty").val(res.data); | 
|---|
|  |  |  | $("#arriveQty").val(res.data.Qty); | 
|---|
|  |  |  | $("#productionTime").val(res.data.ProductionTime); | 
|---|
|  |  |  | $("#expirationTime").val(res.data.ExpirationTime); | 
|---|
|  |  |  | $("#storeTime").val(res.data.StoreTime); | 
|---|
|  |  |  | $("#SupplierLot").val(res.data.SupplierLot); | 
|---|
|  |  |  | } else { //不成功 | 
|---|
|  |  |  | layer.msg(res.msg, { | 
|---|
|  |  |  | icon: 2, | 
|---|