升级easyUI到1.9.4版本

This commit is contained in:
季圣华
2020-02-15 00:37:43 +08:00
parent 0527b980ea
commit ab2872c1ed
1197 changed files with 96263 additions and 40643 deletions

View File

@@ -6,12 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/financial.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/financial/financial_base.js"></script>
@@ -23,17 +24,17 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<input type="text" name="searchBillNo" id="searchBillNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -50,24 +51,24 @@
<form id="accountHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">付款会员</td>
<td style="width:70px;">付款会员</td>
<td style="padding:5px;width:170px;">
<select name="OrganId" id="OrganId" style="width:110px;"></select>
</td>
<td style="width:70px;">经手人</td>
<td style="width:70px;">经手人</td>
<td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
<select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 140px;" readonly/>
<input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -79,12 +80,12 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>优惠金额</td>
<td>优惠金额</td>
<td style="padding:5px">
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 110px;"/>

View File

@@ -6,12 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/financial.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/financial/financial_base.js"></script>
@@ -23,17 +24,17 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<input type="text" name="searchBillNo" id="searchBillNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -50,20 +51,20 @@
<form id="accountHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">经手人</td>
<td style="width:70px;">经手人</td>
<td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
<select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 140px;" readonly/>
<input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px">
@@ -78,18 +79,18 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>付款账户</td>
<td>付款账户</td>
<td style="padding:5px">
<select id="AccountId" name="AccountId" style="width:110px;"></select>
<select id="AccountId" name="AccountId" class="radius-ui" style="width:110px;"></select>
</td>
<td>实付金额</td>
<td>实付金额</td>
<td style="padding:5px">
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox radius-ui"
data-options="min:0,precision:2" style="width: 110px;"></input>
</td>
</tr>

View File

@@ -6,12 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/financial.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/financial/financial_base.js"></script>
@@ -23,17 +24,17 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<input type="text" name="searchBillNo" id="searchBillNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -50,24 +51,24 @@
<form id="accountHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">往来单位</td>
<td style="width:70px;">往来单位</td>
<td style="padding:5px;width:170px;">
<select name="OrganId" id="OrganId" style="width:130px;"></select>
</td>
<td style="width:70px;">经手人</td>
<td style="width:70px;">经手人</td>
<td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
<select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 140px;" readonly/>
<input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -79,18 +80,18 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>收款账户</td>
<td>收款账户</td>
<td style="padding:5px">
<select id="AccountId" name="AccountId" style="width:110px;"></select>
<select id="AccountId" name="AccountId" class="radius-ui" style="width:110px;"></select>
</td>
<td>收款金额</td>
<td>收款金额</td>
<td>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox radius-ui"
data-options="min:0,precision:2" style="width: 120px;"/>
</td>
</tr>

View File

@@ -6,12 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/financial.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/financial/financial_base.js"></script>
@@ -23,17 +24,17 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<input type="text" name="searchBillNo" id="searchBillNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -50,24 +51,24 @@
<form id="accountHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">往来单位</td>
<td style="width:70px;">往来单位</td>
<td style="padding:5px;width:170px;">
<select name="OrganId" id="OrganId" style="width:130px;"></select>
</td>
<td style="width:70px;">经手人</td>
<td style="width:70px;">经手人</td>
<td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
<select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 140px;" readonly/>
<input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -79,18 +80,18 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>付款账户</td>
<td>付款账户</td>
<td style="padding:5px">
<select id="AccountId" name="AccountId" style="width:110px;"></select>
<select id="AccountId" name="AccountId" class="radius-ui" style="width:110px;"></select>
</td>
<td>付款金额</td>
<td>付款金额</td>
<td>
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox radius-ui"
data-options="min:0,precision:2" style="width: 120px;"/>
</td>
</tr>

View File

@@ -6,12 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/financial.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/financial/financial_base.js"></script>
@@ -23,17 +24,17 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<input type="text" name="searchBillNo" id="searchBillNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -50,24 +51,24 @@
<form id="accountHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">付款单位</td>
<td style="width:70px;">付款单位</td>
<td style="padding:5px;width:170px;">
<select name="OrganId" id="OrganId" style="width:130px;"></select>
</td>
<td style="width:70px;">经手人</td>
<td style="width:70px;">经手人</td>
<td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
<select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 140px;" readonly/>
<input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -79,14 +80,14 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>优惠金额</td>
<td>优惠金额</td>
<td style="padding:5px">
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox radius-ui"
data-options="min:0,precision:2" style="width: 110px;"/>
</td>
</tr>

View File

