解决采购录入失败的bug
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$.get("../../pages/template/base.html?999", function(tem) {
|
||||
$.get("../../pages/template/base.html?789", function(tem) {
|
||||
if(tem) {
|
||||
var template = Handlebars.compile(tem);
|
||||
/**
|
||||
|
||||
@@ -2835,9 +2835,6 @@
|
||||
success: function(res) {
|
||||
if(res && res.code === 200) {
|
||||
$('#depotDlg').dialog('close');
|
||||
//加载完以后重新初始化
|
||||
var opts = $("#tableData").datagrid('options');
|
||||
showDepotDetails(opts.pageNumber, opts.pageSize);
|
||||
}
|
||||
},
|
||||
//此处添加错误处理
|
||||
|
||||
@@ -95,7 +95,7 @@
|
||||
{{/if}}
|
||||
|
||||
{{#if depotSelect}}
|
||||
<div id="depotDlg" style="width:380px;padding:10px 20px" buttons="#dlg-buttons">
|
||||
<div id="depotDlg" style="width:380px;padding:10px 20px" buttons="#depotDlgBtn">
|
||||
<form id="depotFM">
|
||||
<table>
|
||||
<tr>
|
||||
@@ -137,7 +137,7 @@
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div id="dlg-buttons">
|
||||
<div id="depotDlgBtn">
|
||||
<a href="javascript:void(0)" id="saveDepot">保存</a>
|
||||
<a href="javascript:void(0)" id="cancelDepot" onclick="javascript:$('#depotDlg').dialog('close')">取消</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user