| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <van-dialog id="van-dialog" />
- <van-dialog
- use-slot
- title="原因"
- show="{{ show_m }}"
- show-cancel-button
- bind:close="onClose"
- bind:confirm="onSure"
- >
- <van-cell-group>
- <van-field
- value="{{ oa_remark }}"
- placeholder="请输入"
- clearable
- type='textarea'
- autosize='true'
- bind:change="handleChangeRemark"
- >
- </van-field>
- </van-cell-group>
- </van-dialog>
- <!-- 选择卷膜编号 -->
- <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.roll_film_number}}
- </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="{{ searchRValue }}" placeholder="请输入搜索关键词" bind:search="onSearchR"
- />
- <view style="margin-right: 40rpx;color: rgb(146, 171, 218);" bindtap="handleCancelR">取消</view>
- </view>
- <scroll-view style="height: 88%;" scroll-y="true">
- <view wx:for="{{searchRList}}" wx:key="index" data-item="{{item}}" data-index="{{index}}" class="show_item" bindtap="handleChooseR">
- {{item.title}}
- </view>
- </scroll-view>
- </view>
- </van-overlay>
- <image src="../../../images/head.png" style="width:100%;height: 250rpx;z-index:-1"></image>
- <view wx:if="{{set_status=='is_detail'&&is_check>0?true:false}}">
- <view wx:if="{{status<=0}}" style="text-align: right;padding: 0 15rpx;"><van-button type='primary' bind:tap="handleCheck">审核</van-button></view>
- <view wx:if='{{status==1&&oa_state==1}}'>
- <van-button style="margin-right: 10px" type="priamry" bind:tap="handlePassModal" data-item="1">通过</van-button>
- <van-button style="margin-right: 10px" type="warning" bind:tap="handlePassModal" data-item="0">驳回</van-button>
- </view>
- </view>
- <view class="title">调拨单明细</view>
- <view wx:for="{{productList}}" wx:for-item="item" wx:for-index='index' wx:key="index" class="item_in">
- <view wx:if="{{set_status!='is_detail'}}" class="btn1 add1" data-index="{{index}}" bindtap="handleAddItem">+</view>
- <view wx:if="{{set_status!='is_detail'}}" class="btn1 delete1" data-index="{{index}}" bindtap="handleDeleteItem">X</view>
- <view class="item_content">
- <van-cell-group style="width: 100%;">
- <van-field
- label='卷膜分类'
- title-width='4.8rem'
- value="{{ item.basic_roll_film_name }}"
- placeholder="自动带出"
- clearable
- readonly
- >
- </van-field>
- <van-field
- label='卷膜型号'
- title-width='4.8rem'
- value="{{ item.roll_film_name }}"
- placeholder="请选择"
- clearable
- required
- readonly
- use-button-slot
- >
- <van-button wx:if="{{set_status!='is_detail'}}" slot="button" size="small" type="primary" bindtap="onChooseR" data-index="{{index}}">
- 选择
- </van-button>
- </van-field>
- <van-field
- label='卷膜编号'
- title-width='4.8rem'
- value="{{ item.roll_film_number }}"
- placeholder="请选择"
- clearable
- readonly
- required
- use-button-slot
- >
- <van-button wx:if="{{set_status!='is_detail'}}" slot="button" size="small" type="primary" bindtap="onChooseC" data-index="{{index}}">
- 选择
- </van-button>
- </van-field>
- <van-field
- label='调拨数量'
- title-width='4.8rem'
- value="{{ item.number }}"
- placeholder="请输入"
- clearable
- required
- data-index='{{index}}'
- bind:blur='handleChangeNumber'
- >
- </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="handleNext"> <text class="font_item">下一步</text></van-button>
- </view>
|