优化计量单位

This commit is contained in:
季圣华
2020-12-13 01:13:44 +08:00
parent feb85c60c0
commit 2099f5a95f
2 changed files with 14 additions and 5 deletions

View File

@@ -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>

View File

@@ -1,11 +1,16 @@
<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>