| | |
| | | <label class="layui-form-label">重置批号</label> |
| | | <div class="layui-input-block"> |
| | | <select name="reset" id="reset" lay-filter="reset" lay-verify="required"> |
| | | <option value="1">是</option> |
| | | <!-- <option value="1">是</option> --> |
| | | <option value="0">否</option> |
| | | </select> |
| | | </div> |
| | |
| | | }); |
| | | |
| | | var id = getQueryString('Id'); |
| | | var SupplierLot=getQueryString('SupplierLot');//供货批次 |
| | | $('#SupplierLot').val(SupplierLot); |
| | | //var SupplierLot=getQueryString('SupplierLot');//供货批次 |
| | | //$('#SupplierLot').val(SupplierLot); |
| | | //console.log(SupplierLot); |
| | | 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); |
| | | console.log(res.data); |
| | | } else { //不成功 |
| | | layer.msg(res.msg, { |
| | | icon: 2, |
| | |
| | | if (r != null) return unescape(r[2]); |
| | | return null; |
| | | } |
| | | // 获取传递参数 |
| | | function getQueryString2(name) { |
| | | var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); |
| | | var r = window.location.search.substr(1).match(reg); |
| | | if (r != null) return unescape(r[2]); |
| | | return null; |
| | | } |
| | | |
| | | }) |
| | | </script> |