Commit 2099f5a9 authored by 季圣华's avatar 季圣华
Browse files

优化计量单位

parent feb85c60
......@@ -43,7 +43,6 @@
<td style="padding:5px">
<input name="basicName" id="basicName" class="easyui-textbox"
data-options="required:true,validType:'length[1,10]'" style="width: 100px;"/>
基本单位应为最小度量单位
</td>
</tr>
<tr>
......@@ -52,11 +51,16 @@
<input name="otherName" id="otherName" class="easyui-textbox"
data-options="required:true,validType:'length[1,5]'" style="width: 100px;"/>
=
<input name="otherNum" id="otherNum" class="easyui-textbox"
data-options="required:true,validType:'length[1,5]'" style="width: 50px;"/>
<input name="otherNum" id="otherNum" class="easyui-numberbox"
data-options="required:true, min:0,precision:0" style="width: 50px;"/>
<span id="unitName"></span>
</td>
</tr>
<tr>
<td colspan="2" style="height: 30px;color:#7c7c7c;">
注:基本单位应为最小度量单位,副单位为大单位
</td>
</tr>
</table>
</form>
</div>
......
<table>
<tr>
<td style="width:130px;height:30px;line-height:30px;padding:8px;float:left;color:#7c7c7c"><b>仓库名称</b></td>
<td style="width:120px;height:30px;line-height:30px;padding:8px;float:left;color:#7c7c7c"><b>初始库存</b></td>
<td style="width:120px;height:30px;line-height:30px;padding:8px;float:left;color:#7c7c7c"><b>总计库存</b></td>
</tr>
{{#depotList}}
<tr>
<td style="width:130px;height:30px;line-height:30px;padding:8px;float:left;" title="{{name}}">
<p style="width:110px;overflow: hidden;white-space:nowrap;text-overflow: ellipsis;">{{name}}</p>
</td>
<td style="width:120px;height:30px;line-height:30px;padding:8px;float:left;">初始库存:{{stock}}</td>
<td style="width:120px;height:30px;line-height:30px;padding:8px;float:left;">总计库存:{{allStock}}</td>
<td style="width:120px;height:30px;line-height:30px;padding:8px;float:left;">{{stock}}</td>
<td style="width:120px;height:30px;line-height:30px;padding:8px;float:left;">{{allStock}}</td>
</tr>
{{/depotList}}
</table>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment