erp 新洋电子
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
2.8 KiB

<view><view class="white-card"><view class="list-list"><view class="list-title">物料编号</view><view class="list-right"><text>{{planInfo.product_number}}</text></view></view><view class="list-list"><view class="list-title">填报日期</view><view class="list-right"><text>{{planInfo.production}}</text></view></view><view class="list-list"><view class="list-title">线别</view><view class="list-right"><text>{{planInfo.line_title}}</text></view></view></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="white-card" style="margin-top:24rpx;padding-top:30rpx;padding-bottom:30rpx;"><view class="mid-card"><view class="list-reson"><view class="left">班次</view><view class="right"><text>{{planInfo.frequency==0?'夜班':'白班'}}</text></view></view><picker data-id="item.reason_no_id" mode="selector" value="{{item.$orig.reason_no_id}}" range-key="title" range="{{reason}}" data-event-opts="{{[['change',[['reasonChange',['$event',index]]]]]}}" bindchange="__e"><view class="list-reson"><view class="left">不良原因</view><view class="right"><text>{{reason[item.$orig.reasonIndex]?reason[item.$orig.reasonIndex].title:''}}</text><image src="../../static/next.png"></image></view></view></picker><view class="list-reson"><view class="left">数量</view><view class="right"><input type="number" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['$0','math','$event',[]],[[['froms','',index]]]]]]]}}" value="{{item.$orig.math}}" bindinput="__e"/></view></view><picker mode="selector" value="{{item.$orig.remake}}" range="{{methodList}}" data-event-opts="{{[['change',[['changeMothod',['$event',index]]]]]}}" bindchange="__e"><view class="list-reson"><view class="left">不良品处置</view><view class="right"><text>{{methodList[item.$orig.remake]?methodList[item.$orig.remake]:'请选择'}}</text><image src="../../static/next.png"></image></view></view></picker><block wx:if="{{item.m0}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({index})}}" class="btn-jian" bindtap="__e"><image src="../../static/jian.png"></image><text>删除</text></view></block></view></view></block><block wx:if="{{$root.m1}}"><view data-event-opts="{{[['tap',[['add',['$event']]]]]}}" class="btn-jia" bindtap="__e"><image src="../../static/jia.png"></image><text>添加</text></view></block><view class="submit-btn"><block wx:if="{{$root.m2}}"><button disabled="{{buttonState==false?true:false}}" type="primary" data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" bindtap="__e">提交</button></block></view><block wx:if="{{$root.m3}}"><view class="submit-btn"><button disabled="{{buttonState==false?true:false}}" type="primary" data-event-opts="{{[['tap',[['examine',['$event']]]]]}}" bindtap="__e">审核</button></view></block></view>