思路,根据 data-index 找到 点击到的tr,获取tr下的 div,js 模拟点击
function iniTable()
{
layui.use('table', function(){
var table = layui.table;
//展示已知数据
table.render({
elem: tableid
,cols: [[ //标题栏
{type:'checkbox',id:'goodsLimitSeqNo'}
, {field: 'goodsLimitSeqNo', title: '序号',event: 'setSign', width: 50}
,{field: 'licTypeCode', title: '许可证类别代码',event: 'setSign', width: 140}
,{field: 'licTypeName', title: '许可证类别名称', event: 'setSign',width: 250}
,{field: 'licenceNo', title: '许可证编号', event: 'setSign',width: 150}
,{field: 'licWrtofDetailNo', title: '核销货物序号', event: 'setSign',width: 150}
,{field: 'licWrtofQty', title: '核销数量', event