webmain/main/goods/rock_goods_pdck.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php if(!defined('HOST'))die('not access');?>
<script >
$(document).ready(function(){
	{params}
	//根据仓库统计下面的物品数量
	var depotid = params.depotid;if(!depotid)depotid='';
	
	var columns = [{
			text:'编号',dataIndex:'num'
	},{
		text:'名称',dataIndex:'name',align:'left'
	},{
		text:'分类',dataIndex:'typeid',align:'left'
	},{
		text:'单价',dataIndex:'price',sortable:true
	},{
		text:'单位',dataIndex:'unit'
	},{
		text:'规格',dataIndex:'guige'
	},{
		text:'型号',dataIndex:'xinghao'
	},{
		text:'ID',dataIndex:'id',sortable:true
	},{
		text:'数量',dataIndex:'stock'
	}];
	
	var a = $('#view_{rand}').bootstable({
		tablename:'goodss',celleditor:true,fanye:true,
		url:publicstore('{mode}','{dir}'),params:{'depotid':depotid},storebeforeaction:'pdck_beforeshow',storeafteraction:'pdck_aftershow',
		columns:columns
	});
	var c = {
		search:function(){
			var s=get('key_{rand}').value;
			a.setparams({key:s,dt:get('dt1_{rand}').value},true);
		},

		daochu:function(o1){
			publicdaochuobj({
				'objtable':a,
				'btnobj':o1
			});
		}
	};
	

	js.initbtn(c);
	
	
});
</script>
<div>
<table width="100%"><tr>
	
	<td align="left" nowrap>
		<input placeholder="截止日期" style="width:120px" onclick="js.changedate(this)" readonly class="form-control datesss" id="dt1_{rand}" >
	</td>

	<td style="padding-left:10px">
后面还有 16 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。