优化单据列表,在列表展示商品信息
This commit is contained in:
@@ -545,9 +545,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ title: organNameTitle, field: 'OrganName',width:120, hidden:isShowOrganNameColumn},
|
{ title: organNameTitle, field: 'OrganName',width:120, hidden:isShowOrganNameColumn},
|
||||||
{ title: '单据编号',field: 'Number',width:140},
|
{ title: '单据编号',field: 'Number',width:130},
|
||||||
|
{ title: '商品信息',field: 'MaterialsList',width:180,formatter:function(value){
|
||||||
|
return value.replace(",",",");
|
||||||
|
}
|
||||||
|
},
|
||||||
{ title: '单据日期 ',field: 'OperTime',width:130},
|
{ title: '单据日期 ',field: 'OperTime',width:130},
|
||||||
{ title: '操作员',field: 'OperPersonName',width:80},
|
{ title: '操作员',field: 'OperPersonName',width:60},
|
||||||
{ title: '金额合计',field: 'TotalPrice',width:60},
|
{ title: '金额合计',field: 'TotalPrice',width:60},
|
||||||
{ title: '含税合计',field: 'TotalTaxLastMoney',hidden:isShowLastMoneyColumn,width:60,formatter:function(value,rec){
|
{ title: '含税合计',field: 'TotalTaxLastMoney',hidden:isShowLastMoneyColumn,width:60,formatter:function(value,rec){
|
||||||
return (rec.DiscountMoney + rec.DiscountLastMoney).toFixed(2);
|
return (rec.DiscountMoney + rec.DiscountLastMoney).toFixed(2);
|
||||||
@@ -558,18 +562,8 @@
|
|||||||
{ title: '状态',field: 'Status',width:70,align:"center",formatter:function(value){
|
{ title: '状态',field: 'Status',width:70,align:"center",formatter:function(value){
|
||||||
return value? "<span style='color:green;'>已审核</span>":"<span style='color:red;'>未审核</span>";
|
return value? "<span style='color:green;'>已审核</span>":"<span style='color:red;'>未审核</span>";
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
{ title: '单据备注',field: 'Remark',width:100}
|
|
||||||
]],
|
]],
|
||||||
view: detailview,
|
|
||||||
detailFormatter: function(rowIndex, rowData){
|
|
||||||
var mList = rowData.MaterialsList.replace(","," , ");
|
|
||||||
return '<table><tr>' +
|
|
||||||
'<td style="border:0">' +
|
|
||||||
'<p>商品信息: ' + mList + '</p>' +
|
|
||||||
'</td>' +
|
|
||||||
'</tr></table>';
|
|
||||||
},
|
|
||||||
toolbar:tableToolBar,
|
toolbar:tableToolBar,
|
||||||
onLoadError:function() {
|
onLoadError:function() {
|
||||||
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
$.messager.alert('页面加载提示','页面加载异常,请稍后再试!','error');
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
<script src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||||
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
<script src="<%=path %>/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||||
<script src="<%=path %>/js/datagrid-detailview.js"></script>
|
|
||||||
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
<script src="<%=path %>/js/My97DatePicker/WdatePicker.js"></script>
|
||||||
<script src="<%=path %>/js/common/common.js"></script>
|
<script src="<%=path %>/js/common/common.js"></script>
|
||||||
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
<script src="<%=path %>/js/pages/materials/in_out.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user