sth
This commit is contained in:
parent
fba4b3c058
commit
c88e7ecac5
|
|
@ -411,6 +411,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','layer'], function ($,
|
|||
},
|
||||
edit: function () {
|
||||
Controller.api.bindevent();
|
||||
},
|
||||
finish: function () {
|
||||
Controller.api.bindevent();
|
||||
|
||||
console.log("sb:init...");
|
||||
// 判断 #c-action 是否存在且有值
|
||||
const $action = $("#c-action");
|
||||
|
|
@ -432,9 +436,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','layer'], function ($,
|
|||
$("#c-performance").val(performance.toFixed(2));
|
||||
}
|
||||
|
||||
/* ["c-online_total", "c-total", "order-cost", "order-material_cost"].forEach(function(id) {
|
||||
$("#" + id).on("input", calculatePerformance);
|
||||
});*/
|
||||
/* ["c-online_total", "c-total", "order-cost", "order-material_cost"].forEach(function(id) {
|
||||
$("#" + id).on("input", calculatePerformance);
|
||||
});*/
|
||||
|
||||
$('#c-online_total #c-total, #order-cost, #order-material_cost').on('input', function () {
|
||||
//calcProfit();
|
||||
|
|
@ -444,11 +448,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','layer'], function ($,
|
|||
// 页面加载时先算一次
|
||||
calculatePerformance();
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
finish: function () {
|
||||
Controller.api.bindevent();
|
||||
},
|
||||
addrecord: function () {
|
||||
Controller.api.bindevent();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user