| | |
| | | <view class="section top-section"> |
| | | <view class="form-row"> |
| | | <view> |
| | | <!-- <label |
| | | style="float: left;font-family: fantasy;font-size: 33px;margin-top: 20px">第一步选择机台:</label> --> |
| | | <!-- <label style="float: left;font-family: fantasy;font-size: 33px;margin-top: 20px">第一步选择机台:</label> --> |
| | | <!-- <superwei-combox :candidates="machineList" placeholder="请选择" v-model="machineName" |
| | | @select="onMachineChange" class="picker"></superwei-combox> --> |
| | | <input v-model="machineName" disabled="true" type="text" |
| | | style="float: left;font-family: fantasy;font-size: 33px;margin-top: 20px" /> |
| | | <input v-model="machineName" disabled="true" type="text" style="float: left;font-family: fantasy;font-size: 33px;margin-top: 20px" /> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | |
| | | <view v-if="isShow" class="overlay"> |
| | | <view class="popup"> |
| | | <!--// 直接获取所有工单,不再按模具号筛选--> |
| | | <!--<view class="form-row"> |
| | | <!--筛选工单状态--> |
| | | <view class="form-row"> |
| | | <view> |
| | | <label style="float: left;margin-top: 18px;">选择当前模具号:</label> |
| | | <superwei-combox :candidates="engineeringNoMapList" placeholder="请选择" v-model="engineeringNo" |
| | | @select="onEngineeringNoChange" class="picker" |
| | | style="padding: 7px 46px;width: 650px;"></superwei-combox> |
| | | </view> |
| | | </view>--> |
| | | </view> |
| | | <view class="section card"> |
| | | <uni-table ref="table" type="selection" border stripe emptyText="暂无更多数据" |
| | | @selection-change="selectionChange"> |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | orderStatus: '', // 默认全部 |
| | | currentTab: 7, |
| | | |
| | | machineList: [], |
| | |
| | | |
| | | this.engineeringNo = null; |
| | | this.tableData = []; |
| | | // 直接获取所有工单,不再按模具号筛选 |
| | | //this.GetWomdaasByEngineeringNo(); |
| | | // 筛选工单状态 |
| | | this.GetWomdaasByEngineeringNo(); |
| | | this.getWomdaa(); |
| | | }, |
| | | |
| | |
| | | this.tableData = res.data.tbBillList; |
| | | }) |
| | | }, |
| | | // 直接获取所有工单,不再按模具号筛选 |
| | | // 筛选工单状态 |
| | | GetWomdaasByEngineeringNo() { |
| | | |
| | | this.$post({ |
| | | url: "/Womdaa/GetWomdaasByEngineeringNo", |
| | | data: { |
| | | machineNo: this.machineNo |
| | | machineNo: this.machineNo; |
| | | orderStatus: ['待开工', '未开工', '完工', '暂停'] // 新增状态筛选条件 |
| | | } |
| | | }).then(res => { |
| | | this.engineeringNoList = res.data.tbBillList; |
| | | this.engineeringNoMapList = this.engineeringNoList.map(s => s.moldId + ":" + s.moldName + ":" + |
| | | s.moldModel |
| | | ); |
| | | // 直接映射,不分组 |
| | | this.engineeringNoMapList = this.engineeringNoList.map(s => s.moldId + ":" + s.moldName + ":" + s.moldModel); |
| | | }); |
| | | }); |
| | | }, |
| | | toDetail(item) { |