From 246563fc7da2c6c7fb8f335c204c7a1e7a1312d7 Mon Sep 17 00:00:00 2001 From: liapples Date: Wed, 8 Sep 2021 18:14:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=9C=B0=E5=9D=80=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AdminSupplier/Controllers/ProductController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/AdminSupplier/Controllers/ProductController.php b/app/AdminSupplier/Controllers/ProductController.php index 83c5631..6adfa51 100644 --- a/app/AdminSupplier/Controllers/ProductController.php +++ b/app/AdminSupplier/Controllers/ProductController.php @@ -152,6 +152,7 @@ class ProductController extends AdminController $table->text('tag', '包含项目')->placeholder('如:24小时热水、干洗服务等'); })->value($default)->help('首次创建时,系统会默认填充基本服务,请根据本酒店情况进行删减或新增'); + $form->text('address', '地址'); $form->map('extends.field_1.latitude', 'extends.field_1.longitude', '位置'); })->when(2, function (Form $form) { //景区 $form->table('extends.field_2.open_time', '开放时间', function (NestedForm $table) { @@ -166,6 +167,7 @@ class ProductController extends AdminController $table->text('price', '费用'); })->help('第一行数据默认是表头,如:项目名称、数量、额外费用'); + $form->text('address', '地址'); $form->map('extends.field_2.latitude', 'extends.field_2.longitude', '位置'); })->when(3, function (Form $form) { //餐厅 $form->table('extends.field_3.open_time', '开放时间', function (NestedForm $table) { @@ -180,6 +182,7 @@ class ProductController extends AdminController $table->text('price', '价格')->placeholder('如:99元'); })->help('第一行数据默认是表头,如:项目名称、数量、额外费用'); + $form->text('address', '地址'); $form->map('extends.field_3.latitude', 'extends.field_3.longitude', '位置'); });