lvhao 1 dzień temu
rodzic
commit
8cc431b371

+ 2 - 0
core/CoreApp/controllers/Weight.php

@@ -153,6 +153,7 @@ class Weight extends Start_Controller {
 				$list['wigother'] = $this->input->post('wigother',true);
 				$list['wigother1'] = $this->input->post('wigother1',true);
 				$list['wigother2'] = $this->input->post('wigother2',true);
+				$list['product_related'] = $this->input->post('product_related', true);
 			}
 			if($category == 129)
 			{
@@ -271,6 +272,7 @@ class Weight extends Start_Controller {
 				$list['wigother'] = $this->input->post('wigother',true);
 				$list['wigother1'] = $this->input->post('wigother1',true);
 				$list['wigother2'] = $this->input->post('wigother2',true);
+				$list['product_related'] = $this->input->post('product_related', true);
 			}
 			if($category == 129)
 			{

+ 9 - 0
template/erp/weight_add.html

@@ -363,6 +363,15 @@
 {/loop}
 </select>
 </li>
+<li class="2 none">
+<em>生产方式/配比:</em>
+<select name="product_related" class="select">
+<option value="">未选择</option>
+{loop typeclassyc(53) as $val}
+<option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
+{/loop}
+</select>
+</li>
 
 <li class="6 none">
 <em>头套类型:</em>

+ 9 - 0
template/erp/weight_edit.html

@@ -362,6 +362,15 @@
 {/loop}
 </select>
 </li>
+<li class="2 none">
+<em>生产方式/配比:</em>
+<select name="product_related" class="select">
+<option value="">未选择</option>
+{loop typeclassyc(53) as $val}
+<option value="{$val['id']}">{$val['title']} - {$val['zh']}</option>
+{/loop}
+</select>
+</li>
 
 <li class="6 none">
 <em>头套类型:</em>