From 6844012e52912b53d2739759d7b9f5591ac21f24 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 16 May 2022 19:29:55 +0800
Subject: [PATCH] fix goods edit
---
src/main/resources/templates/febs/views/modules/goods/goodsList.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/goods/goodsList.html b/src/main/resources/templates/febs/views/modules/goods/goodsList.html
index f56098f..ce655a6 100644
--- a/src/main/resources/templates/febs/views/modules/goods/goodsList.html
+++ b/src/main/resources/templates/febs/views/modules/goods/goodsList.html
@@ -101,8 +101,9 @@
if (layEvent === 'goodsUpdate') {
febs.modal.open('编辑', 'modules/goods/goodsUpdateNew/' + data.id, {
btn: ['提交', '取消'],
+ area:['100%','100%'],
yes: function (index, layero) {
- $('#goods-updatenew').find('#submit').trigger('click');
+ $('#febs-update').find('#submit').trigger('click');
},
btn2: function () {
layer.closeAll();
@@ -165,7 +166,7 @@
tableIns = febs.table.init({
elem: $view.find('table'),
id: 'userTable',
- url: ctx + 'admin/goods/goodsList',
+ url: ctx + 'admin/goods/goodsList?goodsType=1',
cols: [[
{field: 'goodsNo', title: '商品编号', minWidth: 150,align:'left'},
{field: 'goodsName', title: '商品名称', minWidth: 150,align:'left'},
--
Gitblit v1.9.1