cb_addunit.wxml 733 Bytes
<nav backgroundColor="#199095" color="#ffffff">计价单位管理</nav>
<view class="add-unit flex-lr">
    <view class="black-font font30r" style="width:40%;">计价单位</view>
    <input type="text" maxlength="3" placeholder="请输入计价单位" placeholder-class="gray-font font30r smooth" class="black-font font30r" disabled="{{unitid ? true : false}}" value="{{unitname ? unitname : ''}}" bindinput="unitinput"/>
</view>


<view class="unit-delete bg_green white-font font30r flex-cc" bindtap="{{unitid ? 'deleteunit' : 'addunit'}}">
    <block wx:if="{{unitid}}">删除</block>
    <block wx:else>添加</block>
</view>

<confirmAlert id="alert"></confirmAlert>

<netWork bind:netchange="netchange" id="network"></netWork>