statics/js/dist/inventory.js
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var curRow, curCol, loading = null,
import_dialog = null,
SYSTEM = parent.SYSTEM,
tempAssistPropGroupInfo = {},
queryConditions = {
goods: "",
showZero: 0,
isSerNum: 0
},
qtyPlaces = Number(parent.SYSTEM.qtyPlaces),
pricePlaces = Number(parent.SYSTEM.pricePlaces),
amountPlaces = Number(parent.SYSTEM.amountPlaces),
THISPAGE = {
init: function(a) {
this.initDom(a), this.addEvent(), this.loadGrid([]), $(".ui-jqgrid-bdiv").addClass("no-query")
},
initDom: function() {
this.$_storage = $("#storage"), this.$_category = $("#category"), this.$_goods = $("#goods"), this.$_note = $("#note"), this.chkField = $("#chkField").cssCheckbox(), this.storageCombo = $("#storage").combo({
data: function() {
return parent.SYSTEM.storageInfo
},
text: "name",
value: "id",
width: 120,
defaultSelected: 0,
addOptions: {
text: "所有仓库",
value: -1
},
cache: !1
}).getCombo(), this.categoryTree = Public.categoryTree(this.$_category, {
rootTxt: "所有类别",
width: 200
}), 1 != SYSTEM.ISSERNUM && $("#chkField").find("label:eq(1)").hide()
},
loadGrid: function(a) {
$("#grid").jqGrid("GridUnload");
var b = $(window).height() - $(".grid-wrap").offset().top - 124;
$("#grid").jqGrid({
data: a,
mtype: "GET",
autowidth: !0,
height: b,
rownumbers: !0,
altRows: !0,
gridview: !0,
colModel: [{
name: "locationId",
label: "仓库ID",
width: 0,
hidden: !0
}, {
name: "locationName",
label: "仓库",
width: 100
}, {
name: "assistName",
label: "商品类别",
width: 100
}, {
后面还有 282 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
