baolei 5 сар өмнө
parent
commit
5aa0021a13

+ 1 - 1
08.src/Xingxi/xingxi-admin/src/main/resources/templates/master/product/prod/add.html

@@ -55,7 +55,7 @@
                 <div class="form-group">
                     <label class="col-sm-3 control-label">供应商:</label>
                     <div class="col-sm-8">
-                        <select name="designerId" class="form-control m-b" th:with="vendors=${@product.getVendors()}" >
+                        <select name="vendorId" class="form-control m-b" th:with="vendors=${@product.getVendors()}" >
                             <option value="">请选择</option>
                             <option th:each="vendor : ${vendors}" th:text="${vendor.vendorName}" th:value="${vendor.vendorId}"></option>
                         </select>

+ 1 - 1
08.src/Xingxi/xingxi-admin/src/main/resources/templates/master/product/prod/edit.html

@@ -55,7 +55,7 @@
                 <div class="form-group">
                     <label class="col-sm-3 control-label">供应商:</label>
                     <div class="col-sm-8">
-                        <select name="designerId" class="form-control m-b" th:with="vendors=${@product.getVendors()}" th:field = "*{vendorId}">
+                        <select name="vendorId" class="form-control m-b" th:with="vendors=${@product.getVendors()}" th:field = "*{vendorId}">
                             <option value="">请选择</option>
                             <option th:each="vendor : ${vendors}" th:text="${vendor.vendorName}" th:value="${vendor.vendorId}"></option>
                         </select>