<script>
$(function () {

	$('#indocinllist').datagrid({
		title: '入库单明细',
		url : '<?php echo $url?>in/docin/get_docinlist/'+<?=$id?>,		
		fitColumns : true,
		striped : true,
		rownumbers : true,
		border : false,
		toolbar : '#indocinllist_tool',
        singleSelect:true,  
        fitColumns: false,       
		columns : [[
			{
				field : 'goods_id',
				title : '自动编号',
				width : 100,
				checkbox : true,
			},
			{
				field : 'goods_name',
				title : '货品名称',
				width : 100,
			},
			{
				field : 'goods_code',
				title : '货品编号',
				width : 150,
			},
			{
				field : 'goods_unit',
				title : '基本单位',
				width : 100,
			},
			{
				field : 'goods_status',
				title : '货品状态',
				width : 100,
			},
			{
				field : 'goods_nums',
				title : '货品数量',
				width : 100,
			},
			{
				field : 'goods_postil',
				title : '批注',
				width : 200,
			}									
		]]
	});

	
});


</script>

<div id="indocinlhead" class="easyui-panel" title="入库单头" border="false" style="background:#f4f4f4;width:100%;height:160px;padding:5px;">
   <form id="docinl_look" style="margin:0;padding:5px 0 0 25px;color:#333;">
        <p>入库单号：<input id="ldocin_number" value="<?=$docinhead['docin_number']?>" type="text" class="textbox" style="width:200px;" ></p>
    	<p>送货单号：<input id="ldocin_send_number" value="<?=$docinhead['docin_send_number']?>" type="text"  class="textbox" style="width:200px;"></p>
    </form>
</div>

<table id="indocinllist"></table>



