| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <!-- 选择卷膜分类 -->
- <van-overlay show="{{show}}" z-index='999'>
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchValue }}" placeholder="请输入搜索关键词" bind:search="onSearch"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancel">取消</view>
- </view>
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{searchList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChoose">
- {{item.title}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <!-- 选择卷膜代码 -->
- <van-overlay show="{{c_show}}" z-index='999'>
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchCValue }}" placeholder="请输入搜索关键词" bind:search="onSearchC"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelC">取消</view>
- </view>
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{searchCList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseC">
- {{item.code}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <!-- 选择卷膜型号 -->
- <van-overlay show="{{r_show}}" z-index='999'>
- <view class="show_box">
- <view class="show_title"> <van-search style="width: 85%;" value="{{ searchCValue }}" placeholder="请输入搜索关键词" bind:search="onSearchR"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelC">取消</view>
- </view>
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{searchCList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseC">
- {{item.title}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
- <view class="title">领料单申领区域</view>
- <view wx:for="{{productList}}" wx:for-item="item" wx:for-index='index' wx:key="index" class="item_in">
- <view class="btn1 add1" data-index="{{index}}" bindtap="handleAddItem" wx:if="{{set_status!='is_detail'&&apply_status==0}}">+</view>
- <view class="btn1 delete1" data-index="{{index}}" bindtap="handleDeleteItem" wx:if="{{set_status!='is_detail'&&apply_status==0}}">X</view>
- <view class="item_content">
- <van-cell-group>
- <van-field
- label='卷膜分类'
- title-width='4.8rem'
- value="{{ item.b_r_f_name }}"
- placeholder="请选择"
- clearable
- required
- readonly
- use-button-slot
- >
- <van-button wx:if="{{set_status!='is_detail'&&apply_status==0}}" slot="button" size="small" type="primary" bindtap="onChoose" data-index="{{index}}">
- 选择
- </van-button>
- </van-field>
- <van-field
- label='卷膜代码'
- title-width='4.8rem'
- value="{{ item.code }}"
- placeholder="请选择"
- clearable
- readonly
- required
- use-button-slot
- >
- <van-button wx:if="{{set_status!='is_detail'&&apply_status==0}}" slot="button" size="small" type="primary" bindtap="onChooseC" data-index="{{index}}">
- 选择
- </van-button>
- </van-field>
- <van-field
- label='卷膜型号'
- title-width='4.8rem'
- value="{{ item.title }}"
- placeholder="请选择"
- clearable
- required
- readonly
- use-button-slot
- >
- <van-button wx:if="{{set_status!='is_detail'&&apply_status==0}}" slot="button" size="small" type="primary" bindtap="onChooseR" data-index="{{index}}">
- 选择
- </van-button>
- </van-field>
- <van-field
- label='申领米数'
- title-width='4.8rem'
- value="{{ item.apply_number }}"
- placeholder="请输入"
- clearable
- required
- readonly="{{set_status=='is_detail'||apply_status!=0}}"
- data-index="{{index}}"
- bind:change='handleChangeNumber'
- >
- </van-field>
- <van-field
- label='备注'
- title-width='4.8rem'
- value="{{ item.mark }}"
- placeholder="请输入"
- clearable
- autosize
- readonly="{{set_status=='is_detail'||apply_status!=0}}"
- type='textarea'
- data-index="{{index}}"
- bind:change="onChangeMark"
- >
- </van-field>
- </van-cell-group>
- </view>
- </view>
- <view class="btn">
- <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleReturn">
- <text class="font_item">上一步</text>
- </van-button>
- <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleBack" wx:if="{{set_status?true:false}}"> <text class="font_item">下一步</text></van-button>
- <van-button color="linear-gradient(to top, #626365, #ffffff)" class="btn_item" bindtap="handleNext" wx:else> <text class="font_item">提交</text></van-button>
- </view>
|