|
|
@ -46,15 +46,14 @@ |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<label for="source">药方来源<font color='red'>*</font>:</label> |
|
|
|
<input type="text" id="source" name="source" maxlength="" style="width:280px" value="{if $data.source}$data.source{else}伤寒杂病论{/if}"> |
|
|
|
<input type="text" id="source" name="source" maxlength="" style="width:280px" value="{if $data.source}{$data.source}{else}伤寒杂病论{/if}"> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row"> </div> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<label for="method">用法<font color='red'></font>:</label> |
|
|
|
<input type="text" id="method" name="method" maxlength="" style="width:280px" value="{$data.method}"> |
|
|
|
<span id="author_limit"></span> |
|
|
|
<textarea rows="3" cols="80" id="method" name="method">{$data.method}</textarea> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row"> </div> |
|
|
@ -74,7 +73,7 @@ |
|
|
|
placeholder="用量" required/> |
|
|
|
<!-- /--> |
|
|
|
<!-- <input style="width: 80px" type="text" value="{$item.num}克" disabled/>--> |
|
|
|
<!-- <input type="text" name="herb_desc[]" value="{$item.desc}" placeholder="说明"/>--> |
|
|
|
<input type="text" name="herb_desc[]" value="{$item.desc}" placeholder="说明"/> |
|
|
|
|
|
|
|
<button class="" type="button" onclick="removeIngredient(this)">X</button> |
|
|
|
</div> |
|
|
@ -123,7 +122,7 @@ |
|
|
|
<div class="herb_input"> |
|
|
|
<input type="text" name="herb_name[]" placeholder="药材名" required /> |
|
|
|
<input type="text" name="herb_num[]" placeholder="药量" required /> |
|
|
|
<!-- <input type="text" name="herb_desc[]" placeholder="说明"/>--> |
|
|
|
<input type="text" name="herb_desc[]" placeholder="说明"/> |
|
|
|
<button class="" type="button" onclick="removeIngredient(this)">X</button> |
|
|
|
</div> |
|
|
|
`; |
|
|
|