1 |
- <view class="checkSubmit"><view class="dtl"><view>{{'物料编码:'+option.materialCode+''}}</view><view>{{'二维码编码:'+option.supplierName+''}}</view><view>{{'物料名称:'+option.materialName+''}}</view></view><view class="form-box" style="margin:0 30rpx;"><uni-forms class="vue-ref" vue-id="00ce3c14-1" modelValue="{{formData}}" label-position="top" data-ref="baseForm" bind:__l="__l" vue-slots="{{['default']}}"><view class="commons-title">抽检米数</view><uni-forms-item vue-id="{{('00ce3c14-2')+','+('00ce3c14-1')}}" label="抽检米数" bind:__l="__l" vue-slots="{{['default']}}"><uni-easyinput bind:input="__e" vue-id="{{('00ce3c14-3')+','+('00ce3c14-2')}}" type="number" placeholder="请输入抽检米数" value="{{formData.checkQty}}" data-event-opts="{{[['^input',[['__set_model',['$0','checkQty','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-easyinput></uni-forms-item><view class="commons-title">质检结果</view><uni-forms-item vue-id="{{('00ce3c14-4')+','+('00ce3c14-1')}}" label="短少" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-number-box bind:input="__e" vue-id="{{('00ce3c14-5')+','+('00ce3c14-4')}}" min="{{0}}" value="{{formData.lakeNum}}" data-event-opts="{{[['^input',[['__set_model',['$0','lakeNum','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-number-box></uni-forms-item><uni-forms-item vue-id="{{('00ce3c14-6')+','+('00ce3c14-1')}}" label="抽纱" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-number-box bind:input="__e" vue-id="{{('00ce3c14-7')+','+('00ce3c14-6')}}" min="{{0}}" value="{{formData.drawnworkNum}}" data-event-opts="{{[['^input',[['__set_model',['$0','drawnworkNum','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-number-box></uni-forms-item><uni-forms-item vue-id="{{('00ce3c14-8')+','+('00ce3c14-1')}}" label="褶皱" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-number-box bind:input="__e" vue-id="{{('00ce3c14-9')+','+('00ce3c14-8')}}" min="{{0}}" value="{{formData.foldNum}}" data-event-opts="{{[['^input',[['__set_model',['$0','foldNum','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-number-box></uni-forms-item><uni-forms-item vue-id="{{('00ce3c14-10')+','+('00ce3c14-1')}}" label="脏污" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-number-box bind:input="__e" vue-id="{{('00ce3c14-11')+','+('00ce3c14-10')}}" min="{{0}}" value="{{formData.dirtNum}}" data-event-opts="{{[['^input',[['__set_model',['$0','dirtNum','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-number-box></uni-forms-item><uni-forms-item vue-id="{{('00ce3c14-12')+','+('00ce3c14-1')}}" label="破洞" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-number-box bind:input="__e" vue-id="{{('00ce3c14-13')+','+('00ce3c14-12')}}" min="{{0}}" value="{{formData.potholeNum}}" data-event-opts="{{[['^input',[['__set_model',['$0','potholeNum','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-number-box></uni-forms-item><uni-forms-item vue-id="{{('00ce3c14-14')+','+('00ce3c14-1')}}" label="缩水" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-number-box bind:input="__e" vue-id="{{('00ce3c14-15')+','+('00ce3c14-14')}}" min="{{0}}" value="{{formData.shrinkPercent}}" data-event-opts="{{[['^input',[['__set_model',['$0','shrinkPercent','$event',[]],['formData']]]]]}}" bind:__l="__l"></uni-number-box></uni-forms-item><uni-forms-item vue-id="{{('00ce3c14-16')+','+('00ce3c14-1')}}" label="上传图片" required="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="imglist"><block wx:for="{{imgs}}" wx:for-item="item" wx:for-index="index" wx:key="*this"><block wx:if="{{!item.loadingType}}"><view class="item"><image src="{{item}}" alt></image><view class="delete" bindtap="__e" data-event-opts="{{[['tap',[['imgDelete',[index]]]]]}}">x</view></view></block><block wx:else><view class="item"><image src="../../static/loding.gif"></image></view></block></block><view data-event-opts="{{[['tap',[['bindUpload',['$event']]]]]}}" class="last-item" bindtap="__e"><text class="sign">+</text></view></view></uni-forms-item></uni-forms></view><view class="submit-box"><button data-event-opts="{{[['tap',[['checkSubmit',[2]]]]]}}" style="background:#CE3C39;color:#fff;margin-bottom:30rpx;" bindtap="__e">不合格</button><button data-event-opts="{{[['tap',[['checkSubmit',[1]]]]]}}" style="background:#0066CC;color:#fff;margin-bottom:30rpx;" bindtap="__e">质检合格</button></view></view>
|