diff --git a/ruoyi-admin/src/main/resources/templates/system/customerQuote/add.html b/ruoyi-admin/src/main/resources/templates/system/customerQuote/add.html index aba0fcd1..f1d7d1b1 100644 --- a/ruoyi-admin/src/main/resources/templates/system/customerQuote/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/customerQuote/add.html @@ -439,7 +439,7 @@ {title: '操作', align: 'center', formatter: function (value, row, index) { var actions = []; - actions.push('删除 '); + actions.push('删除 '); return actions.join(''); } } @@ -648,10 +648,10 @@ $.modal.openOptions(options); } /* 删除指定表格行 */ - function removeRow(id){ + function removeRow(materialCode){ $("#bootstrap-sub-table-quoteChild").bootstrapTable('remove', { - field: 'id', - values: id + field: 'materialCode', + values: materialCode }) } $("input[name='pricingDate']").datetimepicker({