src/main/webapp/static/js/mat/mat.js
@@ -4,7 +4,7 @@ function getCol() { var cols = [ {type: 'checkbox'} ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl'} ,{field: 'tagId$', align: 'center',title: '归类', templet: '#tagTpl',hide:true} ]; cols.push.apply(cols, matCols); cols.push( @@ -255,6 +255,7 @@ } // 表单提交事件 form.on('submit(editSubmit)', function (data) { console.log(data) data.field.tagId = insXmSel.getValue('valueStr'); if (isEmpty(data.field.tagId)) { layer.msg('分类不能为空', {icon: 2});