@@ -6,12 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/financial.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/financial/financial_base.js"></script>
@@ -23,17 +24,17 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchBillNo" id="searchBillNo" style="width:100px;"/>
<input type="text" name="searchBillNo" id="searchBillNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -50,23 +51,23 @@
<form id="accountHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">收款单位</td>
<td style="width:70px;">收款单位</td>
<td style="padding:5px;width:170px;">
<select name="OrganId" id="OrganId" style="width:130px;"></select>
</td>
<td style="width:70px;">经手人</td>
<td style="width:70px;">经手人</td>
<td style="padding:5px;width:170px;">
<select name="HandsPersonId" id="HandsPersonId" style="width:110px;"></select>
<select name="HandsPersonId" id="HandsPersonId" class="radius-ui" style="width:110px;"></select>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="BillTime" id="BillTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:140px;" readonly/>
class="txt Wdate radius-ui" style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px;width:170px;">
<input name="BillNo" id="BillNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 140px;" readonly/>
<input name="BillNo" id="BillNo" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 140px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -78,14 +79,14 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>优惠金额</td>
<td>优惠金额</td>
<td style="padding:5px">
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox"
<input type="text" name="ChangeAmount" id="ChangeAmount" class="easyui-numberbox radius-ui"
data-options="min:0,precision:2" style="width: 110px;"/>
</td>
</tr>

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/common/jsherp.js"></script>
@@ -21,24 +21,20 @@
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="结算账户" iconCls="icon-list">
<table id="searchTable">
<tr>
<td>名&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
<td>名称:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:70px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td id="searchSerialNoLabel">编&nbsp;&nbsp;&nbsp;&nbsp;号:</td>
<td>
<input type="text" name="searchSerialNo" id="searchSerialNo" style="width:70px;"/>
<input type="text" name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td id="searchRemarkLabel">备&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
<td id="searchSerialNoLabel">编号:</td>
<td>
<input type="text" name="searchRemark" id="searchRemark" style="width:70px;"/>
<input type="text" name="searchSerialNo" id="searchSerialNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td id="searchRemarkLabel">备注:</td>
<td>
<input type="text" name="searchRemark" id="searchRemark" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp;
@@ -48,33 +44,45 @@
</table>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="accountDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
<div id="accountDlg" class="easyui-dialog" style="width:400px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="accountFM" method="post" novalidate>
<div class="fitem" style="padding:5px">
<label id="nameLabel">名称</label>
<input name="name" id="name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="serialNoLabel">编号</label>
<input name="serialNo" id="serialNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="initialAmountLabel">期初金额</label>
<input name="initialAmount" id="initialAmount" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 230px;height: 20px"></input>
</div>
<div class="fitem" style="padding:5px">
<label id="currentAmountLabel">当前余额</label>
<input name="currentAmount" id="currentAmount" type="text" disabled="disabled" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 230px;height: 20px"></input>
</div>
<div class="fitem" style="padding:5px">
<label id="remarkLabel">备注</label>
<textarea name="remark" id="remark" rows="2" cols="2" style="width: 230px;"></textarea>
</div>
<table>
<tr>
<td>名称</td>
<td style="padding:5px">
<input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>编号</td>
<td style="padding:5px">
<input name="serialNo" id="serialNo" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>期初金额</td>
<td style="padding:5px">
<input name="initialAmount" id="initialAmount" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>当前余额</td>
<td style="padding:5px">
<input name="currentAmount" id="currentAmount" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" readonly="readonly" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>备注</td>
<td style="padding:5px">
<input name="remark" id="remark" class="easyui-textbox" data-options="multiline:true" style="width: 230px;height: 40px;"/>
</td>
</tr>
</table>
</form>
</div>
<div id="dlg-buttons">
@@ -129,12 +137,12 @@
},
{title: '备注', field: 'remark', width: 100},
{
title: '操作', field: 'op', align: "center", width: 210, formatter: function (value, rec) {
title: '操作', field: 'op', align: "center", width: 210, formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.name + 'AaBb' + rec.serialno + 'AaBb' + rec.initialamount + 'AaBb' + rec.currentamount + 'AaBb' + rec.remark;
str += '<img src="/js/easyui-1.3.5/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(\'' + rowInfo + '\');"/>&nbsp;<a onclick="showAccountInOutList(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editAccount(\'' + rowInfo + '\');"/>&nbsp;<a onclick="editAccount(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteAccount(\'' + rowInfo + '\');"/>&nbsp;<a onclick="deleteAccount(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(\'' + index + '\');"/>&nbsp;<a onclick="showAccountInOutList(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editAccount(\'' + index + '\');"/>&nbsp;<a onclick="editAccount(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteAccount(\'' + rec.id + '\');"/>&nbsp;<a onclick="deleteAccount(\'' + rec.id + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
return str;
}
}
@@ -147,7 +155,7 @@
handler: function () {
addAccount();
}
},
},'-',
{
id: 'deleteAccount',
text: '删除',
@@ -155,7 +163,7 @@
handler: function () {
batDeleteAccount();
}
},
},'-',
{
id: 'setAccountIsDefault',
text: '设为默认',
@@ -215,16 +223,15 @@
}
//删除结算账户
function deleteAccount(accountInfo) {
function deleteAccount(id) {
$.messager.confirm('删除确认', '确定要删除此结算账户吗?', function (r) {
if (r) {
var accountTotalInfo = accountInfo.split("AaBb");
$.ajax({
type: "post",
url: "/account/batchDeleteAccountByIds",
dataType: "json",
data: ({
ids: accountTotalInfo[0]
ids: id
}),
success: function (res) {
if(res && res.code == 200) {
@@ -232,7 +239,7 @@
} else {
if(res && res.code == 601){
var jsondata={};
jsondata.ids=accountTotalInfo[0];
jsondata.ids=id;
jsondata.deleteType='2';
var type='single';
batDeleteAccountForceConfirm(res,"/account/batchDeleteAccountByIds",jsondata,type);
@@ -350,7 +357,7 @@
if(checkPower()){
return;
}
$('#accountDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加结算账户');
$('#accountDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加结算账户');
$(".window-mask").css({width: webW, height: webH});
$('#accountFM').form('clear');
@@ -440,23 +447,21 @@
});
//编辑结算账户
function editAccount(accountTotalInfo) {
var accountInfo = accountTotalInfo.split("AaBb");
function editAccount(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
var row = {
name: accountInfo[1],
serialNo: accountInfo[2],
initialAmount: accountInfo[3],
currentAmount: accountInfo[4],
remark: accountInfo[5]
name: rowsdata.name,
serialNo: rowsdata.serialno,
initialAmount: rowsdata.initialamount,
currentAmount: rowsdata.currentamount,
remark: rowsdata.remark
};
oldAccount = accountInfo[1];
$('#accountDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑结算账户');
oldAccount = rowsdata.name;
$('#accountDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑结算账户');
$(".window-mask").css({width: webW, height: webH});
$('#accountFM').form('load', row);
accountID = accountInfo[0];
//焦点在名称输入框==定焦在输入文字后面
$("#account").val("").focus().val(accountInfo[1]);
url = '/account/update?id=' + accountInfo[0];
accountID = rowsdata.id;
url = '/account/update?id=' + rowsdata.id;
}
//检查结算账户 名称是否存在 ++ 重名无法提示问题需要跟进
@@ -543,11 +548,11 @@
});
}
function showAccountInOutList(accountInfo) {
var info = accountInfo.split("AaBb");
var accountId = info[0];
var initialAmount = info[3];
$('#accountDetailListDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;查看账户流水');
function showAccountInOutList(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
var accountId = rowsdata.id;
var initialAmount = rowsdata.initialamount;
$('#accountDetailListDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;查看账户流水');
$(".window-mask").css({width: webW, height: webH});
initAccountDetailData(accountId);
getAccountInOutList(accountId, initialAmount, 1, initPageSize);
@@ -660,9 +665,9 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchName").val("");
$("#searchSerialNo").val("");
$("#searchRemark").val("");
$("#searchName").textbox("setValue","");
$("#searchSerialNo").textbox("setValue","");
$("#searchRemark").textbox("setValue","");
//加载完以后重新初始化
$("#searchBtn").click();
}

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/pages/manage/supplier.js"></script>
</head>
@@ -20,24 +20,24 @@
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="客户信息列表" iconCls="icon-list">
<table id="searchTable">
<tr>
<td>名&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
<td>名称:</td>
<td>
<input type="text" name="searchSupplier" id="searchSupplier" style="width:100px;"/>
<input type="text" name="searchSupplier" id="searchSupplier" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>手机号码:</td>
<td>
<input type="text" name="searchTelephone" id="searchTelephone" style="width:100px;"/>
<input type="text" name="searchTelephone" id="searchTelephone" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>联系电话:</td>
<td>
<input type="text" name="searchPhonenum" id="searchPhonenum" style="width:100px;"/>
<input type="text" name="searchPhonenum" id="searchPhonenum" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td id="searchDescLabel">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
<td id="searchDescLabel">备注:</td>
<td>
<input type="text" name="searchDesc" id="searchDesc" style="width:100px;"/>
<input type="text" name="searchDesc" id="searchDesc" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -55,91 +55,88 @@
<tr>
<td style="width: 80px;height: 20px">名称</td>
<td style="width: 180px;padding:1px">
<input name="supplier" id="supplier" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 160px;height: 20px"/>
<input name="supplier" id="supplier" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 160px;"/>
</td>
<td style="width: 60px;height: 20px">联系人</td>
<td style="width:180px;padding:1px;">
<input name="contacts" id="contacts" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="contacts" id="contacts" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>手机号码</td>
<td style="padding:1px;">
<input name="telephone" id="telephone" class="easyui-validatebox"
style="width: 160px;height: 20px"/>
<input name="telephone" id="telephone" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>电子邮箱</td>
<td style="padding:1px">
<input name="email" id="email" class="easyui-validatebox" validType="email"
style="width: 160px;height: 20px"/>
<input name="email" id="email" class="easyui-textbox" validType="email" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>联系电话</td>
<td style="padding:1px;">
<input name="phonenum" id="phonenum" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="phonenum" id="phonenum" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>传真</td>
<td style="padding:1px">
<input name="fax" id="fax" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="fax" id="fax" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>期初应收</td>
<td style="padding:1px">
<input name="BeginNeedGet" id="BeginNeedGet" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 160px;height: 20px"/>
data-options="min:0,precision:2" style="width: 160px;"/>
</td>
<td>期初应付</td>
<td style="padding:1px">
<input name="BeginNeedPay" id="BeginNeedPay" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 160px;height: 20px"/>
data-options="min:0,precision:2" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>累计应收</td>
<td style="padding:1px">
<input name="AllNeedGet" id="AllNeedGet" type="text" style="width: 160px;height: 20px"
<input name="AllNeedGet" id="AllNeedGet" type="text" class="easyui-textbox" style="width: 160px;"
readonly="readonly"/>
</td>
<td>累计应付</td>
<td style="padding:1px">
<input name="AllNeedPay" id="AllNeedPay" type="text" style="width: 160px;height: 20px"
<input name="AllNeedPay" id="AllNeedPay" type="text" class="easyui-textbox" style="width: 160px;"
readonly="readonly"/>
</td>
</tr>
<tr>
<td>纳税人识别号</td>
<td style="padding:1px">
<input name="taxNum" id="taxNum" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="taxNum" id="taxNum" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>税率(%)</td>
<td style="padding:1px">
<input name="taxRate" id="taxRate" class="easyui-numberbox" data-options="validType:'length[1,2]'" style="width: 160px;height: 20px"/>
<input name="taxRate" id="taxRate" class="easyui-numberbox" data-options="validType:'length[1,2]'" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>开户行</td>
<td style="padding:1px">
<input name="bankName" id="bankName" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="bankName" id="bankName" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>账号</td>
<td style="padding:1px">
<input name="accountNumber" id="accountNumber" class="easyui-validatebox"
style="width: 160px;height: 20px"/>
<input name="accountNumber" id="accountNumber" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>地址</td>
<td style="padding:1px" colspan="3">
<input name="address" id="address" class="easyui-validatebox" style="width: 408px;height: 20px"/>
<input name="address" id="address" class="easyui-textbox" style="width: 408px;"/>
</td>
</tr>
<tr>
<td>备注</td>
<td style="padding:1px" colspan="3">
<textarea name="description" id="description" rows="2" cols="2" style="width: 408px;"></textarea>
<input name="description" id="description" class="easyui-textbox" data-options="multiline:true" style="width: 408px;height: 40px;"/>
</td>
</tr>
</table>

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -21,12 +21,12 @@
<tr>
<td>仓库名称:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:100px;"/>
<input type="text" name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td id="searchRemarkLabel">描述:</td>
<td>
<input type="text" name="searchRemark" id="searchRemark" style="width:100px;"/>
<input type="text" name="searchRemark" id="searchRemark" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -39,44 +39,44 @@
</div>
<div id="depotDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="depotFM" method="post" novalidate>
<table>
<tr>
<td>仓库名称</td>
<td style="padding:5px">
<input name="name" id="name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
<input name="name" id="name" type="text" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>仓库地址</td>
<td style="padding:5px">
<input name="address" id="address" class="easyui-validatebox"
data-options="validType:'length[2,30]'" style="width: 230px;height: 20px"/>
<input name="address" id="address" class="easyui-textbox"
data-options="validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>仓储费</td>
<td style="padding:5px">
<input name="warehousing" id="warehousing" class="easyui-numberbox" data-options="min:0,precision:2"
style="width: 175px;height: 20px"/>&nbsp;元/天/KG
style="width: 175px;"/>&nbsp;元/天/KG
</td>
</tr>
<tr>
<td>搬运费</td>
<td style="padding:5px">
<input name="truckage" id="truckage" class="easyui-numberbox" placeholder="如上下搬运20元,则填写10元"
data-options="min:0,precision:2" style="width: 215px;height: 20px"/>&nbsp;元
data-options="min:0,precision:2" style="width: 200px;"/>&nbsp;元
</td>
</tr>
<tr>
<td>负责人</td>
<td style="padding:5px">
<input name="principalName" id="principalName"
style="width: 175px;height: 20px" readonly="readonly"/>
<input name="principalName" id="principalName" class="easyui-textbox"
style="width: 200px;" readonly="readonly"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectUser">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height: 20px;"></span></span></a>
<input name="principal" id="principal" type="hidden"/>
<input name="selectType" id="selectType" type="hidden"/>
</td>
@@ -84,13 +84,13 @@
<tr>
<td>排序</td>
<td style="padding:5px">
<input name="sort" id="sort" class="easyui-textbox" style="width: 230px;height: 20px"/>
<input name="sort" id="sort" class="easyui-textbox" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>描述</td>
<td style="padding:5px">
<textarea name="remark" id="remark" rows="2" cols="2" style="width: 230px;"></textarea>
<input name="remark" id="remark" class="easyui-textbox" data-options="multiline:true" style="width: 230px;height: 40px;"/>
</td>
</tr>
</table>
@@ -161,12 +161,10 @@
{field: 'id', width: 35, align: "center", checkbox: true},
{
title: '操作', field: 'op', align: "center", width: 60,
formatter: function (value, rec) {
formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.name + 'AaBb' + rec.sort + 'AaBb' + rec.remark + 'AaBb'
+ rec.address + 'AaBb' + rec.warehousing + 'AaBb' + rec.truckage+'AaBb'+ transferUndefined(rec.principalName)+'AaBb'+transferUndefined(rec.principal);
str += '<img title="编辑" src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editDepot(\'' + rowInfo + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteDepot(' + rec.id + ');"/>';
str += '<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editDepot(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteDepot(' + rec.id + ');"/>';
return str;
}
},
@@ -198,7 +196,7 @@
handler: function () {
addDepot();
}
}, '-',
},'-',
{
id: 'deleteDepot',
text: '删除',
@@ -206,7 +204,7 @@
handler: function () {
batDeleteDepot();
}
},
},'-',
{
id: 'setDepotIsDefault',
text: '设为默认',
@@ -445,7 +443,7 @@
if(checkPower()){
return;
}
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加仓库信息');
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加仓库信息');
$(".window-mask").css({width: webW, height: webH});
$('#depotFM').form('clear');
$("#name").focus();
@@ -486,25 +484,22 @@
});
//编辑信息
function editDepot(depotTotalInfo) {
var depotInfo = depotTotalInfo.split("AaBb");
$("#name").focus().val(depotInfo[1]);
$("#sort").val(depotInfo[2]);
$("#remark").val(depotInfo[3]);
$("#address").val(depotInfo[4]);
$("#warehousing").val(depotInfo[5].replace("undefined",""));
$("#truckage").val(depotInfo[6].replace("undefined",""));
$("#principalName").val(depotInfo[7]);
$("#principal").val(depotInfo[8]);
function editDepot(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
$("#name").textbox("setValue", rowsdata.name);
$("#sort").textbox("setValue", rowsdata.sort);
$("#remark").textbox("setValue", rowsdata.remark);
$("#address").textbox("setValue", rowsdata.address);
$("#warehousing").textbox("setValue", rowsdata.warehousing);
$("#truckage").textbox("setValue", rowsdata.truckage);
$("#principalName").textbox("setValue", rowsdata.principalName);
$("#principal").val(rowsdata.principal);
$("#selectType").val("principal");
oldDepot = depotInfo[1];
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑仓库信息');
oldDepot = rowsdata.name;
$('#depotDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑仓库信息');
$(".window-mask").css({width: webW, height: webH});
depotID = depotInfo[0];
//焦点在名称输入框==定焦在输入文字后面
$("#name").val("").focus().val(depotInfo[1]);
url = '/depot/update?id=' + depotInfo[0];
depotID = rowsdata.id;
url = '/depot/update?id=' + rowsdata.id;
}
//检查名称是否存在 ++ 重名无法提示问题需要跟进
@@ -595,9 +590,8 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchName").val("");
$("#searchRemark").val("");
$("#searchName").textbox("setValue","");
$("#searchRemark").textbox("setValue","");
//加载完以后重新初始化
$("#searchBtn").click();
}

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -21,21 +21,20 @@
<tr>
<td>名称:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:100px;"/>
<input type="text" name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>类型:</td>
<td>&nbsp;</td>
<td>
<select name="searchType" id="searchType" style="width:100px; height:20px">
<select name="searchType" id="searchType" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:100px;">
<option value="">全部</option>
<option value="电脑版">电脑版</option>
<option value="手机版">手机版</option>
</select>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp;
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
@@ -52,29 +51,29 @@
<tr>
<td style="width:65px;">编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-textbox" style="width: 230px;height: 20px"/>
<input name="Number" id="Number" class="easyui-textbox" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>名称</td>
<td style="padding:5px">
<input name="Name" id="Name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,20]'" style="width: 230px;height: 20px"/>
<input name="Name" id="Name" class="easyui-textbox"
data-options="required:true,validType:'length[2,20]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>上级编号</td>
<td style="padding:5px">
<input name="PNumber" id="PNumber" class="easyui-textbox" style="width: 230px;height: 20px"/>
<input name="PNumber" id="PNumber" class="easyui-textbox" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>链接</td>
<td style="padding:5px"><input name="URL" id="URL" class="easyui-textbox" style="width: 230px;height: 20px"/></td>
<td style="padding:5px"><input name="URL" id="URL" class="easyui-textbox" style="width: 230px;"/></td>
</tr>
<tr>
<td>排序</td>
<td style="padding:5px"><input name="Sort" id="Sort" class="easyui-textbox" style="width: 230px;height: 20px"/></td>
<td style="padding:5px"><input name="Sort" id="Sort" class="easyui-textbox" style="width: 230px;"/></td>
</tr>
<tr>
<td>功能按钮</td>
@@ -92,10 +91,12 @@
</tr>
<tr>
<td>类型</td>
<td style="padding:5px"><select name="Type" id="Type" style="width: 230px;height: 20px">
<option value="电脑版">电脑版</option>
<option value="手机版">手机版</option>
</select>
<td style="padding:5px">
<select name="Type" id="Type" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width: 230px;">
<option value="电脑版">电脑版</option>
<option value="手机版">手机版</option>
</select>
</td>
</tr>
</table>
@@ -167,12 +168,10 @@
},
{title: '类型', field: 'type', width: 50},
{
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec) {
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.number + 'AaBb' + rec.name + 'AaBb' + rec.pnumber + 'AaBb' + rec.url
+ 'AaBb' + rec.state + 'AaBb' + rec.sort + 'AaBb' + rec.enabled + 'AaBb' + rec.type + 'AaBb' + rec.pushbtn;
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editFunctions(\'' + rowInfo + '\');"/>&nbsp;<a onclick="editFunctions(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteFunctions(' + rec.id + ');"/>&nbsp;<a onclick="deleteFunctions(' + rec.id + ');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editFunctions(\'' + index + '\');"/>&nbsp;<a onclick="editFunctions(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteFunctions(' + rec.id + ');"/>&nbsp;<a onclick="deleteFunctions(' + rec.id + ');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
return str;
}
}
@@ -337,7 +336,7 @@
var oldFunctions = "";
function addFunctions() {
$('#functionsDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加功能信息');
$('#functionsDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加功能信息');
$(".window-mask").css({width: webW, height: webH});
$("#Name").val("").focus();
$('#functionsFM').form('clear');
@@ -381,19 +380,18 @@
});
//编辑信息
function editFunctions(functionsTotalInfo) {
var functionsInfo = functionsTotalInfo.split("AaBb");
$("#Number").focus().val(functionsInfo[1]);
$("#Name").focus().val(functionsInfo[2]);
$("#PNumber").focus().val(functionsInfo[3]);
$("#URL").focus().val(functionsInfo[4]);
$("#State").attr("checked", functionsInfo[5] == 'true' ? true : false);
$("#Sort").focus().val(functionsInfo[6]);
$("#Enabled").attr("checked", functionsInfo[7] == 'true' ? true : false);
$("#Type").focus().val(functionsInfo[8]);
if (functionsInfo[9] !== "undefined" && functionsInfo[9] !== "") {
var arr = functionsInfo[9].split(",");
function editFunctions(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
$("#Number").textbox("setValue", rowsdata.number);
$("#Name").focus().textbox("setValue", rowsdata.name);
$("#PNumber").textbox("setValue", rowsdata.pnumber);
$("#URL").textbox("setValue", rowsdata.url);
$("#State").attr("checked", rowsdata.state);
$("#Sort").textbox("setValue", rowsdata.sort);
$("#Enabled").attr("checked", rowsdata.enabled);
$("#Type").textbox("setValue", rowsdata.type);
if (rowsdata.pushbtn != "undefined" && rowsdata.pushbtn != "") {
var arr = rowsdata.pushbtn.split(",");
var pushBtnArray = [];
for (var i = 0; i < arr.length; i++) {
if (arr[i]) {
@@ -408,13 +406,13 @@
$("#PushBtn").combobox('setValues', '');
}
oldFunctions = functionsInfo[2];
$('#functionsDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑功能信息');
oldFunctions = rowsdata.name;
$('#functionsDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑功能信息');
$(".window-mask").css({width: webW, height: webH});
functionsID = functionsInfo[0];
functionsID = rowsdata.id;
//焦点在名称输入框==定焦在输入文字后面
$("#Name").val("").focus().val(functionsInfo[2]);
url = '/functions/update?id=' + functionsInfo[0];
$("#Name").val("").focus().val(rowsdata.name);
url = '/functions/update?id=' + rowsdata.id;
}
//检查名称是否存在 ++ 重名无法提示问题需要跟进
@@ -502,8 +500,8 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchName").val("");
$("#searchName").textbox("clear");
$("#searchType").combobox("clear");
//加载完以后重新初始化
$("#searchBtn").click();
}

View File

@@ -7,12 +7,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -20,29 +20,26 @@
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="收支项目" iconCls="icon-list">
<table id="searchTable">
<tr>
<td>名&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
<td>名称:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:70px;"/>
<input type="text" name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td id="searchTypeLabel">类&nbsp;&nbsp;&nbsp;&nbsp;型:</td>
<td id="searchTypeLabel">类型:</td>
<td>
<select name="searchType" id="searchType" style="width:70px;">
<select name="searchType" id="searchType" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:100px;">
<option value="">全部</option>
<option value="收入">收入</option>
<option value="支出">支出</option>
</select>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td id="searchRemarkLabel">备&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
<td id="searchRemarkLabel">备注:</td>
<td>
<input type="text" name="searchRemark" id="searchRemark" style="width:70px;"/>
<input type="text" name="searchRemark" id="searchRemark" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp;
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
@@ -56,19 +53,20 @@
<form id="inOutItemFM" method="post" novalidate>
<div class="fitem" style="padding:5px">
<label id="nameLabel">名&nbsp;&nbsp;&nbsp;&nbsp;称</label>
<input name="name" id="name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
<input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width:230px;"/>
</div>
<div class="fitem" style="padding:5px">
<label id="typeLabel">类&nbsp;&nbsp;&nbsp;&nbsp;型</label>
<select name="type" id="type" style="width:230px;">
<select name="type" id="type" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:230px;">
<option value="收入">收入</option>
<option value="支出">支出</option>
</select>
</div>
<div class="fitem" style="padding:5px">
<label id="remarkLabel">备&nbsp;&nbsp;&nbsp;&nbsp;注</label>
<textarea name="remark" id="remark" rows="2" cols="2" style="width: 230px;"></textarea>
<textarea name="remark" id="remark" class="easyui-textbox" data-options="multiline:true" style="width: 230px;height: 40px;"></textarea>
</div>
</form>
</div>
@@ -83,27 +81,8 @@
$(function () {
initTableData();
ininPager();
browserFit();
});
//浏览器适配
function browserFit() {
if (getOs() == 'MSIE') {
$("#searchTypeLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
$("#searchRemarkLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
$("#nameLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
$("#typeLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
$("#remarkLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
}
else {
$("#searchTypeLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;");
$("#searchRemarkLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;");
$("#nameLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;");
$("#typeLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;");
$("#remarkLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;");
}
}
//初始化表格数据
function initTableData() {
$('#tableData').datagrid({
@@ -136,11 +115,10 @@
{title: '类型', field: 'type', width: 100, align: "center"},
{title: '描述', field: 'remark', width: 200},
{
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec) {
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.name + 'AaBb' + rec.type + 'AaBb' + rec.remark;
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editInOutItem(\'' + rowInfo + '\');"/>&nbsp;<a onclick="editInOutItem(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteInOutItem(\'' + rowInfo + '\');"/>&nbsp;<a onclick="deleteInOutItem(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editInOutItem(\'' + index + '\');"/>&nbsp;<a onclick="editInOutItem(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteInOutItem(\'' + rec.id + '\');"/>&nbsp;<a onclick="deleteInOutItem(\'' + rec.id + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
return str;
}
}
@@ -153,7 +131,7 @@
handler: function () {
addInOutItem();
}
},
},'-',
{
id: 'deleteInOutItem',
text: '删除',
@@ -214,16 +192,15 @@
}
//删除收支项目
function deleteInOutItem(inOutItemInfo) {
function deleteInOutItem(id) {
$.messager.confirm('删除确认', '确定要删除此收支项目吗?', function (r) {
if (r) {
var inOutItemTotalInfo = inOutItemInfo.split("AaBb");
$.ajax({
type: "post",
url: "/inOutItem/batchDeleteInOutItemByIds",
dataType: "json",
data: ({
ids: inOutItemTotalInfo[0]
ids: id
}),
success: function (res) {
if(res && res.code == 200) {
@@ -231,7 +208,7 @@
} else {
if(res && res.code == 601){
var jsondata={};
jsondata.ids=inOutItemTotalInfo[0];
jsondata.ids=id;
jsondata.deleteType='2';
var type='single';
batDeleteInOutItemForceConfirm(res,"/inOutItem/batchDeleteInOutItemByIds",jsondata,type);
@@ -349,7 +326,7 @@
if(checkPower()){
return;
}
$('#inOutItemDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加收支项目');
$('#inOutItemDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加收支项目');
$(".window-mask").css({width: webW, height: webH});
$('#inOutItemFM').form('clear');
@@ -396,18 +373,18 @@
});
//编辑收支项目
function editInOutItem(inOutItemTotalInfo) {
var inOutItemInfo = inOutItemTotalInfo.split("AaBb");
function editInOutItem(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
var row = {
name: inOutItemInfo[1],
type: inOutItemInfo[2],
remark: inOutItemInfo[3]
name: rowsdata.name,
type: rowsdata.type,
remark: rowsdata.remark
};
oldInOutItem = inOutItemInfo[1];
$('#inOutItemDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑收支项目');
oldInOutItem = rowsdata.name;
$('#inOutItemDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑收支项目');
$(".window-mask").css({width: webW, height: webH});
$('#inOutItemFM').form('load', row);
inOutItemID = inOutItemInfo[0];
inOutItemID = rowsdata.id;
//焦点在名称输入框==定焦在输入文字后面
$("#inOutItem").val("").focus().val(inOutItemInfo[1]);
url = '/inOutItem/update?id=' + inOutItemInfo[0];
@@ -501,7 +478,7 @@
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchName").val("");
$("#searchType").val("");
$("#searchType").combobox("setValue","");
$("#searchRemark").val("");
//加载完以后重新初始化
$("#searchBtn").click();

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -21,13 +21,13 @@
<tr>
<td>操作模块:</td>
<td>
<input type="text" name="searchOperation" id="searchOperation" style="width:90px;"/>
<input type="text" name="searchOperation" id="searchOperation" class="easyui-textbox" style="width:90px;"/>
</td>
<td>&nbsp;</td>
<td>操作人员:</td>
<td>
<select name="searchUsernameID" id="searchUsernameID" style="width:90px;"/>
<select name="searchUsernameID" id="searchUsernameID" class="easyui-textbox" style="width:90px;"/>
</td>
<td>&nbsp;</td>
<td>开始时间:</td>
@@ -38,7 +38,7 @@
<td>&nbsp;</td>
<td>操作IP</td>
<td>
<input type="text" name="searchIP" id="searchIP" style="width:90px;"/>
<input type="text" name="searchIP" id="searchIP" class="easyui-textbox" style="width:90px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
@@ -47,13 +47,14 @@
<tr>
<td>操作详情:</td>
<td>
<input type="text" name="searchDesc" id="searchDesc" style="width:90px;"/>
<input type="text" name="searchDesc" id="searchDesc" class="easyui-textbox" style="width:90px;"/>
</td>
<td>&nbsp;</td>
<td>操作状态:</td>
<td>
<select name="searchStatus" id="searchStatus" style="width:90px;">
<option value="">请选择</option>
<select name="searchStatus" id="searchStatus" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:90px;">
<option value="">全部</option>
<option value="0">成功</option>
<option value="1">失败</option>
</select>
@@ -262,14 +263,13 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchOperation").val("");
$("#searchUsernameID").val("");
$("#searchIP").val("");
$("#searchStatus").val("");
$("#searchOperation").textbox("clear");
$("#searchUsernameID").textbox("clear");
$("#searchIP").textbox("clear");
$("#searchStatus").textbox("setValue","");
$("#searchBeginTime").datebox("clear");
$("#searchEndTime").datebox("clear");
$("#searchDesc").val("");
$("#searchDesc").textbox("clear");
//加载完以后重新初始化
$("#searchBtn").click();
}

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/pages/manage/supplier.js"></script>
</head>
@@ -20,24 +20,24 @@
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="会员信息列表" iconCls="icon-list">
<table id="searchTable">
<tr>
<td>名&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
<td>名称:</td>
<td>
<input type="text" name="searchSupplier" id="searchSupplier" style="width:100px;"/>
<input type="text" name="searchSupplier" id="searchSupplier" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>手机号码:</td>
<td>
<input type="text" name="searchTelephone" id="searchTelephone" style="width:100px;"/>
<input type="text" name="searchTelephone" id="searchTelephone" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>联系电话:</td>
<td>
<input type="text" name="searchPhonenum" id="searchPhonenum" style="width:100px;"/>
<input type="text" name="searchPhonenum" id="searchPhonenum" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td id="searchDescLabel">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
<td id="searchDescLabel">备注:</td>
<td>
<input type="text" name="searchDesc" id="searchDesc" style="width:100px;"/>
<input type="text" name="searchDesc" id="searchDesc" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -55,91 +55,88 @@
<tr>
<td style="width: 80px;height: 20px">名称</td>
<td style="width: 180px;padding:1px">
<input name="supplier" id="supplier" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 160px;height: 20px"/>
<input name="supplier" id="supplier" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 160px;"/>
</td>
<td style="width: 60px;height: 20px">联系人</td>
<td style="width:180px;padding:1px;">
<input name="contacts" id="contacts" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="contacts" id="contacts" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>手机号码</td>
<td style="padding:1px;">
<input name="telephone" id="telephone" class="easyui-validatebox"
style="width: 160px;height: 20px"/>
<input name="telephone" id="telephone" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>电子邮箱</td>
<td style="padding:1px">
<input name="email" id="email" class="easyui-validatebox" validType="email"
style="width: 160px;height: 20px"/>
<input name="email" id="email" class="easyui-textbox" validType="email" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>联系电话</td>
<td style="padding:1px;">
<input name="phonenum" id="phonenum" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="phonenum" id="phonenum" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>传真</td>
<td style="padding:1px">
<input name="fax" id="fax" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="fax" id="fax" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>期初应收</td>
<td style="padding:1px">
<input name="BeginNeedGet" id="BeginNeedGet" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 160px;height: 20px"/>
data-options="min:0,precision:2" style="width: 160px;"/>
</td>
<td>期初应付</td>
<td style="padding:1px">
<input name="BeginNeedPay" id="BeginNeedPay" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 160px;height: 20px"/>
data-options="min:0,precision:2" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>累计应收</td>
<td style="padding:1px">
<input name="AllNeedGet" id="AllNeedGet" type="text" style="width: 160px;height: 20px"
<input name="AllNeedGet" id="AllNeedGet" type="text" class="easyui-textbox" style="width: 160px;"
readonly="readonly"/>
</td>
<td>累计应付</td>
<td style="padding:1px">
<input name="AllNeedPay" id="AllNeedPay" type="text" style="width: 160px;height: 20px"
<input name="AllNeedPay" id="AllNeedPay" type="text" class="easyui-textbox" style="width: 160px;"
readonly="readonly"/>
</td>
</tr>
<tr>
<td>纳税人识别号</td>
<td style="padding:1px">
<input name="taxNum" id="taxNum" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="taxNum" id="taxNum" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>税率</td>
<td style="padding:1px">
<input name="taxRate" id="taxRate" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="taxRate" id="taxRate" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>开户行</td>
<td style="padding:1px">
<input name="bankName" id="bankName" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="bankName" id="bankName" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>账号</td>
<td style="padding:1px">
<input name="accountNumber" id="accountNumber" class="easyui-validatebox"
style="width: 160px;height: 20px"/>
<input name="accountNumber" id="accountNumber" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>地址</td>
<td style="padding:1px" colspan="3">
<input name="address" id="address" class="easyui-validatebox" style="width: 408px;height: 20px"/>
<input name="address" id="address" class="easyui-textbox" style="width: 408px;"/>
</td>
</tr>
<tr>
<td>备注</td>
<td style="padding:1px" colspan="3">
<textarea name="description" id="description" rows="2" cols="2" style="width: 408px;"></textarea>
<textarea name="description" id="description" class="easyui-textbox" data-options="multiline:true" style="width: 408px;height: 40px;"></textarea>
</td>
</tr>
</table>

View File

@@ -10,11 +10,11 @@
<meta http-equiv="Expires" content="-1">
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
</head>
@@ -31,9 +31,9 @@
<tr>
<td>上级机构</td>
<td style="padding:5px">
<input name="orgParentName" id="orgParentName" style="width: 200px;height: 20px" readonly="readonly"/>
<input name="orgParentName" id="orgParentName" class="easyui-textbox" style="width: 200px;" readonly="readonly"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectOrganization">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height:20px;"></span></span></a>
<input name="orgParentNo" id="orgParentNo" type="hidden"/>
<input name="selectType" id="selectType" type="hidden"/>
</td>
@@ -41,22 +41,23 @@
<tr>
<td>全称</td>
<td style="padding:5px">
<input name="orgFullName" id="orgFullName" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 200px;height: 20px"/>
<input name="orgFullName" id="orgFullName" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 200px;"/>
<input name="id" id="id" type="hidden"/>
</td>
</tr>
<tr>
<td>简称</td>
<td style="padding:5px">
<input name="orgAbr" id="orgAbr" class="easyui-validatebox"
data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/>
<input name="orgAbr" id="orgAbr" class="easyui-textbox"
data-options="required:true,validType:'length[2,20]'" style="width: 200px;"/>
</td>
</tr>
<tr>
<td>状态</td>
<td style="padding:5px">
<select name="orgStcd" id="orgStcd" style="width: 200px;height: 20px">
<select name="orgStcd" id="orgStcd" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:200px;">
<option value="1">未营业</option>
<option value="2">正常营业</option>
<option value="3">暂停营业</option>
@@ -67,36 +68,34 @@
<tr>
<td>编号</td>
<td style="padding:5px">
<input name="orgNo" id="orgNo" class="easyui-validatebox"
data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/>
<input name="orgNo" id="orgNo" class="easyui-textbox"
data-options="required:true,validType:'length[2,20]'" style="width: 200px;"/>
</td>
</tr>
<tr>
<td>序</td>
<td>序</td>
<td style="padding:5px">
<input name="sort" id="sort" class="easyui-validatebox"
data-options="required:true,validType:'length[2,20]'" style="width: 200px;height: 20px"/>
<input name="sort" id="sort" class="easyui-textbox"
data-options="required:true,validType:'length[2,20]'" style="width: 200px;"/>
</td>
</tr>
<tr>
<td>开创时间</td>
<td style="padding:5px">
<input type="text" name="orgCreateTime" id="orgCreateTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:200px;"/>
<input type="text" name="orgCreateTime" id="orgCreateTime" class="easyui-datetimebox" style="width:200px;"/>
</td>
</tr>
<tr>
<td>停业时间</td>
<td style="padding:5px">
<input type="text" name="orgStopTime" id="orgStopTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:200px;"/>
<input type="text" name="orgStopTime" id="orgStopTime" class="easyui-datetimebox" style="width:200px;"/>
</td>
</tr>
<tr>
<td>备注</td>
<td style="padding:5px">
<textarea name="remark" id="remark" placeholder="暂无备注信息"
style="width: 200px; height:40px;"></textarea>
<input name="remark" id="remark" class="easyui-textbox" data-options="multiline:true"
placeholder="暂无备注信息" style="width: 200px; height:40px;"/>
</td>
</tr>
@@ -157,21 +156,9 @@
if(checkPower()){
return;
}
$('#OrganizationFM').form('clear');
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加机构信息');
$('#organizationFM').form('clear');
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加机构信息');
$(".window-mask").css({width: webW, height: webH});
$("#orgAbr").val("").focus();
$("#orgParentName").val("");
$("#orgParentNo").val("");
$("#orgFullName").val("");
$("#orgTpcd").val("");
$("#orgStcd").val("");
$("#orgNo").val("");
$("#sort").val("");
$("#orgCreateTime").val("");
$("#orgStopTime").val("");
$("#remark").val("");
$("#id").val("");
//机构父级选择
$("#selectType").val("orgParent");
url = '/organization/addOrganization';
@@ -192,20 +179,18 @@
return;
}
$('#organizationFM').form('clear');
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;修改机构信息');
$('#organizationDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;修改机构信息');
$(".window-mask").css({width: webW, height: webH});
$("#orgAbr").val(res.data.orgAbr).focus();
$("#orgParentName").val(res.data.orgParentName);
$("#orgAbr").textbox("setValue", res.data.orgAbr).focus();
$("#orgParentName").textbox("setValue", res.data.orgParentName);
$("#orgParentNo").val(res.data.orgParentNo);
$("#orgFullName").val(res.data.orgFullName);
$("#orgTpcd").val(res.data.orgTpcd);
$("#orgStcd").val(res.data.orgStcd);
$("#orgNo").val(res.data.orgNo);
$("#orgFullName").val(res.data.orgFullName);
$("#sort").val(res.data.sort);
$("#orgCreateTime").val(res.data.orgCreateTime);
$("#orgStopTime").val(res.data.orgStopTime);
$("#remark").val(res.data.remark);
$("#orgFullName").textbox("setValue", res.data.orgFullName);
$("#orgStcd").combobox("setValue", res.data.orgStcd);
$("#orgNo").textbox("setValue", res.data.orgNo);
$("#sort").textbox("setValue", res.data.sort);
$("#orgCreateTime").textbox("setValue", res.data.orgCreateTime);
$("#orgStopTime").textbox("setValue", res.data.orgStopTime);
$("#remark").textbox("setValue", res.data.remark);
$("#id").val(res.data.id);
//机构父级选择
$("#selectType").val("orgParent");

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -36,10 +36,10 @@
function forSelectOrganization(node) {
var selectType=$("#selectType").val();
if(selectType=='orgParent'){
$("#orgParentName").val(node.text);
$("#orgParentName").textbox("setValue", node.text);
$("#orgParentNo").val(node.attributes);
}else if(selectType=='org'){
$("#orgAbr").val(node.text);
$("#orgAbr").textbox("setValue", node.text);
$("#orgaId").val(node.id);
}
$('#forSelectOrganizationDlg').dialog('close');

View File

@@ -10,11 +10,11 @@
<script type="text/javascript" src="/js/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="/js/colorbox/colorboxSet.js"></script>
<link href="/js/colorbox/colorbox.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -24,7 +24,7 @@
<tr>
<td>角色名称:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:150px;"/>
<input class="easyui-textbox" type="text" name="searchName" id="searchName" style="width:150px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
@@ -47,8 +47,8 @@
<table>
<tr>
<td><label id="nameLabel">角色名称&nbsp;&nbsp;</label></td>
<td style="padding:5px"><input name="name" id="name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/></td>
<td style="padding:5px"><input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/></td>
</tr>
</table>
</form>
@@ -68,18 +68,6 @@
browserFit();
});
//浏览器适配
function browserFit() {
if (getOs() == 'MSIE') {
$("#searchRemarkLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");
$("#nameLabel").empty().append("角色名称&nbsp;&nbsp;");
}
else {
$("#searchRemarkLabel").empty().append("&nbsp;&nbsp;&nbsp;&nbsp;");
$("#nameLabel").empty().append("角色名称&nbsp;");
}
}
//防止表单提交重复
function initForm() {
$('#roleFM').form({
@@ -116,11 +104,10 @@
columns: [[
{field: 'id', width: 35, align: "center", checkbox: true},
{
title: '操作', field: 'op', align: "center", width: 80, formatter: function (value, rec) {
title: '操作', field: 'op', align: "center", width: 80, formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.name;
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editRole(\'' + rowInfo + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteRole(' + rec.id + ');"/>';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editRole(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteRole(' + rec.id + ');"/>';
return str;
}
},
@@ -274,7 +261,7 @@
function addRole() {
$("#sort").val("");
$("#remark").val("");
$('#roleDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加角色信息');
$('#roleDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加角色信息');
$(".window-mask").css({width: webW, height: webH});
$("#name").val("").focus();
//$('#roleFM').form('clear');
@@ -313,18 +300,14 @@
});
//编辑信息
function editRole(roleTotalInfo) {
var roleInfo = roleTotalInfo.split("AaBb");
$("#name").focus().val(roleInfo[1]);
oldName = roleInfo[1];
$('#roleDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑角色信息');
function editRole(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
$("#name").textbox("setValue", rowsdata.name);
oldName = rowsdata.name;
$('#roleDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑角色信息');
$(".window-mask").css({width: webW, height: webH});
roleID = roleInfo[0];
//焦点在名称输入框==定焦在输入文字后面
$("#name").val("").focus().val(roleInfo[1]);
url = '/role/update?id=' + roleInfo[0];
roleID = rowsdata.id;
url = '/role/update?id=' + rowsdata.id;
}
//检查名称是否存在 ++ 重名无法提示问题需要跟进

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>

View File

@@ -7,12 +7,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/material.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/common/jsherp.js"></script>
@@ -24,12 +24,12 @@
<tr>
<td>商品名称:</td>
<td>
<input name="materialName_s" id="materialName_s" style="width:80px;"/>
<input name="materialName_s" id="materialName_s" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>序列号:</td>
<td>
<input name="serialNumber_s" id="serialNumber_s" style="width:80px;"/>
<input name="serialNumber_s" id="serialNumber_s" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -47,7 +47,7 @@
<table id="serialNumberTableData" style="top:50px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="serialNumberDlg" class="easyui-dialog" style="width:860px;height:420px;padding:10px 20px"
<div id="serialNumberDlg" class="easyui-dialog" style="width:860px;height:440px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="serialNumberFM" method="post" novalidate>
<div id="tt" class="easyui-tabs" style="width:800px;height:320px;">
@@ -56,28 +56,28 @@
<tr>
<td style="width:60px; height:30px;">商品名称</td>
<td style="padding:5px;width:300px;">
<input name="materialId" id="materialId" type="hidden" />
<input name="materialName" id="materialName" readonly="readonly"
style="width: 180px;height: 20px"/>
<input name="materialName" id="materialName" class="easyui-textbox" readonly="readonly"
style="width: 180px;"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectMaterial">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height: 20px;"></span></span></a>
<input name="materialId" id="materialId" type="hidden" />
</td>
</tr>
<tr>
<td style="width:80px;">序列号</td>
<td style="padding:5px;width:180px;">
<input name="serialNumberId" id="serialNumberId" type="hidden" />
<input name="serialNumber" id="serialNumber" class="easyui-validatebox"
<input name="serialNumber" id="serialNumber" class="easyui-textbox"
data-options="required:true,validType:'length[1,30]'"
style="width: 180px;height: 20px"/>
style="width: 180px;"/>
</td>
<td style="width:200px;"></td>
</tr>
<tr>
<td style="height:30px;">备注</td>
<td style="padding:5px" colspan="3">
<textarea name="remark" id="remark" rows="2" cols="2" placeholder="暂无备注信息"
style="width: 468px; height:40px;"></textarea>
<textarea name="remark" id="remark" class="easyui-textbox" data-options="multiline:true"
placeholder="暂无备注信息" style="width: 580px; height:40px;"></textarea>
</td>
<td></td>
</tr>
@@ -91,7 +91,7 @@
<a href="javascript:void(0)" id="cancelSerialNumber" class="easyui-linkbutton" iconCls="icon-cancel"
onclick="javascript:$('#serialNumberDlg').dialog('close')">取消</a>
</div>
<div id="batAddSerialNumberDlg" class="easyui-dialog" style="width:860px;height:420px;padding:10px 20px"
<div id="batAddSerialNumberDlg" class="easyui-dialog" style="width:860px;height:440px;padding:10px 20px"
closed="true" buttons="#bat-dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="batAddserialNumberFM" method="post" novalidate>
<div id="batAddtt" class="easyui-tabs" style="width:800px;height:320px;">
@@ -100,32 +100,32 @@
<tr>
<td style="width:60px; height:30px;">商品名称</td>
<td style="padding:5px;width:300px;">
<input name="materialName" id="batAddMaterialName" readonly="readonly"
style="width: 180px;height: 20px"/>
<input name="materialName" id="batAddMaterialName" class="easyui-textbox" readonly="readonly"
style="width: 180px;"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="batLookForSelectMaterial">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height: 20px"></span></span></a>
</td>
</tr>
<tr>
<td style="width:80px;">序列号前缀</td>
<td style="padding:5px;width:180px;">
<input name="serialNumber" id="batAddSerialNumberInput" class="easyui-validatebox"
<input name="serialNumber" id="batAddSerialNumberInput" class="easyui-textbox"
data-options="required:true,validType:'length[1,30]'"
style="width: 180px;height: 20px"/>
style="width: 180px;"/>
</td>
<td style="width:80px;">序列号数量</td>
<td style="padding:5px;width:180px;">
<input name="batAddTotal" id="batAddTotal" class="easyui-numberbox"
data-options="min:0,max:500"
style="width: 180px;height: 20px"/>
style="width: 180px;"/>
</td>
<td></td>
</tr>
<tr>
<td style="height:30px;">备注</td>
<td style="padding:5px" colspan="3">
<textarea name="remark" id="batAddremark" rows="2" cols="2" placeholder="暂无备注信息"
style="width: 468px; height:40px;"></textarea>
<textarea name="remark" id="batAddremark" class="easyui-textbox" data-options="multiline:true"
placeholder="暂无备注信息" style="width: 580px; height:40px;"></textarea>
</td>
<td></td>
</tr>
@@ -205,12 +205,12 @@
* 在此使用传递index然后根据index获取数据的方式替代
*
*/
str += '<img title="编辑" src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSerialNumber(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSerialNumber(' + rec.id + ');"/>';
str += '<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSerialNumber(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSerialNumber(' + rec.id + ');"/>';
return str;
}
},
{title: '商品名称', align: "center",field: 'materialName', width: 100},
{title: '商品名称', align: "center",field: 'materialName', width: 140},
{title: '序列号',align: "center", field: 'serialNumber', width: 200},
{title: '单据编号', align: "center", field: 'depotHeadNumber', width: 140,
formatter: function (value, row) {
@@ -225,8 +225,8 @@
return value=='1' ? "" : "";
}
},
{title: '创建时间',align: "center", field: 'createTime', width: 140,formatter: formatDatebox},
{title: '更新时间', align: "center", field: 'updateTime', width: 140,formatter: formatDatebox},
{title: '创建时间',align: "center", field: 'createTime', width: 160,formatter: formatDatebox},
{title: '更新时间', align: "center", field: 'updateTime', width: 160,formatter: formatDatebox},
{title: '备注',align: "center", field: 'remark',width: 200}
]],
toolbar: [
@@ -377,8 +377,9 @@
if(checkPower()){
return;
}
$('#serialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加序列号信息');
$('#serialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加序列号信息');
$(".window-mask").css({width: webW, height: webH});
$('#serialNumberFM').form('clear');
$('#materialId').val('');
$('#materialName').val('');
$('#serialNumberId').val('');
@@ -467,10 +468,10 @@
var rowsdata = $("#tableData").datagrid("getRows")[index];
$("#serialNumberId").val(rowsdata.serialNumberId);
$("#materialId").val(rowsdata.materialId);
$("#materialName").focus().val(rowsdata.materialName);
$("#serialNumber").val(rowsdata.serialNumber);
$("#remark").val(rowsdata.remark);
$('#serialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑序列号信息');
$("#materialName").focus().textbox("setValue", rowsdata.materialName);
$("#serialNumber").textbox("setValue", rowsdata.serialNumber);
$("#remark").textbox("setValue", rowsdata.remark);
$('#serialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑序列号信息');
$(".window-mask").css({width: webW, height: webH});
//选中基本资料tab
$("#serialNumberFM #tt .tabs li").first().click();
@@ -522,8 +523,8 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#materialName_s").val("");
$("#serialNumber_s").val("");
$("#materialName_s").textbox("clear");
$("#serialNumber_s").textbox("clear");
//加载完以后重新初始化
$("#searchBtn").click();
}
@@ -565,12 +566,10 @@
* 批量添加序列号
* */
function batAddSerialNumber(){
$('#batAddSerialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;批量添加序列号信息');
$('#batAddSerialNumberDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;批量添加序列号信息');
$(".window-mask").css({width: webW, height: webH});
$('#batAddMaterialName').val('');
$('#batAddSerialNumberInput').val('');
$('#batAddTotal').val('10');
$('#batAddremark').val('');
$('#batAddSerialNumberFM').form('clear');
$('#batAddTotal').textbox("setValue",'10');
url = '/serialNumber/batAddSerialNumber';
}
//保存信息

View File

@@ -10,11 +10,11 @@
<script type="text/javascript" src="/js/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="/js/colorbox/colorboxSet.js"></script>
<link href="/js/colorbox/colorbox.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -24,7 +24,7 @@
<tr>
<td>公司名称:</td>
<td>
<input type="text" name="searchCompanyName" id="searchCompanyName" style="width:100px;"/>
<input type="text" name="searchCompanyName" id="searchCompanyName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
@@ -39,39 +39,57 @@
<div id="systemConfigDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="systemConfigFM" method="post" novalidate>
<div class="fitem" style="padding:5px">
<label id="companyNameLabel">公司名称 &nbsp;&nbsp;</label>
<input name="companyName" id="companyName" class="easyui-validatebox"
data-options="required:true,validType:'length[2,15]'" style="width: 220px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="companyContactsLabel">联系人&nbsp;&nbsp;</label>
<input name="companyContacts" id="companyContacts" style="width: 220px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="companyAddressLabel">公司地址&nbsp;&nbsp;</label>
<input name="companyAddress" id="companyAddress" style="width: 220px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="companyTelLabel">公司电话&nbsp;&nbsp;</label>
<input name="companyTel" id="companyTel" style="width: 220px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="companyFaxLabel">公司传真&nbsp;&nbsp;</label>
<input name="companyFax" id="companyFax" style="width: 220px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="companyPostCodeLabel">公司邮编&nbsp;&nbsp;</label>
<input name="companyPostCode" id="companyPostCode" style="width: 220px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="depotFlagLabel">仓库开关&nbsp;&nbsp;</label>
<input name="depotFlag" id="depotFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
</div>
<div class="fitem" style="padding:5px">
<label id="customerFlagLabel">客户开关&nbsp;&nbsp;</label>
<input name="customerFlag" id="customerFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
</div>
<table>
<tr>
<td>公司名称</td>
<td style="padding:5px">
<input name="companyName" id="companyName" class="easyui-textbox"
data-options="required:true,validType:'length[2,15]'" style="width: 220px;"/>
</td>
</tr>
<tr>
<td>联系人</td>
<td style="padding:5px">
<input name="companyContacts" id="companyContacts" class="easyui-textbox" style="width: 220px;"/>
</td>
</tr>
<tr>
<td>公司地址</td>
<td style="padding:5px">
<input name="companyAddress" id="companyAddress" class="easyui-textbox" style="width: 220px;"/>
</td>
</tr>
<tr>
<td>公司电话</td>
<td style="padding:5px">
<input name="companyTel" id="companyTel" class="easyui-textbox" style="width: 220px;"/>
</td>
</tr>
<tr>
<td>公司传真</td>
<td style="padding:5px">
<input name="companyFax" id="companyFax" class="easyui-textbox" style="width: 220px;"/>
</td>
</tr>
<tr>
<td>公司邮编</td>
<td style="padding:5px">
<input name="companyPostCode" id="companyPostCode" class="easyui-textbox" style="width: 220px;"/>
</td>
</tr>
<tr>
<td>仓库开关</td>
<td style="padding:5px">
<input name="depotFlag" id="depotFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
</td>
</tr>
<tr>
<td>客户开关</td>
<td style="padding:5px">
<input name="customerFlag" id="customerFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
</td>
</tr>
</table>
</form>
</div>
<div id="dlg-buttons">
@@ -120,8 +138,8 @@
var rowInfo = rec.id + 'AaBb' + rec.companyName + 'AaBb' + rec.companyContacts + 'AaBb' + rec.companyAddress
+ 'AaBb' + rec.companyTel + 'AaBb' + rec.companyFax + 'AaBb' + rec.companyPostCode
+ 'AaBb' + rec.depotFlag + 'AaBb' + rec.customerFlag;
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSystemConfig(\'' + rowInfo + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSystemConfig(' + rec.id + ');"/>';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSystemConfig(\'' + rowInfo + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSystemConfig(' + rec.id + ');"/>';
return str;
}
},
@@ -304,7 +322,7 @@
if(pageTotal>=1) {
$.messager.alert('提示', '只能填写一条系统配置信息', 'warning');
} else {
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加系统配置');
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加系统配置');
$(".window-mask").css({width: webW, height: webH});
$('#systemConfigFM').form('clear');
var row = {};
@@ -365,7 +383,7 @@
companyPostCode: systemConfigInfo[6]
};
oldCompanyName = systemConfigInfo[1];
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑系统配置信息');
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑系统配置信息');
$(".window-mask").css({width: webW, height: webH});
$('#systemConfigFM').form('load', row);
systemConfigId = systemConfigInfo[0];

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -21,7 +21,7 @@
<tr>
<td>计量单位:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:100px;"/>
<input type="text" name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -33,26 +33,26 @@
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="unitDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
<div id="unitDlg" class="easyui-dialog" style="width:450px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" cache="false" collapsible="false" closable="true">
<form id="unitFM" method="post" novalidate>
<table>
<tr>
<td>基本单位</td>
<td style="padding:5px">
<input name="basicName" id="basicName" class="easyui-validatebox"
data-options="required:true,validType:'length[1,10]'" style="width: 100px;height: 20px"/>
<input name="basicName" id="basicName" class="easyui-textbox"
data-options="required:true,validType:'length[1,10]'" style="width: 100px;"/>
基本单位应为最小度量单位
</td>
</tr>
<tr>
<td>副单位</td>
<td style="padding:5px">
<input name="otherName" id="otherName" class="easyui-validatebox"
data-options="required:true,validType:'length[1,5]'" style="width: 100px;height: 20px"/>
<input name="otherName" id="otherName" class="easyui-textbox"
data-options="required:true,validType:'length[1,5]'" style="width: 100px;"/>
=
<input name="otherNum" id="otherNum" class="easyui-validatebox"
data-options="required:true,validType:'length[1,5]'" style="width: 50px;height: 20px"/>
<input name="otherNum" id="otherNum" class="easyui-textbox"
data-options="required:true,validType:'length[1,5]'" style="width: 50px;"/>
<span id="unitName"></span>
</td>
</tr>
@@ -110,11 +110,10 @@
{field: 'id', width: 35, align: "center", checkbox: true},
{
title: '操作', field: 'op', align: "center", width: 60,
formatter: function (value, rec) {
formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.uname;
str += '<img title="编辑" src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUnit(\'' + rowInfo + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUnit(' + rec.id + ');"/>';
str += '<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUnit(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUnit(' + rec.id + ');"/>';
return str;
}
},
@@ -322,7 +321,7 @@
if(checkPower()){
return;
}
$('#unitDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加计量单位');
$('#unitDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加计量单位');
$(".window-mask").css({width: webW, height: webH});
$('#unitFM').form('clear');
$("#name").focus();
@@ -368,25 +367,25 @@
});
//编辑信息
function editUnit(unitTotalInfo) {
var unitInfo = unitTotalInfo.split("AaBb");
function editUnit(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
oldUnit = unitInfo[1];
$('#unitDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑计量单位');
oldUnit = rowsdata.uname;
$('#unitDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑计量单位');
$(".window-mask").css({width: webW, height: webH});
unitID = unitInfo[0];
unitID = rowsdata.id;
//焦点在名称输入框==定焦在输入文字后面
var name = unitInfo[1];
var name = rowsdata.uname;
var basicName = name.substring(0, name.indexOf(",")); //基础单位
$("#basicName").val(basicName);
$("#basicName").textbox("setValue", basicName);
var otherItem = name.substring(name.indexOf(",") + 1);
var otherName = otherItem.substring(0, otherItem.indexOf("("));
$("#otherName").val(otherName);
$("#otherName").textbox("setValue", otherName);
var lastNum = otherItem.substring(otherItem.indexOf(":") + 1);
lastNum = lastNum.replace(")", "");
$("#otherNum").val(lastNum);
$("#otherNum").textbox("setValue", lastNum);
$("#unitName").text(basicName);
url = '/unit/update?id=' + unitInfo[0];
url = '/unit/update?id=' + rowsdata.id;
}
//检查名称是否存在 ++ 重名无法提示问题需要跟进
@@ -472,7 +471,7 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchName").val("");
$("#searchName").textbox("clear");
//加载完以后重新初始化
$("#searchBtn").click();
}

View File

@@ -8,11 +8,11 @@
<script type="text/javascript" src="/js/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="/js/colorbox/colorboxSet.js"></script>
<link href="/js/colorbox/colorbox.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -22,17 +22,14 @@
<tr>
<td>登录名称:</td>
<td>
<input type="text" name="searchLoginame" id="searchLoginame" style="width:100px;"/>
<input type="text" name="searchLoginame" id="searchLoginame" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>用户姓名:</td>
<td>
<input type="text" name="searchUsername" id="searchUsername" style="width:100px;"/>
<input type="text" name="searchUsername" id="searchUsername" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp;
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>&nbsp;&nbsp;
@@ -48,49 +45,78 @@
<div id="userDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="usernameFM" method="post" novalidate>
<div class="fitem" style="padding:5px">
<label id="loginameLabel">登录名称 &nbsp;&nbsp;</label>
<input name="loginame" id="loginame" class="easyui-validatebox"
data-options="required:true,validType:'length[2,15]'" style="width: 120px;height: 20px"/>
初始密码123456
</div>
<div class="fitem" style="padding:5px">
<label id="orgAbrLabel">部&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;门&nbsp;&nbsp;</label>
<input name="orgAbr" id="orgAbr" style="width: 120px;height: 20px"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectOrganization">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<input name="orgaId" id="orgaId" type="hidden"/>
<input name="selectType" id="selectType" type="hidden"/>
<input name="orgaUserRelId" id="orgaUserRelId" type="hidden"/>
<!--一个兼容input框没有实际用处但是必须存在-->
<input name="id" id="id" type="hidden"/>
</div>
<div class="fitem" style="padding:5px">
<label id="userBlngOrgaDsplSeqLabel">用户排序&nbsp;&nbsp;</label>
<input name="userBlngOrgaDsplSeq" id="userBlngOrgaDsplSeq" style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="usernameLabel">用户姓名&nbsp;&nbsp;</label>
<input name="username" id="username" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="positionLabel">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位&nbsp;&nbsp;</label>
<input name="position" id="position" style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="phonenumLabel">联系电话&nbsp;&nbsp;</label>
<input name="phonenum" id="phonenum" class="easyui-numberbox" style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="emailLabel">电子邮箱&nbsp;&nbsp;</label>
<input name="email" id="email" class="easyui-validatebox" validType="email"
style="width: 230px;height: 20px"/>
</div>
<div class="fitem" style="padding:5px">
<label id="descriptionLabel">描&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;述&nbsp;&nbsp;</label>
<textarea name="description" id="description" rows="2" cols="2" style="width: 230px;"></textarea>
</div>
<table>
<tr>
<td>登录名称</td>
<td style="padding:5px">
<input name="loginame" id="loginame" class="easyui-textbox"
data-options="required:true,validType:'length[2,15]'" style="width: 120px;"/>
初始密码123456
</td>
</tr>
<tr>
<td>部门</td>
<td style="padding:5px">
<input name="orgAbr" id="orgAbr" class="easyui-textbox" style="width: 120px;"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectOrganization">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height:20px;"></span></span></a>
<input name="orgaId" id="orgaId" type="hidden"/>
<input name="selectType" id="selectType" type="hidden"/>
<input name="orgaUserRelId" id="orgaUserRelId" type="hidden"/>
<!--一个兼容input框没有实际用处但是必须存在-->
<input name="id" id="id" type="hidden"/>
</td>
</tr>
<tr>
<td>
用户姓名
</td>
<td style="padding:5px">
<input name="username" id="username" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>
职位
</td>
<td style="padding:5px">
<input name="position" id="position" class="easyui-textbox" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>
联系电话
</td>
<td style="padding:5px">
<input name="phonenum" id="phonenum" class="easyui-numberbox" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>
电子邮箱
</td>
<td style="padding:5px">
<input name="email" id="email" class="easyui-textbox" data-options="validType:'email'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>
用户排序
</td>
<td style="padding:5px">
<input name="userBlngOrgaDsplSeq" id="userBlngOrgaDsplSeq" class="easyui-textbox" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>
描述
</td>
<td style="padding:5px">
<textarea name="description" id="description" class="easyui-textbox" data-options="multiline:true" style="width: 230px;height: 40px;"></textarea>
</td>
</tr>
</table>
</form>
</div>
<div id="dlg-buttons">
@@ -147,10 +173,10 @@
title: '操作', field: 'isystem', align: "center", width: 80, formatter: function (value, rec, index) {
var str = '';
if(rec.loginame != "jsh") {
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUser(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUser(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
}
if (rec.id != rec.tenantId) {
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUser(' + rec.id + ');"/>';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUser(' + rec.id + ');"/>';
}
else {
str += '';
@@ -164,7 +190,7 @@
{title: '部门', field: 'orgAbr', width: 115, align: "center"},
{title: '电子邮箱', field: 'email', width: 150, align: "center"},
{title: '电话号码', field: 'phonenum', width: 150, align: "center"},
{title: '用户排序', field: 'userBlngOrgaDsplSeq', width: 60, align: "center"},
{title: '用户排序', field: 'userBlngOrgaDsplSeq', width: 80, align: "center"},
{title: '描述', field: 'description', width: 130},
{field: 'orgaId',hidden:true, width: 10}
]],
@@ -176,7 +202,7 @@
handler: function () {
addUser();
}
},
},'-',
{
id: 'deleteUser',
text: '删除',
@@ -331,7 +357,7 @@
if(checkPower()){
return;
}
$('#userDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加用户');
$('#userDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加用户');
$(".window-mask").css({width: webW, height: webH});
$('#usernameFM').form('clear');
var row = {};
@@ -425,7 +451,7 @@
userBlngOrgaDsplSeq: rowsdata.userBlngOrgaDsplSeq
};
oldLoginName = rowsdata.username;
$('#userDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑用户信息');
$('#userDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑用户信息');
$(".window-mask").css({width: webW, height: webH});
$('#usernameFM').form('load', row);
userID = rowsdata.id;
@@ -487,15 +513,13 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchUsername").val("");
$("#searchLoginame").val("");
$("#searchPhonenum").val("");
$("#searchPosition").val("");
$("#searchDept").val("");
$("#searchEmail").val("");
$("#searchDesc").val("");
$("#searchUsername").textbox("setValue","");
$("#searchLoginame").textbox("setValue","");
$("#searchPhonenum").textbox("setValue","");
$("#searchPosition").textbox("setValue","");
$("#searchDept").textbox("setValue","");
$("#searchEmail").textbox("setValue","");
$("#searchDesc").textbox("setValue","");
//加载完以后重新初始化
$("#searchBtn").click();
}

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -39,7 +39,7 @@
return;
}
if(selectType=='principal'){
$("#principalName").val(node.text);
$("#principalName").textbox("setValue", node.text);
$("#principal").val(node.id);
}else if(selectType=='org'){
$("#orgAbr").val(node.text);

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/pages/manage/supplier.js"></script>
</head>
@@ -20,24 +20,24 @@
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="供应商信息列表" iconCls="icon-list">
<table id="searchTable">
<tr>
<td>名&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
<td>名称:</td>
<td>
<input type="text" name="searchSupplier" id="searchSupplier" style="width:100px;"/>
<input type="text" name="searchSupplier" id="searchSupplier" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>手机号码:</td>
<td>
<input type="text" name="searchTelephone" id="searchTelephone" style="width:100px;"/>
<input type="text" name="searchTelephone" id="searchTelephone" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>联系电话:</td>
<td>
<input type="text" name="searchPhonenum" id="searchPhonenum" style="width:100px;"/>
<input type="text" name="searchPhonenum" id="searchPhonenum" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td id="searchDescLabel">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
<td id="searchDescLabel">备注:</td>
<td>
<input type="text" name="searchDesc" id="searchDesc" style="width:100px;"/>
<input type="text" name="searchDesc" id="searchDesc" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -55,91 +55,88 @@
<tr>
<td style="width: 80px;height: 20px">名称</td>
<td style="width: 180px;padding:1px">
<input name="supplier" id="supplier" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 160px;height: 20px"/>
<input name="supplier" id="supplier" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 160px;"/>
</td>
<td style="width: 60px;height: 20px">联系人</td>
<td style="width:180px;padding:1px;">
<input name="contacts" id="contacts" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="contacts" id="contacts" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>手机号码</td>
<td style="padding:1px;">
<input name="telephone" id="telephone" class="easyui-validatebox"
style="width: 160px;height: 20px"/>
<input name="telephone" id="telephone" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>电子邮箱</td>
<td style="padding:1px">
<input name="email" id="email" class="easyui-validatebox" validType="email"
style="width: 160px;height: 20px"/>
<input name="email" id="email" class="easyui-textbox" validType="email" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>联系电话</td>
<td style="padding:1px;">
<input name="phonenum" id="phonenum" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="phonenum" id="phonenum" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>传真</td>
<td style="padding:1px">
<input name="fax" id="fax" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="fax" id="fax" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>期初应收</td>
<td style="padding:1px">
<input name="BeginNeedGet" id="BeginNeedGet" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 160px;height: 20px"/>
<input name="BeginNeedGet" id="BeginNeedGet" class="easyui-textbox"
data-options="min:0,precision:2" style="width: 160px;"/>
</td>
<td>期初应付</td>
<td style="padding:1px">
<input name="BeginNeedPay" id="BeginNeedPay" type="text" class="easyui-numberbox"
data-options="min:0,precision:2" style="width: 160px;height: 20px"/>
<input name="BeginNeedPay" id="BeginNeedPay" class="easyui-textbox"
data-options="min:0,precision:2" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>累计应收</td>
<td style="padding:1px">
<input name="AllNeedGet" id="AllNeedGet" type="text" style="width: 160px;height: 20px"
<input name="AllNeedGet" id="AllNeedGet" class="easyui-textbox" style="width: 160px;"
readonly="readonly"/>
</td>
<td>累计应付</td>
<td style="padding:1px">
<input name="AllNeedPay" id="AllNeedPay" type="text" style="width: 160px;height: 20px"
<input name="AllNeedPay" id="AllNeedPay" class="easyui-textbox" style="width: 160px;"
readonly="readonly"/>
</td>
</tr>
<tr>
<td>纳税人识别号</td>
<td style="padding:1px">
<input name="taxNum" id="taxNum" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="taxNum" id="taxNum" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>税率(%)</td>
<td style="padding:1px">
<input name="taxRate" id="taxRate" class="easyui-numberbox" data-options="validType:'length[1,2]'" style="width: 160px;height: 20px"/>
<input name="taxRate" id="taxRate" class="easyui-numberbox" data-options="validType:'length[1,2]'" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>开户行</td>
<td style="padding:1px">
<input name="bankName" id="bankName" class="easyui-validatebox" style="width: 160px;height: 20px"/>
<input name="bankName" id="bankName" class="easyui-textbox" style="width: 160px;"/>
</td>
<td>账号</td>
<td style="padding:1px">
<input name="accountNumber" id="accountNumber" class="easyui-validatebox"
style="width: 160px;height: 20px"/>
<input name="accountNumber" id="accountNumber" class="easyui-textbox" style="width: 160px;"/>
</td>
</tr>
<tr>
<td>地址</td>
<td style="padding:1px" colspan="3">
<input name="address" id="address" class="easyui-validatebox" style="width: 408px;height: 20px"/>
<input name="address" id="address" class="easyui-textbox" style="width: 408px;"/>
</td>
</tr>
<tr>
<td>备注</td>
<td style="padding:1px" colspan="3">
<textarea name="description" id="description" rows="2" cols="2" style="width: 408px;"></textarea>
<input name="description" id="description" class="easyui-textbox" data-options="multiline:true" style="width: 408px;height: 40px;"/>
</td>
</tr>
</table>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,16 +58,16 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width:150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width:150px;" readonly/>
</td>
<td style="width:80px;"></td>
<td style="padding:5px;width:170px;"></td>
@@ -83,7 +83,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,16 +58,16 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width:150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width:150px;" readonly/>
</td>
<td style="width:80px;"></td>
<td style="padding:5px;width:170px;"></td>
@@ -83,7 +83,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -6,19 +6,19 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/bill_detail.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/common/common.js"></script>
<script src="/js/pages/materials/bill_detail.js"></script>
</head>
<body>
<div id="bill" class="easyui-panel" style="padding:10px;height:500px;" title="单据明细" iconCls="icon-list"
<div id="bill" class="easyui-panel" style="padding:10px;height:550px;" title="单据明细" iconCls="icon-list"
collapsible="true" closable="false">
<!--零售出库-->
<div class="retail_out" style="width:1100px;padding:10px 20px;top:50px"

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -26,21 +26,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -57,16 +57,16 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:70px;">单据编号</td>
<td style="width:70px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width:150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width:150px;" readonly/>
</td>
<td style="width:80px;"></td>
<td style="padding:5px;width:170px;"></td>
@@ -82,7 +82,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -7,12 +7,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/material.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
@@ -25,20 +25,20 @@
<tr>
<td>类别:</td>
<td>
<input name="searchParentName" id="searchParentName" style="width: 100px;" readonly="readonly"/>
<input name="searchParentName" id="searchParentName" class="easyui-textbox" style="width: 100px;" readonly="readonly"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" style="height: 25px;" id="lookForSelectMaterialCategory">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height: 20px"></span></span></a>
<input name="searchParentId" id="searchParentId" type="hidden"/>
</td>
<td>&nbsp;</td>
<td>品名:</td>
<td>
<input name="searchName" id="searchName" style="width:80px;"/>
<input name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>型号:</td>
<td>
<input name="searchModel" id="searchModel" style="width:80px;"/>
<input name="searchModel" id="searchModel" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -55,7 +55,7 @@
<table id="materialTableData" style="top:50px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="materialDlg" class="easyui-dialog" style="width:860px;height:420px;padding:10px 20px"
<div id="materialDlg" class="easyui-dialog" style="width:860px;height:440px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="materialFM" method="post" novalidate>
<div id="tt" class="easyui-tabs" style="width:800px;height:320px;">
@@ -64,24 +64,24 @@
<tr>
<td style="width:60px; height:30px;">品名</td>
<td style="padding:5px;width:180px;">
<input name="Name" id="Name" class="easyui-validatebox"
<input name="Name" id="Name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'"
style="width: 180px;height: 20px"/>
style="width: 180px;"/>
</td>
<td style="width:80px;">型号</td>
<td style="padding:5px;width:180px;">
<input name="Model" id="Model" class="easyui-validatebox"
<input name="Model" id="Model" class="easyui-textbox"
data-options="required:true,validType:'length[1,30]'"
style="width: 180px;height: 20px"/>
style="width: 180px;"/>
</td>
<td style="width:200px;"></td>
</tr>
<tr>
<td style="height:30px;">类别</td>
<td style="padding:5px" colspan="3">
<input name="parentName" id="parentName" style="width: 180px;height: 20px" readonly="readonly"/>
<input name="parentName" id="parentName" class="easyui-textbox" style="width: 180px;" readonly="readonly"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForMaterialCategory">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height: 20px;"></span></span></a>
<input name="parentid" id="parentid" type="hidden"/>
</td>
<td></td>
@@ -89,7 +89,8 @@
<tr>
<td style="width:80px;">序列号</td>
<td style="padding:5px;width:180px;">
<select name="EnableSerialNumber" id="EnableSerialNumber" style="width: 180px;height: 20px">
<select name="EnableSerialNumber" id="EnableSerialNumber"
style="width:180px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;">
<option value="1">有</option>
<option value="0">无</option>
</select>
@@ -99,7 +100,7 @@
<tr>
<td style="height:30px;">备注</td>
<td style="padding:5px" colspan="3">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" class="easyui-textbox" data-options="multiline:true" placeholder="暂无备注信息"
style="width: 468px; height:40px;"></textarea>
</td>
<td></td>
@@ -111,28 +112,28 @@
<tr>
<td style="height:30px;">安全存量</td>
<td style="padding:5px">
<input name="SafetyStock" id="SafetyStock" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 180px;height: 20px"/>
<input name="SafetyStock" id="SafetyStock" class="easyui-textbox"
data-options="validType:'length[1,30]'" style="width: 180px;"/>
</td>
<td>单位</td>
<td style="padding:5px">
<input name="Unit" id="Unit" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 180px;height: 20px; "/>
<input name="Unit" id="Unit"
data-options="validType:'length[1,30]'" style="width: 180px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"/>
<select name="manyUnit" id="manyUnit"
style="width:180px;height: 20px;display: none"></select>
style="width:180px;display: none;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>
<td style="text-align: left;">
<input id="manyUnitCheck" type="checkbox"/>多单位
</td>
</tr>
<tr class="first-select-unit">
<td style="height:30px;">首选销售单位</td>
<td style="padding:5px">
<select name="FirstOutUnit" id="FirstOutUnit" style="width:180px;height: 20px"></select>
<select name="FirstOutUnit" id="FirstOutUnit" style="width:180px; height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>首选采购单位</td>
<td style="padding:5px">
<select name="FirstInUnit" id="FirstInUnit" style="width:180px;height: 20px"></select>
<select name="FirstInUnit" id="FirstInUnit" style="width:180px; height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td></td>
</tr>
@@ -149,45 +150,45 @@
</tr>
<tr>
<td>基本单位</td>
<td style="border: 1px solid #aaa;"><span id="basicUnit"></span></td>
<td><input id="basicRetailPrice"/></td>
<td><input id="basicLowPrice"/></td>
<td><input id="basicPresetPriceOne"/></td>
<td><input id="basicPresetPriceTwo"/></td>
<td style="border: 1px solid #95B8E7;border-radius:5px;"><span id="basicUnit"></span></td>
<td><input id="basicRetailPrice" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
<td><input id="basicLowPrice" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
<td><input id="basicPresetPriceOne" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
<td><input id="basicPresetPriceTwo" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
</tr>
<tr>
<td>副单位</td>
<td style="border: 1px solid #aaa;"><span id="otherUnit"></span></td>
<td><input id="otherRetailPrice"/></td>
<td><input id="otherLowPrice"/></td>
<td><input id="otherPresetPriceOne"/></td>
<td><input id="otherPresetPriceTwo"/></td>
<td style="border: 1px solid #95B8E7;border-radius:5px;"><span id="otherUnit"></span></td>
<td><input id="otherRetailPrice" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
<td><input id="otherLowPrice" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
<td><input id="otherPresetPriceOne" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
<td><input id="otherPresetPriceTwo" style="height:30px;border: 1px solid #95B8E7;border-radius:5px;"/></td>
</tr>
</table>
</td>
</tr>
<tr class="price-one">
<td style="height:30px;">零售价</td>
<td style="padding:5px"><input name="RetailPrice" id="RetailPrice" class="easyui-validatebox"
<td style="padding:5px"><input name="RetailPrice" id="RetailPrice" class="easyui-textbox"
data-options="validType:'length[1,30]'"
style="width: 180px;height: 20px"/></td>
style="width: 180px;"/></td>
<td>最低售价</td>
<td style="padding:5px"><input name="LowPrice" id="LowPrice" class="easyui-validatebox"
<td style="padding:5px"><input name="LowPrice" id="LowPrice" class="easyui-textbox"
data-options="validType:'length[1,30]'"
style="width: 180px;height: 20px"/></td>
style="width: 180px;"/></td>
<td></td>
</tr>
<tr class="price-two">
<td style="height:30px;">预计采购价</td>
<td style="padding:5px"><input name="PresetPriceOne" id="PresetPriceOne"
class="easyui-validatebox"
class="easyui-textbox"
data-options="validType:'length[1,30]'"
style="width: 180px;height: 20px"/></td>
style="width: 180px;"/></td>
<td>销售价</td>
<td style="padding:5px"><input name="PresetPriceTwo" id="PresetPriceTwo"
class="easyui-validatebox"
class="easyui-textbox"
data-options="validType:'length[1,30]'"
style="width: 180px;height: 20px"/></td>
style="width: 180px;"/></td>
<td></td>
</tr>
</table>
@@ -197,43 +198,44 @@
<tr class="tr-color">
<td style="width:60px; height:30px;">颜色</td>
<td style="padding:5px">
<input name="Color" id="Color" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 250px;height: 20px"/>
<input name="Color" id="Color"
data-options="validType:'length[1,30]'" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px"/>
</td>
</tr>
<tr class="tr-standard">
<td>规格</td>
<td style="padding:5px">
<input name="Standard" id="Standard" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 250px;height: 20px"/>
<input name="Standard" id="Standard"
data-options="validType:'length[1,30]'" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px"/>
</td>
</tr>
<tr class="tr-mfrs">
<td>制造商</td>
<td style="padding:5px">
<input name="Mfrs" id="Mfrs" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 250px;height: 20px"/>
<input name="Mfrs" id="Mfrs"
data-options="validType:'length[1,30]'" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px"/>
</td>
</tr>
<tr class="tr-otherField1">
<td>自定义1</td>
<td style="padding:5px">
<input name="OtherField1" id="OtherField1" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 250px;height: 20px"/>
<input name="OtherField1" id="OtherField1"
data-options="validType:'length[1,30]'" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px"/>
</td>
</tr>
<tr class="tr-otherField2">
<td>自定义2</td>
<td style="padding:5px">
<input name="OtherField2" id="OtherField2" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 250px;height: 20px"/>
<input name="OtherField2" id="OtherField2"
data-options="validType:'length[1,30]'" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px"/>
</td>
</tr>
<tr class="tr-otherField3">
<td>自定义3</td>
<td style="padding:5px">
<input name="OtherField3" id="OtherField3" class="easyui-validatebox"
data-options="validType:'length[1,30]'" style="width: 250px;height: 20px"/>
<input name="OtherField3" id="OtherField3"
data-options="validType:'length[1,30]'"
style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px"/>
</td>
</tr>
</table>
@@ -518,12 +520,12 @@
{
title: '操作', field: 'op', align: "center", width: 60, formatter: function (value, rec, index) {
var str = '';
str += '<img title="编辑" src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editMaterial(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteMaterial(' + rec.id + ');"/>';
str += '<img title="编辑" src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editMaterial(\'' + index + '\');"/>&nbsp;&nbsp;&nbsp;';
str += '<img title="删除" src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteMaterial(' + rec.id + ');"/>';
return str;
}
},
{title: '品名', field: 'name', width: 100},
{title: '品名', field: 'name', width: 120},
{title: '型号', field: 'model', width: 80},
{title: '类别', field: 'categoryName', width: 80},
{title: '扩展信息', field: 'materialOther', width: 150},
@@ -764,7 +766,7 @@
}
function findStockList(mId) {
$('#materialDetailListDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;查看出入库明细');
$('#materialDetailListDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;查看出入库明细');
$(".window-mask").css({width: webW, height: webH});
initMaterialDetailData(mId);
getMaterialInOutList(mId, 1, initPageSize);
@@ -1109,7 +1111,7 @@
bindMProperty(); //根据商品属性绑定
// $("#EnableSerialNumber").combobox('setValue','0');
$("#EnableSerialNumber").val('0');
$('#materialDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加商品信息');
$('#materialDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加商品信息');
$(".window-mask").css({width: webW, height: webH});
$("#Name").val("").focus();
$("#manyUnitCheck").prop("checked", false);
@@ -1300,18 +1302,17 @@
function editMaterial(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
bindMProperty(); //根据商品属性绑定
$("#Name").focus().val(rowsdata.name);
$("#Color").focus().val(rowsdata.color);
$("#Name").focus().textbox("setValue", rowsdata.name);
$("#EnableSerialNumber").val(rowsdata.enableserialnumber=='1'?'1':'0');
//商品类别id
$("#parentid").val(rowsdata.categoryid);
//商品类别名称
$("#parentName").val(rowsdata.categoryName);
$("#parentName").textbox("setValue", rowsdata.categoryName);
mId = rowsdata.categoryid;
mName = rowsdata.categoryName;
$("#Packing").focus().val(rowsdata.packing);
$("#SafetyStock").focus().val(rowsdata.safetystock);
$("#Model").val(rowsdata.model);
$("#Packing").textbox("setValue", rowsdata.packing);
$("#SafetyStock").textbox("setValue", rowsdata.safetystock);
$("#Model").textbox("setValue", rowsdata.model);
$("#Standard").val(rowsdata.standard);
$("#Color").val(rowsdata.color);
$("#Mfrs").val(rowsdata.mfrs);
@@ -1319,11 +1320,11 @@
$("#OtherField2").val(rowsdata.otherfield2);
$("#OtherField3").val(rowsdata.otherfield3);
$("#Unit").val(rowsdata.unit);
$("#RetailPrice").val(rowsdata.retailprice);
$("#LowPrice").val(rowsdata.lowprice);
$("#PresetPriceOne").val(rowsdata.presetpriceone);
$("#PresetPriceTwo").val(rowsdata.presetpricetwo);
$("#Remark").val(rowsdata.remark);
$("#RetailPrice").textbox("setValue", rowsdata.retailprice);
$("#LowPrice").textbox("setValue", rowsdata.lowprice);
$("#PresetPriceOne").textbox("setValue", rowsdata.presetpriceone);
$("#PresetPriceTwo").textbox("setValue", rowsdata.presetpricetwo);
$("#Remark").textbox("setValue", rowsdata.remark);
$("#manyUnit").val(rowsdata.unitid);
if (rowsdata.unitid) {
$("#manyUnitCheck").prop("checked", true);
@@ -1401,7 +1402,7 @@
oldOtherField3 = rowsdata.otherfield3;
oldUnit = rowsdata.unit;
oldManyUnit = rowsdata.unitid;
$('#materialDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑商品信息');
$('#materialDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑商品信息');
$(".window-mask").css({width: webW, height: webH});
materialID = rowsdata.id;
//焦点在名称输入框==定焦在输入文字后面
@@ -1424,7 +1425,7 @@
json.depotList = res.data;
$.ajax({
type: "get",
url: "../../../pages/template/init_depot_list.html?616",
url: "../../../pages/template/init_depot_list.html?61",
async: false,
success: function (tem) {
if (tem) {
@@ -1490,10 +1491,10 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click: function () {
$("#searchParentName").val("");
$("#searchParentName").textbox("clear");
$("#searchParentId").val("");
$("#searchName").val("");
$("#searchModel").val("");
$("#searchName").textbox("clear");
$("#searchModel").textbox("clear");
types = ""; //清空类别
//加载完以后重新初始化
$("#searchBtn").click();

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -21,7 +21,7 @@
<tr>
<td>名称:</td>
<td>
<input name="searchNativeName" id="searchNativeName" style="width:120px;"/>
<input name="searchNativeName" id="searchNativeName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -52,15 +52,15 @@
<tr>
<td>排序</td>
<td style="padding:5px">
<input name="sort" id="sort" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
<input name="sort" id="sort" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>别名</td>
<td style="padding:5px">
<input name="anotherName" id="anotherName" class="easyui-validatebox"
data-options="validType:'length[2,30]'" style="width: 230px;height: 20px"/>
<input name="anotherName" id="anotherName" class="easyui-textbox"
data-options="validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
</table>
@@ -124,10 +124,9 @@
{title: '排序', field: 'sort', width: 100},
{title: '别名', field: 'anothername', width: 100},
{
title: '操作', field: 'op', align: "center", width: 80, formatter: function (value, rec) {
title: '操作', field: 'op', align: "center", width: 80, formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.nativename + 'AaBb' + rec.enabled + 'AaBb' + rec.sort + 'AaBb' + rec.anothername;
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editMaterialProperty(\'' + rowInfo + '\');"/>&nbsp;<a onclick="editMaterialProperty(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editMaterialProperty(\'' + index + '\');"/>&nbsp;<a onclick="editMaterialProperty(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
return str;
}
}
@@ -211,19 +210,16 @@
});
//编辑信息
function editMaterialProperty(totalInfo) {
var materialPropertyInfo = totalInfo.split("AaBb");
$("#nativeName").text(materialPropertyInfo[1]);
$("#enabled").attr("checked", materialPropertyInfo[2] == 'true' ? true : false);
$("#sort").val(materialPropertyInfo[3]);
$("#anotherName").val(materialPropertyInfo[4]);
$('#materialPropertyDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑商品属性');
function editMaterialProperty(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
$("#nativeName").text(rowsdata.nativename);
$("#enabled").attr("checked", rowsdata.enabled == true ? true : false);
$("#sort").textbox("setValue", rowsdata.sort);
$("#anotherName").textbox("setValue", rowsdata.anothername);
$('#materialPropertyDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑商品属性');
$(".window-mask").css({width: webW, height: webH});
//焦点在名称输入框==定焦在输入文字后面
$("#nativeName").val("").focus().val(materialPropertyInfo[1]);
url = '/materialProperty/update?id=' + materialPropertyInfo[0];
url = '/materialProperty/update?id=' + rowsdata.id;
}
//搜索处理
@@ -270,7 +266,7 @@
//重置按钮
$("#searchResetBtn").off().on("click", function () {
$("#searchNativeName").val("");
$("#searchNativeName").textbox("clear");
//加载完以后重新初始化
$("#searchBtn").click();
});

View File

@@ -7,12 +7,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/material.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -103,10 +103,10 @@
if(selectType=="lookForSelectMaterial"){
//单个添加序列号时选择
$("#materialId").val(rowData.id);
$("#materialName").val(rowData.name);
$("#materialName").textbox("setValue",rowData.name);
}else if(selectType=="batLookForSelectMaterial"){
//批量添加序列号时选择
$("#batAddMaterialName").val(rowData.name);
$("#batAddMaterialName").textbox("setValue",rowData.name);
}
//关闭掉dialog

View File

@@ -10,11 +10,11 @@
<meta http-equiv="Expires" content="-1">
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -31,36 +31,36 @@
<tr>
<td>上级目录</td>
<td style="padding:5px">
<input name="parentName" id="parentName" style="width: 200px;height: 20px" readonly="readonly"/>
<input name="parentName" id="parentName" class="easyui-textbox" style="width: 200px;" readonly="readonly"/>
<a href="javascript:void(0)" class="l-btn l-btn-plain" group="" id="lookForSelectMaterialCategory">
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left"></span></span></a>
<span class="l-btn-left"><span class="l-btn-text icon-search l-btn-icon-left" style="height: 20px;"></span></span></a>
<input name="parentid" id="parentid" type="hidden"/>
</td>
</tr>
<tr>
<td>名称</td>
<td style="padding:5px">
<input name="Name" id="Name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 200px;height: 20px"/>
<input name="Name" id="Name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 200px;"/>
<input name="id" id="id" type="hidden"/>
</td>
</tr>
<tr>
<td>编号</td>
<td style="padding:5px">
<input name="serialNo" id="serialNo" style="width: 200px;height: 20px"/>
<input name="serialNo" id="serialNo" class="easyui-textbox" style="width: 200px;"/>
</td>
</tr>
<tr>
<td>序号</td>
<td style="padding:5px">
<input name="sort" id="sort" style="width: 200px;height: 20px"/>
<input name="sort" id="sort" class="easyui-textbox" style="width: 200px;"/>
</td>
</tr>
<tr>
<td>备注</td>
<td style="padding:5px">
<textarea name="remark" id="remark" placeholder="暂无备注信息"
<textarea name="remark" id="remark" class="easyui-textbox" data-options="multiline:true" placeholder="暂无备注信息"
style="width: 200px; height:40px;"></textarea>
</td>
</tr>
@@ -121,15 +121,8 @@
function addMaterialCategory() {
$('#materialCategoryFM').form('clear');
$('#materialCategoryDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加商品类别信息');
$('#materialCategoryDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加商品类别信息');
$(".window-mask").css({width: webW, height: webH});
$("#Name").val("").focus();
$("#parentName").val("");
$("#parentid").val("");
$("#serialNo").val("");
$("#sort").val("");
$("#remark").val("");
$("#id").val("");
url = '/materialCategory/addMaterialCategory';
}
function editMaterialCategory(node) {
@@ -148,14 +141,14 @@
return;
}
$('#materialCategoryFM').form('clear');
$('#materialCategoryDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;修改商品类别信息');
$('#materialCategoryDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;修改商品类别信息');
$(".window-mask").css({width: webW, height: webH});
$("#Name").val(res.data.name).focus();
$("#parentName").val(res.data.parentName);
$("#Name").textbox("setValue", res.data.name).focus();
$("#parentName").textbox("setValue", res.data.parentName);
$("#parentid").val(res.data.parentId);
$("#serialNo").val(res.data.serialNo);
$("#sort").val(res.data.sort);
$("#remark").val(res.data.remark);
$("#serialNo").textbox("setValue", res.data.serialNo);
$("#sort").textbox("setValue", res.data.sort);
$("#remark").textbox("setValue", res.data.remark);
$("#id").val(res.data.id);
url = '/materialCategory/editMaterialCategory';
}

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -48,17 +48,17 @@
console.log(node);
if(clickType) {
if(clickType == "selectBtn") {
$("#searchParentName").val(node.text);
$("#searchParentName").textbox("setValue", node.text);
$("#searchParentId").val(node.id);
types = "";
initMCData(node.id);
} else if(clickType == "editBtn") {
$("#parentName").val(node.text);
$("#parentName").textbox("setValue", node.text);
$("#parentid").val(node.id);
}
}
else {
$("#parentName").val(node.text);
$("#parentName").textbox("setValue", node.text);
$("#parentid").val(node.id);
}
$('#forSelectMaterialCategoryDlg').dialog('close');

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,26 +58,26 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">供应商</td>
<td style="width:70px;">供应商</td>
<td style="padding:5px;width:170px;">
<div class="org-list">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</div>
<div class="add-org-btn">
<img id="addOrgan" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addOrgan" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加供应商" title="增加供应商"/>
</div>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px">
@@ -92,7 +92,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,20 +58,20 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">客户</td>
<td style="width:70px;">客户</td>
<td style="padding:5px;width:170px;">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px">
@@ -86,7 +86,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>
@@ -21,11 +21,13 @@
<tr>
<td>姓名:</td>
<td>
<input name="searchName" id="searchName" style="width:70px;"/>
<input name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>类型:</td>
<td>
<select name="searchType" id="searchType" style="width:70px;">
<select name="searchType" id="searchType" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:100px;">
<option value="">全部</option>
<option value="业务员">业务员</option>
<option value="仓管员">仓管员</option>
@@ -33,8 +35,6 @@
</select>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>&nbsp;&nbsp;
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="searchResetBtn">重置</a>
@@ -51,15 +51,15 @@
<tr>
<td>姓名</td>
<td style="padding:5px">
<input name="Name" id="Name" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;height: 20px"/>
<input name="Name" id="Name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
<tr>
<td>类型</td>
<td style="padding:5px">
<select name="Type" id="Type" style="width:230px;">
<option value="">请选择</option>
<select name="Type" id="Type" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:230px;">
<option value="业务员">业务员</option>
<option value="仓管员">仓管员</option>
<option value="财务员">财务员</option>
@@ -121,11 +121,10 @@
{title: '姓名', field: 'name', width: 180},
{title: '类型', field: 'type', width: 180},
{
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec) {
title: '操作', field: 'op', align: "center", width: 130, formatter: function (value, rec, index) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.name + 'AaBb' + rec.type;
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editPerson(\'' + rowInfo + '\');"/>&nbsp;<a onclick="editPerson(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deletePerson(' + rec.id + ');"/>&nbsp;<a onclick="deletePerson(' + rec.id + ');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editPerson(\'' + index + '\');"/>&nbsp;<a onclick="editPerson(\'' + index + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deletePerson(' + rec.id + ');"/>&nbsp;<a onclick="deletePerson(' + rec.id + ');" style="text-decoration:none;color:black;" href="javascript:void(0)">删除</a>&nbsp;&nbsp;';
return str;
}
}
@@ -138,7 +137,7 @@
handler: function () {
addPerson();
}
},
},'-',
{
id: 'deletePerson',
text: '删除',
@@ -333,7 +332,7 @@
return;
}
$('#personFM').form('clear');
$('#personDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/>&nbsp;增加经手人信息');
$('#personDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/>&nbsp;增加经手人信息');
$(".window-mask").css({width: webW, height: webH});
$("#name").val("").focus();
@@ -373,19 +372,14 @@
});
//编辑信息
function editPerson(personTotalInfo) {
var personInfo = personTotalInfo.split("AaBb");
$("#Name").val(personInfo[1]);
$("#Type").val(personInfo[2]);
//oldPerson = personInfo[1];
$('#personDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;编辑经手人信息');
function editPerson(index) {
var rowsdata = $("#tableData").datagrid("getRows")[index];
$("#Name").textbox("setValue", rowsdata.name);
$("#Type").combobox("setValue", rowsdata.type);
$('#personDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;编辑经手人信息');
$(".window-mask").css({width: webW, height: webH});
personID = personInfo[0];
//焦点在名称输入框==定焦在输入文字后面
$("#Name").val("").focus().val(personInfo[1]);
url = '/person/update?id=' + personInfo[0];
personID = rowsdata.id;
url = '/person/update?id=' + rowsdata.id;
}
//搜索处理

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,20 +58,20 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">供应商</td>
<td style="width:70px;">供应商</td>
<td style="padding:5px;width:170px;">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px">
@@ -86,45 +86,45 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>优惠率</td>
<td>优惠率</td>
<td style="padding:5px">
<input id="Discount" name="Discount" style="width:110px;"/>
<input id="Discount" name="Discount" class="radius-ui" style="width:110px;"/>
%
</td>
<td>退款优惠</td>
<td>退款优惠</td>
<td style="padding:5px">
<input id="DiscountMoney" name="DiscountMoney" style="width:120px;"/>
<input id="DiscountMoney" name="DiscountMoney" class="radius-ui" style="width:120px;"/>
</td>
<td>优惠后金额</td>
<td>优惠后金额</td>
<td style="padding:5px">
<input id="DiscountLastMoney" name="DiscountLastMoney" readonly="readonly" style="width:120px;"/>
<input id="DiscountLastMoney" name="DiscountLastMoney" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>本次退款</td>
<td>本次退款</td>
<td style="padding:5px">
<input id="ChangeAmount" name="ChangeAmount" data-changeamount="0" style="width:120px;"/>
<input id="ChangeAmount" name="ChangeAmount" class="radius-ui" data-changeamount="0" style="width:120px;"/>
</td>
<td style="width:100px;"></td>
</tr>
<tr>
<td>结算账户</td>
<td>结算账户</td>
<td style="padding:5px">
<select name="AccountId" id="AccountId" style="width:110px;"></select>
<img class="many-account-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"
<select name="AccountId" id="AccountId" class="radius-ui" style="width:110px;"></select>
<img class="many-account-ico" src="/js/easyui/themes/icons/filelist.jpg"
style="display: none;"/>
</td>
<td>本次欠款</td>
<td>本次欠款</td>
<td style="padding:5px">
<input id="Debt" name="Debt" readonly="readonly" style="width:120px;"/>
<input id="Debt" name="Debt" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>采购费用</td>
<td>采购费用</td>
<td style="padding:5px">
<input id="OtherMoney" name="OtherMoney" style="width:120px;" readonly="readonly"/>
<img class="other-money-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"/>
<input id="OtherMoney" name="OtherMoney" class="radius-ui" style="width:120px;" readonly="readonly"/>
<img class="other-money-ico" src="/js/easyui/themes/icons/filelist.jpg"/>
</td>
<td></td>
<td style="padding:5px">

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,30 +58,30 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">供应商</td>
<td style="width:70px;">供应商</td>
<td style="padding:5px;width:170px;">
<div class="org-list">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</div>
<div class="add-org-btn">
<img id="addOrgan" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addOrgan" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加供应商" title="增加供应商"/>
</div>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;">关联订单</td>
<td style="width:70px;">关联订单</td>
<td style="padding:5px">
<input name="LinkNumber" id="LinkNumber" class="easyui-validatebox" style="width: 150px;" readonly/>
<input name="LinkNumber" id="LinkNumber" class="easyui-validatebox radius-ui" style="width: 150px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -98,48 +98,48 @@
</td>
</tr>
<tr>
<td>优惠率</td>
<td>优惠率</td>
<td style="padding:5px">
<input id="Discount" name="Discount" style="width:110px;"/>
<input id="Discount" name="Discount" class="radius-ui" style="width:110px;"/>
%
</td>
<td>付款优惠</td>
<td>付款优惠</td>
<td style="padding:5px">
<input id="DiscountMoney" name="DiscountMoney" style="width:120px;"/>
<input id="DiscountMoney" name="DiscountMoney" class="radius-ui" style="width:120px;"/>
</td>
<td>优惠后金额</td>
<td>优惠后金额</td>
<td style="padding:5px">
<input id="DiscountLastMoney" name="DiscountLastMoney" readonly="readonly" style="width:120px;"/>
<input id="DiscountLastMoney" name="DiscountLastMoney" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>本次付款</td>
<td>本次付款</td>
<td style="padding:5px">
<input id="ChangeAmount" name="ChangeAmount" data-changeamount="0" style="width:120px;"/>
<input id="ChangeAmount" name="ChangeAmount" class="radius-ui" data-changeamount="0" style="width:120px;"/>
</td>
<td style="width:100px;"></td>
</tr>
<tr>
<td>结算账户</td>
<td>结算账户</td>
<td style="padding:5px">
<div class="account-list">
<select name="AccountId" id="AccountId" style="width:110px;"></select>
<select name="AccountId" id="AccountId" class="radius-ui" style="width:110px;"></select>
</div>
<div class="add-account-btn">
<img id="addAccount" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addAccount" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加结算账户" title="增加结算账户"/>
</div>
<img class="many-account-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"
<img class="many-account-ico" src="/js/easyui/themes/icons/filelist.jpg"
style="display: none;"/>
</td>
<td>本次欠款</td>
<td>本次欠款</td>
<td style="padding:5px">
<input id="Debt" name="Debt" readonly="readonly" style="width:120px;"/>
<input id="Debt" name="Debt" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>采购费用</td>
<td>采购费用</td>
<td style="padding:5px">
<div class="other-money-list">
<input id="OtherMoney" name="OtherMoney" style="width:120px;" readonly="readonly"/>
<input id="OtherMoney" name="OtherMoney" class="radius-ui" style="width:120px;" readonly="readonly"/>
</div>
<img class="other-money-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"/>
<img class="other-money-ico" src="/js/easyui/themes/icons/filelist.jpg"/>
</td>
<td></td>
<td style="padding:5px">

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,26 +58,26 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">供应商</td>
<td style="width:70px;">供应商</td>
<td style="padding:5px;width:170px;">
<div class="org-list">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</div>
<div class="add-org-btn">
<img id="addOrgan" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addOrgan" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加供应商" title="增加供应商"/>
</div>
</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<td style="width:70px;">单据日期</td>
<td style="padding:5px;width:170px;">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px">
@@ -92,7 +92,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,20 +58,20 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;height:50px;">会员卡号</td>
<td style="width:70px;height:50px;">会员卡号</td>
<td style="padding:5px;width:200px;">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width: 140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px;width:150px;"></td>
@@ -112,10 +112,10 @@
</td>
</tr>
<tr>
<td>付款账户</td>
<td>付款账户</td>
<td>
<select name="AccountId" id="AccountId" style="width:110px;"></select>
<img class="many-account-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"
<select name="AccountId" id="AccountId" class="radius-ui" style="width:110px;"></select>
<img class="many-account-ico" src="/js/easyui/themes/icons/filelist.jpg"
style="display: none;"/>
</td>
</tr>
@@ -124,7 +124,7 @@
</tr>
<tr>
<td colspan="8">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
@@ -141,7 +141,7 @@
closed="true" buttons="#dlg-buttons-show" modal="true" cache="false" collapsible="false" closable="true">
<table>
<tr>
<td style="width:60px;height:50px;">会员卡号:</td>
<td style="width:70px;height:50px;">会员卡号:</td>
<td style="padding:5px;width:200px;">
<span id="OrganIdShow"></span>
</td>
@@ -153,7 +153,7 @@
<td style="padding:5px;width:200px;">
<span id="NumberShow"></span>
</td>
<td style="width:70px;"></td>
<td style="width:80px;"></td>
<td style="padding:5px;width:150px;">
</td>
</tr>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,30 +58,30 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;height:50px;">会员卡号</td>
<td style="width:70px;height:50px;">会员卡号</td>
<td style="padding:5px;width:200px;">
<div class="org-list">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</div>
<div class="add-org-btn">
<img id="addMember" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addMember" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加会员" title="增加会员"/>
</div>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width: 140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;">付款类型</td>
<td style="width:70px;">付款类型</td>
<td style="padding:5px;width:150px;">
<select name="payType" id="payType" style="width:145px;">
<select name="payType" id="payType" class="radius-ui" style="width:145px;">
<option value="现付">现付</option>
</select>
</td>
@@ -122,10 +122,10 @@
</td>
</tr>
<tr>
<td>收款账户</td>
<td>收款账户</td>
<td>
<select name="AccountId" id="AccountId" style="width:110px;"></select>
<img class="many-account-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"
<select name="AccountId" id="AccountId" class="radius-ui" style="width:110px;"></select>
<img class="many-account-ico" src="/js/easyui/themes/icons/filelist.jpg"
style="display: none;"/>
</td>
</tr>
@@ -134,7 +134,7 @@
</tr>
<tr>
<td colspan="8">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
@@ -151,7 +151,7 @@
closed="true" buttons="#dlg-buttons-show" modal="true" cache="false" collapsible="false" closable="true">
<table>
<tr>
<td style="width:60px;height:50px;">会员卡号:</td>
<td style="width:70px;height:50px;">会员卡号:</td>
<td style="padding:5px;width:200px;">
<span id="OrganIdShow"></span>
</td>
@@ -163,7 +163,7 @@
<td style="padding:5px;width:200px;">
<span id="NumberShow"></span>
</td>
<td style="width:70px;">付款类型:</td>
<td style="width:80px;">付款类型:</td>
<td style="padding:5px;width:150px;">
<span id="payTypeShow"></span>
</td>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,20 +58,20 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td>客户</td>
<td>客户</td>
<td style="padding:5px">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</td>
<td>单据日期</td>
<td>单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td>单据编号</td>
<td>单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;"></td>
<td style="padding:5px"></td>
@@ -85,49 +85,49 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>优惠率</td>
<td>优惠率</td>
<td style="padding:5px">
<input id="Discount" name="Discount" style="width:110px;"/>
<input id="Discount" name="Discount" class="radius-ui" style="width:110px;"/>
%
</td>
<td>退款优惠</td>
<td>退款优惠</td>
<td style="padding:5px">
<input id="DiscountMoney" name="DiscountMoney" style="width:120px;"/>
<input id="DiscountMoney" name="DiscountMoney" class="radius-ui" style="width:120px;"/>
</td>
<td>优惠后金额</td>
<td>优惠后金额</td>
<td style="padding:5px">
<input id="DiscountLastMoney" name="DiscountLastMoney" readonly="readonly" style="width:120px;"/>
<input id="DiscountLastMoney" name="DiscountLastMoney" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>本次退款</td>
<td>本次退款</td>
<td style="padding:5px">
<input id="ChangeAmount" name="ChangeAmount" data-changeamount="0" style="width:120px;"/>
<input id="ChangeAmount" name="ChangeAmount" class="radius-ui" data-changeamount="0" style="width:120px;"/>
</td>
<td style="width:100px;"></td>
</tr>
<tr>
<td>结算账户</td>
<td>结算账户</td>
<td style="padding:5px">
<select name="AccountId" id="AccountId" style="width:120px;"></select>
<img class="many-account-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"
<select name="AccountId" id="AccountId" class="radius-ui" style="width:120px;"></select>
<img class="many-account-ico" src="/js/easyui/themes/icons/filelist.jpg"
style="display: none;"/>
</td>
<td>本次欠款</td>
<td>本次欠款</td>
<td style="padding:5px">
<input id="Debt" name="Debt" readonly="readonly" style="width:120px;"/>
<input id="Debt" name="Debt" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>销售费用</td>
<td>销售费用</td>
<td style="padding:5px">
<input id="OtherMoney" name="OtherMoney" style="width:120px;" readonly="readonly"/>
<img class="other-money-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"/>
<input id="OtherMoney" name="OtherMoney" class="radius-ui" style="width:120px;" readonly="readonly"/>
<img class="other-money-ico" src="/js/easyui/themes/icons/filelist.jpg"/>
</td>
<td>销售人员</td>
<td>销售人员</td>
<td style="padding:5px">
<input id="Salesman" name="Salesman" style="width:130px;"/>
<input id="Salesman" name="Salesman" class="radius-ui" style="width:130px;"/>
</td>
<td style="width:100px;"></td>
</tr>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,30 +58,30 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">客户</td>
<td style="width:70px;">客户</td>
<td style="padding:5px">
<div class="org-list">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</div>
<div class="add-org-btn">
<img id="addCustomer" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addCustomer" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加客戶" title="增加客戶"/>
</div>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;">销售人员</td>
<td style="width:70px;">销售人员</td>
<td style="padding:5px">
<input id="Salesman" name="Salesman" style="width:130px;"/>
<input id="Salesman" name="Salesman" class="radius-ui" style="width:130px;"/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -93,7 +93,7 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>

View File

@@ -6,13 +6,13 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<link type="text/css" rel="stylesheet" href="/css/in_out.css"/>
<script src="/js/jquery-1.8.0.min.js"></script>
<script src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/easyui/jquery.easyui.min.js"></script>
<script src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script src="/js/handlebars.js"></script>
<script src="/js/My97DatePicker/WdatePicker.js"></script>
<script src="/js/common/common.js"></script>
@@ -27,21 +27,21 @@
<tr>
<td>单据编号:</td>
<td>
<input type="text" name="searchNumber" id="searchNumber" style="width:100px;"/>
<input type="text" name="searchNumber" id="searchNumber" class="easyui-textbox" style="width:100px;"/>
</td>
<td>商品信息:</td>
<td>
<input type="text" name="searchMaterial" id="searchMaterial" placeholder="名称型号" style="width:100px;"/>
<input type="text" name="searchMaterial" id="searchMaterial" class="easyui-textbox" placeholder="名称型号" style="width:100px;"/>
</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="txt Wdate" style="width:100px;"/>
class="easyui-datebox" style="width:120px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
class="txt Wdate" style="width:100px;"/>
<input type="text" name="searchEndTime" id="searchEndTime"
class="easyui-datebox" style="width:120px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -58,30 +58,30 @@
<form id="depotHeadFM" method="post" novalidate>
<table>
<tr>
<td style="width:70px;">客户</td>
<td style="width:70px;">客户</td>
<td style="padding:5px">
<div class="org-list">
<input id="OrganId" name="OrganId" style="width:130px;"/>
</div>
<div class="add-org-btn">
<img id="addCustomer" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addCustomer" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加客戶" title="增加客戶"/>
</div>
</td>
<td style="width:70px;">单据日期</td>
<td style="width:70px;">单据日期</td>
<td style="padding:5px">
<input type="text" name="OperTime" id="OperTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate radius-ui"
style="width:140px;" readonly/>
</td>
<td style="width:80px;">单据编号</td>
<td style="width:80px;">单据编号</td>
<td style="padding:5px">
<input name="Number" id="Number" class="easyui-validatebox"
data-options="required:true,validType:'length[2,30]'" style="width: 150px;" readonly/>
<input name="Number" id="Number" class="easyui-validatebox radius-ui"
data-options="validType:'length[2,30]'" style="width: 150px;" readonly/>
</td>
<td style="width:70px;">关联订单</td>
<td style="width:70px;">关联订单</td>
<td style="padding:5px">
<input name="LinkNumber" id="LinkNumber" class="easyui-validatebox" style="width: 150px;" readonly/>
<input name="LinkNumber" id="LinkNumber" class="easyui-validatebox radius-ui" style="width: 150px;" readonly/>
</td>
<td style="width:100px;"></td>
</tr>
@@ -93,55 +93,55 @@
</tr>
<tr>
<td colspan="9">
<textarea name="Remark" id="Remark" rows="2" cols="2" placeholder="暂无备注信息"
<textarea name="Remark" id="Remark" rows="2" cols="2" class="radius-ui" placeholder="暂无备注信息"
style="width: 1130px; height:35px;"></textarea>
</td>
</tr>
<tr>
<td>优惠率</td>
<td>优惠率</td>
<td style="padding:5px">
<input id="Discount" name="Discount" style="width:110px;"/>
<input id="Discount" name="Discount" class="radius-ui" style="width:110px;"/>
%
</td>
<td>收款优惠</td>
<td>收款优惠</td>
<td style="padding:5px">
<input id="DiscountMoney" name="DiscountMoney" style="width:120px;"/>
<input id="DiscountMoney" name="DiscountMoney" class="radius-ui" style="width:120px;"/>
</td>
<td>优惠后金额</td>
<td>优惠后金额</td>
<td style="padding:5px">
<input id="DiscountLastMoney" name="DiscountLastMoney" readonly="readonly" style="width:120px;"/>
<input id="DiscountLastMoney" name="DiscountLastMoney" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>本次收款</td>
<td>本次收款</td>
<td style="padding:5px">
<input id="ChangeAmount" name="ChangeAmount" data-changeamount="0" style="width:120px;"/>
<input id="ChangeAmount" name="ChangeAmount" class="radius-ui" data-changeamount="0" style="width:120px;"/>
</td>
<td style="width:100px;"></td>
</tr>
<tr>
<td>结算账户</td>
<td>结算账户</td>
<td style="padding:5px">
<div class="account-list">
<select name="AccountId" id="AccountId" style="width:110px;"></select>
<select name="AccountId" id="AccountId" class="radius-ui" style="width:110px;"></select>
</div>
<div class="add-account-btn">
<img id="addAccount" src="/js/easyui-1.3.5/themes/icons/edit_add.png"
<img id="addAccount" src="/js/easyui/themes/icons/edit_add.png"
style="cursor: pointer;" alt="增加结算账户" title="增加结算账户"/>
</div>
<img class="many-account-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"
<img class="many-account-ico" src="/js/easyui/themes/icons/filelist.jpg"
style="display: none;"/>
</td>
<td>本次欠款</td>
<td>本次欠款</td>
<td style="padding:5px">
<input id="Debt" name="Debt" readonly="readonly" style="width:120px;"/>
<input id="Debt" name="Debt" class="radius-ui" readonly="readonly" style="width:120px;"/>
</td>
<td>销售费用</td>
<td>销售费用</td>
<td style="padding:5px">
<input id="OtherMoney" name="OtherMoney" style="width:120px;" readonly="readonly"/>
<img class="other-money-ico" src="/js/easyui-1.3.5/themes/icons/filelist.jpg"/>
<input id="OtherMoney" name="OtherMoney" class="radius-ui" style="width:120px;" readonly="readonly"/>
<img class="other-money-ico" src="/js/easyui/themes/icons/filelist.jpg"/>
</td>
<td>销售人员</td>
<td>销售人员</td>
<td style="padding:5px">
<input id="Salesman" name="Salesman" style="width:130px;"/>
<input id="Salesman" name="Salesman" class="radius-ui" style="width:130px;"/>
</td>
<td style="width:100px;"></td>
</tr>

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
@@ -25,13 +25,13 @@
<tr>
<td>名称:</td>
<td>
<input type="text" name="searchName" id="searchName" style="width:70px;"/>
<input type="text" name="searchName" id="searchName" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>编号:</td>
<td>
<input type="text" name="searchSerialNo" id="searchSerialNo" style="width:70px;"/>
<input type="text" name="searchSerialNo" id="searchSerialNo" class="easyui-textbox" style="width:100px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -48,7 +48,7 @@
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="accountDetailListDlg" class="easyui-dialog" style="width:900px;height:500px;padding:10px 20px" closed="true"
<div id="accountDetailListDlg" class="easyui-dialog" style="width:900px;height:580px;padding:10px 20px" closed="true"
modal="true" collapsible="false" closable="true">
<table id="accountTableData" style="top:50px;border-bottom-color:#FFFFFF"></table>
</div>
@@ -96,7 +96,7 @@
title: '操作', field: 'op', width: 100, align: "center", formatter: function (value, rec) {
var str = '';
var rowInfo = rec.id + 'AaBb' + rec.name + 'AaBb' + rec.serialno + 'AaBb' + rec.initialamount + 'AaBb' + rec.currentamount;
str += '<img src="/js/easyui-1.3.5/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(\'' + rowInfo + '\');"/>&nbsp;<a onclick="showAccountInOutList(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>&nbsp;&nbsp;';
str += '<img src="/js/easyui/themes/icons/list.png" style="cursor: pointer;" onclick="showAccountInOutList(\'' + rowInfo + '\');"/>&nbsp;<a onclick="showAccountInOutList(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">流水</a>&nbsp;&nbsp;';
return str;
}
}
@@ -204,7 +204,7 @@
var info = accountInfo.split("AaBb");
var accountId = info[0];
var initialAmount = info[3];
$('#accountDetailListDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/>&nbsp;查看账户流水');
$('#accountDetailListDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/>&nbsp;查看账户流水');
$(".window-mask").css({width: webW, height: webH});
initAccountDetailData(accountId);
getAccountInOutList(accountId, initialAmount, 1, initPageSize);

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -24,10 +24,9 @@
<td>月份:</td>
<td>
<input type="text" name="searchMonth" id="searchMonth" onClick="WdatePicker({dateFmt:'yyyy-MM'})"
class="txt Wdate" style="width:180px;"/>
class="txt Wdate" style="width:180px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
&nbsp;&nbsp;

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
@@ -31,12 +31,12 @@
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -61,8 +61,8 @@
$(function () {
var thisDate = getNowFormatMonth(); //当前月份
var thisDateTime = getNowFormatDateTime(); //当前时间
$("#searchBeginTime").val(thisDate + "-01 00:00:00");
$("#searchEndTime").val(thisDateTime);
$("#searchBeginTime").textbox("setValue",thisDate + "-01 00:00:00");
$("#searchEndTime").textbox("setValue",thisDateTime);
initSupplier(); //初始化客户信息
initTableData();
ininPager();
@@ -111,7 +111,7 @@
{title: '单据金额', field: 'discountLastMoney', width: 80},
{title: '实际支付', field: 'changeAmount', width: 80},
{title: '本期变化', field: 'allPrice', width: 80},
{title: '单据日期', field: 'oTime', width: 140}
{title: '单据日期', field: 'oTime', width: 160}
]],
onLoadError: function () {
$.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
@@ -30,18 +30,18 @@
<td>&nbsp;</td>
<td>仓库:</td>
<td>
<select name="searchProjectId" id="searchProjectId" style="width:100px;"></select>
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -64,8 +64,8 @@
$(function () {
var thisDate = getNowFormatMonth(); //当前月份
var thisDateTime = getNowFormatDateTime(); //当前时间
$("#searchBeginTime").val(thisDate + "-01 00:00:00");
$("#searchEndTime").val(thisDateTime);
$("#searchBeginTime").textbox("setValue",thisDate + "-01 00:00:00");
$("#searchEndTime").textbox("setValue",thisDateTime);
var userBusinessList = null;
var userdepot = null;
initSupplier(); //初始化供应商信息
@@ -200,7 +200,7 @@
{title: '金额', field: 'allPrice', width: 60},
{title: '供应商', field: 'sname', width: 200},
{title: '仓库', field: 'dname', width: 120},
{title: '入库日期', field: 'operTime', width: 80},
{title: '入库日期', field: 'operTime', width: 120},
]],
onLoadError: function () {
$.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -28,18 +28,18 @@
<td>&nbsp;</td>
<td>仓库:</td>
<td>
<select name="searchProjectId" id="searchProjectId" style="width:100px;"></select>
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -62,8 +62,8 @@
$(function () {
var thisDate = getNowFormatMonth(); //当前月份
var thisDateTime = getNowFormatDateTime(); //当前时间
$("#searchBeginTime").val(thisDate + "-01 00:00:00");
$("#searchEndTime").val(thisDateTime);
$("#searchBeginTime").textbox("setValue",thisDate + "-01 00:00:00");
$("#searchEndTime").textbox("setValue",thisDateTime);
var userBusinessList = null;
var userdepot = null;
initSupplier(); //初始化供应商信息

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -23,13 +23,13 @@
<tr>
<td>仓库:</td>
<td>
<select name="searchProjectId" id="searchProjectId" style="width:80px;"></select>
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>
<td>月份:</td>
<td>
<input type="text" name="searchMonth" id="searchMonth" onClick="WdatePicker({dateFmt:'yyyy-MM'})"
class="txt Wdate" style="width:180px;"/>
class="txt Wdate" style="width:180px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"/>
</td>
<td>&nbsp;</td>
<td>

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
@@ -30,18 +30,18 @@
<td>&nbsp;</td>
<td>仓库:</td>
<td>
<select name="searchProjectId" id="searchProjectId" style="width:100px;"></select>
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -64,8 +64,8 @@
$(function () {
var thisDate = getNowFormatMonth(); //当前月份
var thisDateTime = getNowFormatDateTime(); //当前时间
$("#searchBeginTime").val(thisDate + "-01 00:00:00");
$("#searchEndTime").val(thisDateTime);
$("#searchBeginTime").textbox("setValue",thisDate + "-01 00:00:00");
$("#searchEndTime").textbox("setValue",thisDateTime);
var userBusinessList = null;
var userdepot = null;
initSupplier(); //初始化客户信息
@@ -200,7 +200,7 @@
{title: '金额', field: 'allPrice', width: 60},
{title: '客户', field: 'sname', width: 200},
{title: '仓库', field: 'dname', width: 120},
{title: '出库日期', field: 'operTime', width: 80}
{title: '出库日期', field: 'operTime', width: 120}
]],
onLoadError: function () {
$.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -28,18 +28,18 @@
<td>&nbsp;</td>
<td>仓库:</td>
<td>
<select name="searchProjectId" id="searchProjectId" style="width:100px;"></select>
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -62,8 +62,8 @@
$(function () {
var thisDate = getNowFormatMonth(); //当前月份
var thisDateTime = getNowFormatDateTime(); //当前时间
$("#searchBeginTime").val(thisDate + "-01 00:00:00");
$("#searchEndTime").val(thisDateTime);
$("#searchBeginTime").textbox("setValue",thisDate + "-01 00:00:00");
$("#searchEndTime").textbox("setValue",thisDateTime);
var userBusinessList = null;
var userdepot = null;
initSupplier(); //初始化客户信息

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -24,7 +24,7 @@
<td>月份:</td>
<td>
<input type="text" name="searchMonth" id="searchMonth" onClick="WdatePicker({dateFmt:'yyyy-MM'})"
class="txt Wdate" style="width:180px;"/>
class="txt Wdate" style="width:180px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"/>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -23,7 +23,7 @@
<tr>
<td>仓库:</td>
<td>
<select name="searchProjectId" id="searchProjectId" style="width:80px;"></select>
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>

View File

@@ -8,11 +8,11 @@
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
@@ -31,12 +31,12 @@
<td>单据日期:</td>
<td>
<input type="text" name="searchBeginTime" id="searchBeginTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>-</td>
<td>
<input type="text" name="searchEndTime" id="searchEndTime"
onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="txt Wdate" style="width:140px;"/>
class="easyui-datetimebox" style="width:165px;"/>
</td>
<td>&nbsp;</td>
<td>
@@ -60,8 +60,8 @@
$(function () {
var thisDate = getNowFormatMonth(); //当前月份
var thisDateTime = getNowFormatDateTime(); //当前时间
$("#searchBeginTime").val(thisDate + "-01 00:00:00");
$("#searchEndTime").val(thisDateTime);
$("#searchBeginTime").textbox("setValue",thisDate + "-01 00:00:00");
$("#searchEndTime").textbox("setValue",thisDateTime);
initSupplier(); //初始化供应商信息
initTableData();
ininPager();
@@ -110,7 +110,7 @@
{title: '单据金额', field: 'discountLastMoney', width: 80},
{title: '实际支付', field: 'changeAmount', width: 80},
{title: '本期变化', field: 'allPrice', width: 80},
{title: '单据日期', field: 'oTime', width: 140}
{title: '单据日期', field: 'oTime', width: 160}
]],
onLoadError: function () {
$.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');

View File

@@ -5,7 +5,7 @@
<tr>
<td style="width: 80px;height: 20px">名称</td>
<td style="width: 180px;padding:1px">
<input name="supplier" id="supplier" style="width: 160px;height: 20px"/>
<input name="supplier" id="supplier" style="width: 160px;"/>
</td>
<td style="width: 60px;height: 20px">联系人</td>
<td style="width:180px;padding:1px;">

View File

@@ -3,7 +3,7 @@
<tr>
<td style="width:100px;float:left;">{{name}}</td>
<td>
<input type="text" id="depot{{id}}" data-id="{{id}}" style="height: 20px;" value="{{stock}}"/>
<input type="text" id="depot{{id}}" data-id="{{id}}" class="depot" style="width: 250px;border: 1px solid #95B8E7;border-radius:5px;height: 30px" value="{{stock}}"/>
</td>
</tr>
{{/depotList}}

View File

@@ -6,11 +6,11 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>

View File

@@ -6,12 +6,12 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/css/user_help.css" />
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
<script src="/js/common/jsherp.js"></script>
</head>

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/outlook_in.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
@@ -180,7 +180,7 @@
success: function (res) {
if(res && res.code === 200){
if(res.data && res.data.info) {
$('#msgDlgShow').dialog('open').dialog('setTitle','<img src="/js/easyui-1.3.5/themes/icons/list.png"/>&nbsp;查看消息提醒');
$('#msgDlgShow').dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/list.png"/>&nbsp;查看消息提醒');
$("#msgTitleShow").text(res.data.info.msgTitle);
$("#msgContentShow").text(res.data.info.msgContent);
//更新消息为已读

View File

@@ -7,11 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="/js/common/common.js"></script>
</head>
<body>