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
10 KiB

<view><view class="white-card"><view class="list-list"><view class="list-title">物料编号</view><view class="list-right"><text>{{CyInfo.product_number}}</text></view></view><view class="list-list"><view class="list-title">填报日期</view><view class="list-right"><text>{{CyInfo.production}}</text></view></view><view class="list-list"><view class="list-title">线别</view><view class="list-right"><text>{{CyInfo.line_title}}</text></view></view><view class="list-list"><view class="list-title">班次</view><view class="list-right"><text>{{CyInfo.line_title==0?'夜班':'白班'}}</text></view></view><block wx:if="{{ifEdit==1}}"><view class="list-list"><view class="list-title">班次</view><block wx:if="{{stopInfo.data.frequency}}"><view class="list-right"><text>{{stopInfo.data.frequency==0?'夜班':'白班'}}</text></view></block></view></block></view><block wx:if="{{ifEdit==0}}"><view class="white-card" style="margin-top:30rpx;"><picker value="{{reasonIds}}" range="{{reason}}" range-key="item" data-event-opts="{{[['change',[['bindReason',['$event','$0'],['reason']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">停线原因</view><view class="list-right"><text>{{reason[reasonIds]?reason[reasonIds].item:"请选择"}}</text><image class="next" src="../../static/next.png"></image></view></view></picker></view></block><block wx:if="{{ifEdit==1}}"><view class="white-card" style="margin-top:30rpx;"><view class="list-list"><view class="list-title">停线原因</view><view class="list-right"><text>{{infoResonArr[0]?infoResonArr[0].item:''}}</text></view></view></view></block><block wx:if="{{crrentReson=='设备维修'&&ifEdit==0}}"><view class="big-titlt">设备维修</view></block><block wx:if="{{infoResonId=='2'&&ifEdit==1}}"><view class="big-titlt">设备维修</view></block><block wx:if="{{crrentReson=='设备维修'&&ifEdit==0}}"><view class="white-card"><picker value="{{devIds}}" range-key="name" range="{{deviceNo}}" data-event-opts="{{[['change',[['bindmouldIds',['$event','$0'],['deviceNo']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">设备编号</view><view class="list-right"><text>{{deviceNo[devIds]?deviceNo[devIds].name:"请选择"}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{index}}" range-key="name" range="{{AbnormalPhenomenon}}" data-event-opts="{{[['change',[['ycxx',['$event','$0'],['AbnormalPhenomenon']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">异常现象</view><view class="list-right"><text>{{AbnormalPhenomenon[index]?AbnormalPhenomenon[index].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{devYyIds}}" range-key="name" range="{{deviceCauseAnalysis}}" data-event-opts="{{[['change',[['decYyfx',['$event','$0'],['deviceCauseAnalysis']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">原因分析</view><view class="list-right"><text>{{deviceCauseAnalysis[devYyIds]?deviceCauseAnalysis[devYyIds].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{devRepairids}}" range-key="name" range="{{deviceRepairDescription}}" data-event-opts="{{[['change',[['deviceDescription',['$event','$0'],['deviceRepairDescription']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">维修描述</view><view class="list-right"><text>{{deviceRepairDescription[devRepairids]?deviceRepairDescription[devRepairids].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{staffIdx}}" range-key="name" range="{{staffList}}" data-event-opts="{{[['change',[['deviceStaff',['$event','$0'],['staffList']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">维修人员</view><view class="list-right"><text>{{staffList[staffIdx]?staffList[staffIdx].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><view class="bzqk-card"><textarea value="{{froms.device[0].remark}}" placeholder="备注情况说明" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['froms.device.__$n0']]]]]}}" bindinput="__e"></textarea></view></view></block><block wx:if="{{infoResonId=='2'&&ifEdit==1}}"><view class="white-card"><view class="list-list"><view class="list-title">设备编号</view><view class="list-right"><text>{{infoDev[0]?infoDev[0].name:""}}</text></view></view><view class="list-list"><view class="list-title">异常现象</view><view class="list-right"><text>{{stopInfo.device[0]?stopInfo.device[0].unusual_phenomenon:''}}</text></view></view><view class="list-list"><view class="list-title">原因分析</view><view class="list-right"><text>{{stopInfo.device[0]?stopInfo.device[0].cause_analysis:''}}</text></view></view><view class="list-list"><view class="list-title">维修描述</view><view class="list-right"><text>{{stopInfo.device[0]?stopInfo.device[0].repair_description:''}}</text></view></view><view class="list-list"><view class="list-title">维修人员</view><view class="list-right"><text>{{infoStaff[0]?infoStaff[0].name:''}}</text></view></view><view class="bzqk-card"><textarea disabled="true" placeholder="备注情况说明" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['stopInfo.device.__$n0']]]]]}}" value="{{stopInfo.device[0].remark}}" bindinput="__e"></textarea></view></view></block><block wx:if="{{crrentReson=='模具维修'&&ifEdit==0}}"><view class="big-titlt">模具维修</view></block><block wx:if="{{infoResonId=='3'&&ifEdit==1}}"><view class="big-titlt">模具维修</view></block><block wx:if="{{crrentReson=='模具维修'&&ifEdit==0}}"><view class="white-card"><picker value="{{modeIds}}" range="{{mould}}" range-key="title" data-event-opts="{{[['change',[['bindmodeIds',['$event','$0'],['mould']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">模具编号</view><view class="list-right"><text>{{mould[modeIds]?mould[modeIds].title:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{modeUnIds}}" range-key="name" range="{{modeUnnormal}}" data-event-opts="{{[['change',[['modeYcxx',['$event','$0'],['modeUnnormal']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">异常现象</view><view class="list-right"><text>{{modeUnnormal[modeUnIds]?modeUnnormal[modeUnIds].name:''}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{modeYyIds}}" range-key="name" range="{{modeCauseAnalysis}}" data-event-opts="{{[['change',[['modeYyfx',['$event','$0'],['modeCauseAnalysis']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">原因分析</view><view class="list-right"><text>{{modeCauseAnalysis[modeYyIds]?modeCauseAnalysis[modeYyIds].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{modeRepairids}}" range-key="name" range="{{modeRepairDescription}}" data-event-opts="{{[['change',[['modeDescription',['$event','$0'],['modeRepairDescription']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">维修描述</view><view class="list-right"><text>{{modeRepairDescription[modeRepairids]?modeRepairDescription[modeRepairids].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker><picker value="{{modestaffIdx}}" range-key="name" range="{{modestaffList}}" data-event-opts="{{[['change',[['modeStaff',['$event','$0'],['staffList']]]]]}}" bindchange="__e"><view class="list-list"><view class="list-title">维修人员</view><view class="list-right"><text>{{modestaffList[modestaffIdx]?modestaffList[modestaffIdx].name:""}}</text><image class="next" src="../../static/next.png"></image></view></view></picker></view></block><block wx:if="{{infoResonId=='3'&&ifEdit==1}}"><view class="white-card"><view class="list-list"><view class="list-title">模具编号</view><view class="list-right"><text>{{infoMode[0]?infoMode[0].title:""}}</text></view></view><view class="list-list"><view class="list-title">异常现象</view><view class="list-right"><text>{{stopInfo.mode[0]?stopInfo.mode[0].unusual_phenomenon:''}}</text></view></view><view class="list-list"><view class="list-title">原因分析</view><view class="list-right"><text>{{stopInfo.mode[0]?stopInfo.mode[0].cause_analysis:''}}</text></view></view><view class="list-list"><view class="list-title">维修描述</view><view class="list-right"><text>{{stopInfo.mode[0]?stopInfo.mode[0].repair_description:''}}</text></view></view><view class="list-list"><view class="list-title">维修人员</view><view class="list-right"><text>{{infoStaff[0]?infoStaff[0].name:''}}</text></view></view><view class="bzqk-card"><textarea disabled="true" placeholder="备注情况说明" data-event-opts="{{[['input',[['__set_model',['$0','remark','$event',[]],['stopInfo.mode.__$n0']]]]]}}" value="{{stopInfo.mode[0].remark}}" bindinput="__e"></textarea></view></view></block><block wx:if="{{crrentReson!='设备维修'&&crrentReson!='模具维修'&&ifEdit==0}}"><view class="white-card"><view class="list-list" style="align-items:flex-start;"><view class="list-title" style="padding-top:30rpx;">情况描述</view><view class="list-right" style="border:1rpx solid #F1F1F1;font-size:26rpx;"><textarea style="font-size:26rpx;text-indent:30rpx;padding-top:30rpx;" placeholder="请输入情况描述" data-event-opts="{{[['input',[['__set_model',['$0','remake','$event',[]],['froms']]]]]}}" value="{{froms.remake}}" bindinput="__e"></textarea></view></view></view></block><block wx:if="{{infoResonId!='2'&&infoResonId!='3'&&ifEdit==1}}"><view class="white-card"><view class="list-list" style="align-items:flex-start;"><view class="list-title" style="padding-top:30rpx;">情况描述</view><view class="list-right" style="border:1rpx solid #F1F1F1;font-size:26rpx;"><textarea style="font-size:26rpx;text-indent:30rpx;padding-top:30rpx;" disabled="true" placeholder="请输入情况描述" data-event-opts="{{[['input',[['__set_model',['$0','remake','$event',[]],['stopInfo.data']]]]]}}" value="{{stopInfo.data.remake}}" bindinput="__e"></textarea></view></view></view></block><block wx:if="{{ifEdit==0}}"><view class="submit-btn"><button type="primary" disabled="{{buttonState==false?true:false}}" data-event-opts="{{[['tap',[['stopLine']]]]}}" bindtap="__e">提交</button></view></block></view>