解决库存状态统计的bug
This commit is contained in:
@@ -1385,7 +1385,6 @@
|
||||
$("#Debt").val(discountlastmoney-res.changeamount);
|
||||
$("#AccountDay").val(res.accountday); //结算天数
|
||||
preTotalPrice = res.totalprice; //记录前一次合计金额,用于扣预付款
|
||||
$("#AllocationProjectId").val(res.allocationprojectid);
|
||||
oldNumber = res.number; //记录编辑前的单据编号
|
||||
oldId = res.id; //记录单据Id
|
||||
var editTitle = listTitle.replace("列表","信息");
|
||||
@@ -1470,7 +1469,6 @@
|
||||
function showDepotHead(index){
|
||||
var res = $("#tableData").datagrid("getRows")[index];
|
||||
var manyAccountMoney = 0; //多账户合计-零售
|
||||
$("#ProjectIdShow").text(res.projectName);
|
||||
$("#NumberShow").text(res.number);
|
||||
$("#OperTimeShow").text(res.opertimeStr);
|
||||
$('#OrganIdShow').text(res.organName);
|
||||
@@ -1540,7 +1538,6 @@
|
||||
}
|
||||
$("#payTypeShow").text(res.paytype);
|
||||
var TotalPrice = res.totalprice;
|
||||
$("#AllocationProjectIdShow").text(res.allocationProjectName);
|
||||
var showTitle = listTitle.replace("列表","信息");
|
||||
$('#depotHeadDlgShow').show().dialog('open').dialog('setTitle','<img src="/js/easyui/themes/icons/list.png"/> 查看' + showTitle);
|
||||
$(".window-mask").css({ width: webW ,height: webH});
|
||||
@@ -1778,7 +1775,7 @@
|
||||
return;
|
||||
}
|
||||
}
|
||||
var OrganId = null, ProjectId = null,AllocationProjectId = null;
|
||||
var OrganId = null;
|
||||
var ChangeAmount = $.trim($("#ChangeAmount").val())-0;
|
||||
var TotalPrice = $("#depotHeadFM .datagrid-footer [field='AllPrice'] div").text();
|
||||
if($('#OrganId').length){
|
||||
@@ -1829,8 +1826,6 @@
|
||||
var infoStr=JSON.stringify({
|
||||
Type: listType,
|
||||
SubType: listSubType,
|
||||
ProjectId: ProjectId,
|
||||
AllocationProjectId: AllocationProjectId,
|
||||
DefaultNumber: $.trim($("#Number").attr("data-defaultNumber")),//初始编号
|
||||
Number: $.trim($("#Number").val()),
|
||||
LinkNumber: $.trim($("#LinkNumber").val()),
|
||||
|
||||
Reference in New Issue
Block a user