com.ld.igds.inout.dto.InoutParam
所属分库
单据号
合同编码
合同名称
仓库
${dorado.getDataProvider("depotPR#getAllCache").getResult()}
id
name
开始时间
Date
截止时间
Date
//查询
query = function(){
var data = view.get("#dsQuery.data");
var tabIndex = view.get("#tabControl1").get("currentIndex");
if(0 == tabIndex){
view.get("#dsInoutRecord").set("parameter",data).flushAsync();
view.get("#dsSettleData").set("parameter",data);
}else{
view.get("#dsSettleData").set("parameter",data).flushAsync();
}
};
//结算
settle = function(){
var data = view.get("#dataGridMain.currentEntity");
if (!data) {
return;
}
view.get("#dialogMain").show();
view.get("#dsSettle").set("parameter",data).flushAsync();
};
settle2 = function(){
var data = view.get("#dataGridMain2.currentEntity");
if (!data) {
return;
}
view.get("#dialogMain2").show();
};
//重新计算金额
checkCount = function(){
var settle = view.get("#dsSettle.data");
//计算粮食总金额
var payPrice = settle.get("payPrice");
var foodSum = settle.get("settleWeight") * payPrice;
//计算结算费用
var otherSum = settle.get("otherSum");
//计算结算费用
var paySum = foodSum - otherSum;
settle.set("paySum",paySum);
};
font-awesome,css-common
./static/plugins/lodop/LodopFuncs.js
self.insert();
dtQuery
fa fa-th-list
结算列表
bold
*,*,*,*
dsQuery
bg-color
90
:
right
id
id
-- 支持模糊 --
contractName
contractName
ddCustomer
false
depotId
depotId
autoMappingDropDown2
start
start
defaultDateDropDown
end
end
defaultDateDropDown
合同结算
fa fa-th-list
150
bg-color
[dtInoutSettle]
inoutSettlePR#pageSettleIn1
20
dsSettle1
true
false
multiRows
true
true
true
arg.dom.style.fontWeight = "bold";
arg.dom.style.color = "#f67d06";
arg.processDefault = true;
id
center
150
depotId
contractName
settleWeight
payPrice
payMoney
payMoney
payTime
payType
payee
bank
bizType
payUser
pageSize,pages
dsSettle1
view.get("#btnExcel").set("visible",true);
单车结算
fa fa-jpy
150
bg-color
20
inoutSettlePR#pageSettleIn0
[dtInoutSettle]
dsSettle2
true
false
multiRows
true
true
true
arg.dom.style.fontWeight = "bold";
arg.dom.style.color = "#f67d06";
arg.processDefault = true;
id
center
150
depotId
contractName
settleWeight
payPrice
payMoney
payMoney
payTime
payType
payee
bank
bizType
payUser
pageSize,pages
dsSettle2
inoutSettlePR#printSettleBill
正在执行打印……
false
inoutSettlePR#printSettleBill2
正在执行打印……
false
depotPR#getDepot
400
customerId=id,customerName=name
500
true
inoutCustomerPR#queryListByKey
[dtInoutCustomer]
${request.getParameter('type')}
-- 编码或者名称 --
200
var data = view.get("#dsCustomer.data:#");
if(data){
view.get("#ddCustomer").close(data.toJSON());
}
dsCustomer
true
id
100
center
arg.dom.style.fontWeight = "bold";
arg.processDefault = true;
name
center
inoutSettlePR#saveData
serverAll
11
结算单
xlsx
12
导出结算单列表
dataGridMain2
true