diff --git a/common/src/main/resources/template/js/dsFormPage/editPageContent.js b/common/src/main/resources/template/js/dsFormPage/editPageContent.js index f5ef53e7faba1ac20199a42403baac5fc909a0f8..2c7608a7e8f83a56f97d75b93a35e8751d76819a 100644 --- a/common/src/main/resources/template/js/dsFormPage/editPageContent.js +++ b/common/src/main/resources/template/js/dsFormPage/editPageContent.js @@ -37,6 +37,12 @@ layui.config({ `, + 'remarkBox': `
+ +
+ +
+
`, 'requireBox': `
@@ -191,6 +197,7 @@ layui.config({ $("#title").val(data.title); $("#placeholder").val(data.placeholder); + $("#remark").val(data.remark); $("#defaultValue").val(data.defaultValue); $("#uploadNum").val(data.uploadNum); @@ -306,6 +313,7 @@ layui.config({ var newParams = parent.contentList[inDataIndex]; newParams.title = $("#title").val(); newParams.placeholder = $("#placeholder").val(); + newParams.remark = $("#remark").val(); newParams.require = isNull($('#require').attr('value')) ? [] : JSON.parse($('#require').attr('value')); newParams.uploadDataType = isNull($('#uploadDataType').attr('value')) ? [] : JSON.parse($('#uploadDataType').attr('value')); newParams.uploadNum = $("#uploadNum").val(); diff --git a/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js b/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js index 0084981e794e33439be5eff49a97f87eba453afd..46bc27b4ba3cbb3c5e359a08035185a6fb012a37 100644 --- a/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js +++ b/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js @@ -7,6 +7,7 @@ var initTableChooseUtil = { options: { id: "", // 表格加载的位置 indexRow: 0, // 表格行计数器 + placeholder: '', // 描述 cols: [], // 列属性,{id: 'materialId', // title: '商品', // formType: 'input', formType展示方式 select:下拉框 input:普通输入框 chooseInput:选择输入框 detail:展示,只加载 @@ -52,6 +53,7 @@ var initTableChooseUtil = { ' ' + '
' + '
' + + '
' + newOptions.placeholder + '
' + ' ' + ' ' + ' ' +