1 |
- <view class="finish-page data-v-183ac6f5"><view class="form-box data-v-183ac6f5"><u--form vue-id="21c2ce9e-1" labelPosition="left" labelWidth="160rpx" model="{{info}}" rules="{{rules}}" data-ref="form" class="data-v-183ac6f5 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="form data-v-183ac6f5"><u-form-item vue-id="{{('21c2ce9e-2')+','+('21c2ce9e-1')}}" label="设备号" prop="equipment" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('21c2ce9e-3')+','+('21c2ce9e-2')}}" placeholder="设备号" border="none" disabled="{{true}}" disabledColor="#fff" value="{{equipmentText}}" data-event-opts="{{[['^input',[['__set_model',['','equipmentText','$event',[]]]]]]}}" class="data-v-183ac6f5" bind:__l="__l"></u--input></u-form-item><u-form-item vue-id="{{('21c2ce9e-4')+','+('21c2ce9e-1')}}" label="停机原因" prop="reason" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select vue-id="{{('21c2ce9e-5')+','+('21c2ce9e-4')}}" localdata="{{reasonActions}}" placeholder="请选择停机原因" value="{{info.reason}}" data-event-opts="{{[['^change',[['reasonSelect']]],['^input',[['__set_model',['$0','reason','$event',[]],['info']]]]]}}" bind:change="__e" bind:input="__e" class="data-v-183ac6f5" bind:__l="__l"></uni-data-select></u-form-item><view class="flex-box data-v-183ac6f5"><view class="content data-v-183ac6f5"><u-form-item vue-id="{{('21c2ce9e-6')+','+('21c2ce9e-1')}}" label="备品备件" prop="spares" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" vue-id="{{('21c2ce9e-7')+','+('21c2ce9e-6')}}" localdata="{{actions}}" placeholder="请选择备品备件" value="{{info.spares}}" data-event-opts="{{[['^input',[['__set_model',['$0','spares','$event',[]],['info']]]]]}}" class="data-v-183ac6f5" bind:__l="__l"></uni-data-select></u-form-item><u-form-item vue-id="{{('21c2ce9e-8')+','+('21c2ce9e-1')}}" label="数量" prop="num" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('21c2ce9e-9')+','+('21c2ce9e-8')}}" placeholder="数量" border="none" value="{{info.num}}" data-event-opts="{{[['^input',[['__set_model',['$0','num','$event',[]],['info']]]]]}}" class="data-v-183ac6f5" bind:__l="__l"></u--input></u-form-item></view><image class="icon data-v-183ac6f5" src="/static/add.jpg" data-event-opts="{{[['tap',[['addItem',['$event']]]]]}}" bindtap="__e"></image></view><block wx:for="{{items}}" wx:for-item="item" wx:for-index="i" wx:key="i"><view class="flex-box data-v-183ac6f5"><view class="content data-v-183ac6f5"><u-form-item vue-id="{{('21c2ce9e-10-'+i)+','+('21c2ce9e-1')}}" label="备品备件" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><uni-data-select bind:input="__e" vue-id="{{('21c2ce9e-11-'+i)+','+('21c2ce9e-10-'+i)}}" localdata="{{actions}}" placeholder="请选择备品备件" value="{{items.spares}}" data-event-opts="{{[['^input',[['__set_model',['$0','spares','$event',[]],['items']]]]]}}" class="data-v-183ac6f5" bind:__l="__l"></uni-data-select></u-form-item><u-form-item vue-id="{{('21c2ce9e-12-'+i)+','+('21c2ce9e-1')}}" label="数量" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('21c2ce9e-13-'+i)+','+('21c2ce9e-12-'+i)}}" placeholder="请输入数量" border="none" value="{{items.num}}" data-event-opts="{{[['^input',[['__set_model',['$0','num','$event',[]],['items']]]]]}}" class="data-v-183ac6f5" bind:__l="__l"></u--input></u-form-item></view><image class="icon data-v-183ac6f5" src="../../static/delete.jpg" data-event-opts="{{[['tap',[['deleteItem',[i]]]]]}}" bindtap="__e"></image></view></block><u-form-item vue-id="{{('21c2ce9e-14')+','+('21c2ce9e-1')}}" label="备注" prop="desc" borderBottom="{{true}}" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><u--textarea bind:input="__e" vue-id="{{('21c2ce9e-15')+','+('21c2ce9e-14')}}" placeholder="请输入备注" value="{{info.desc}}" data-event-opts="{{[['^input',[['__set_model',['$0','desc','$event',[]],['info']]]]]}}" class="data-v-183ac6f5" bind:__l="__l"></u--textarea></u-form-item><u-form-item vue-id="{{('21c2ce9e-16')+','+('21c2ce9e-1')}}" label="现场照片" prop="imgUrl" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}"><u-upload vue-id="{{('21c2ce9e-17')+','+('21c2ce9e-16')}}" name="img" fileList="{{imgFileList}}" maxCount="{{3}}" sizeType="{{['compressed']}}" data-event-opts="{{[['^afterRead',[['afterRead']]],['^delete',[['deletePic']]]]}}" bind:afterRead="__e" bind:delete="__e" class="data-v-183ac6f5" bind:__l="__l"></u-upload></u-form-item></view></u--form></view><view class="submit data-v-183ac6f5"><u-button vue-id="21c2ce9e-18" type="primary" data-event-opts="{{[['^click',[['onSubmit']]]]}}" bind:click="__e" class="data-v-183ac6f5" bind:__l="__l" vue-slots="{{['default']}}">提交</u-button></view></view>
|