|
|
@@ -92,7 +92,7 @@
|
|
|
<table id="goodsdetailDatagrid" data-options="toolbar: '#goodsToolbar',showFooter:false">
|
|
|
<thead>
|
|
|
<tr>
|
|
|
- <th data-options="field:'SID',title:'SID',width:220,align:'left',checkbox:true,hidden:true">SID</th>
|
|
|
+ <th data-options="field:'SID',title:'SID',width:220,align:'left',hidden:true"></th>
|
|
|
<th data-options="field:'ITEMSID',title:'检验ID',align:'left',sortable:true,hidden:true"></th>
|
|
|
<th data-options="field:'GOODSID',title:'产品ID',align:'left',sortable:true,hidden:true"></th>
|
|
|
<th data-options="field:'GOODSCODE',title:'产品编码',align:'left',sortable:true"></th>
|
|
|
@@ -286,8 +286,10 @@
|
|
|
url: 'fqcitems.ashx?m=s',
|
|
|
columnMoving: false,
|
|
|
onSelect: fqcitemsDatagridSelect,
|
|
|
- onLoadSuccess: function (data) {
|
|
|
- $('#fqcitemsDatagrid').datagrid("selectRow", 0);
|
|
|
+ onLoadSuccess: function (data) {
|
|
|
+
|
|
|
+ $('#fqcitemsDatagrid').datagrid("selectRow", 0);
|
|
|
+
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
@@ -332,9 +334,11 @@
|
|
|
//记录父ID
|
|
|
pid = row["ITEMSID"];
|
|
|
//加载明细数据
|
|
|
- $("#ITEMSID").textbox('setValue', pid);
|
|
|
- fqcitemsdetailButtonSearchSubmit_Click();
|
|
|
- fqcitemsdetailButtonSearchSubmit1_Click();
|
|
|
+ $("#ITEMSID").textbox('setValue', pid);
|
|
|
+ fqcitemsdetailButtonSearchSubmit_Click();
|
|
|
+
|
|
|
+ fqcitemsdetailButtonSearchSubmit1_Click();
|
|
|
+
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
@@ -350,8 +354,6 @@
|
|
|
//加载表格数据
|
|
|
fqcitemsdetailButtonSearchSubmit_Click();
|
|
|
|
|
|
- fqcitemsdetailButtonSearchSubmit1_Click();
|
|
|
-
|
|
|
//产品
|
|
|
});
|
|
|
|
|
|
@@ -430,12 +432,12 @@
|
|
|
//搜索提交
|
|
|
function fqcitemsdetailButtonSearchSubmit1_Click() {
|
|
|
|
|
|
- $('#goodsdetailDatagrid').datagridLoad({
|
|
|
- title: '产品明细',
|
|
|
- idField: 'SID',
|
|
|
- queryParams: $('#fqcitemsdetailForm').serializeJson(),
|
|
|
- url: 'fqcitemsdetail.ashx?m=gs',
|
|
|
- columnMoving: false
|
|
|
+ $('#goodsdetailDatagrid').datagridLoad({
|
|
|
+ title: '产品明细',
|
|
|
+ idField: 'SID',
|
|
|
+ url: 'fqcitemsdetail.ashx?m=gs',
|
|
|
+ queryParams: $('#fqcitemsdetailForm').serializeJson(),
|
|
|
+ columnMoving: false
|
|
|
});
|
|
|
|
|
|
}
|