1234567891011121314151617181920212223242526272829303132333435363738 |
- <wxs src="../../utils/filter.wxs" module="filter"></wxs>
- <view class="container">
- <form bindsubmit="formSubmit" bindreset="formReset">
- <view class="tui-goods-item">
- <image src="{{productInfo.productImg}}" class="tui-goods-img"></image>
- <view class="tui-goods-center">
- <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
- <view class="tui-line-cell">
- <view class="tui-title">{{productInfo.productName}}</view>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
- <view class="tui-line-cell">
- <view class="tui-title">商品进货价</view>
- <input placeholder-class="phcolor" class="tui-input" name="productPrice" placeholder="请输入金额,保留两位小数"
- maxlength="10" type="digit" value="{{filter.toDecimal2Penny(productInfo.productPrice)}}" data-name="productInfo.productPrice" data-type="float" bindblur="inputedit"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
- <view class="tui-line-cell">
- <view class="tui-title">商品售价</view>
- <input placeholder-class="phcolor" class="tui-input" name="productSellPrice" placeholder="请输入金额,保留两位小数" maxlength="10" type="digit" value="{{filter.toDecimal2Penny(productInfo.productSellPrice)}}" data-name="productInfo.productSellPrice" data-type="float" bindblur="inputedit"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}" padding="20rpx 20rpx">
- <view class="tui-line-cell">
- <view class="tui-title">商品名区分:</view>
- <input placeholder-class="phcolor" class="tui-input" name="remark" placeholder="请填写备注" maxlength="50" data-name="productInfo.productRemark" value="{{productInfo.productRemark}}"/>
- </view>
- </tui-list-cell>
- </view>
- </view>
- <view class="tui-btn-box">
- <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary">提交</button>
- <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
- </view>
- </form>
- </view>
|