Browse Source

1、工序报工-对接工单页面

master
bjang03 7 months ago
parent
commit
35f241a673
  1. 15
      src/pages/mes/workScheduling/processReportPeopleCheck.vue

15
src/pages/mes/workScheduling/processReportPeopleCheck.vue

@ -2,7 +2,7 @@
<view class="container"> <view class="container">
<view class="list"> <view class="list">
<view> <view>
<u-search :show-action="true" v-model="data.searchValue" action-text="搜索" input-align="left" height="65" border-color="#ff9900" @search="getList" @custom="getList"></u-search> <u-search :show-action="true" v-model="data.nickName" action-text="搜索" input-align="left" height="65" border-color="#ff9900" @search="getList" @custom="getList"></u-search>
</view> </view>
<scroll-view scroll-y="true" class="scroll-Y" style="height: calc(100vh - 80rpx)"> <scroll-view scroll-y="true" class="scroll-Y" style="height: calc(100vh - 80rpx)">
<u-checkbox-group class="item" @change="checkChange"> <u-checkbox-group class="item" @change="checkChange">
@ -42,8 +42,7 @@ tags.data = ref([
const data = ref({ const data = ref({
planDayCode: '', planDayCode: '',
processCode: '', processCode: '',
teamCode: '', nickName: ''
searchValue: ''
}) })
let show = false let show = false
let checked = [] let checked = []
@ -58,12 +57,7 @@ async function getList() {
status.value = 'loading' status.value = 'loading'
proxy.$modal.loading('加载中') proxy.$modal.loading('加载中')
// "{"status":"1","remark":null,"planMasterCode":"PO20240429-0015","schedulingCode":"9bb4ab0cfcc14e3284833506b5041571","productCode":"015.886-117","productName":null,"workroomCode":"work1","lineCode":"work1-line1","prouteCode":"015.886-117","planCount":25,"finishCount":0,"qualifiedCount":null,"unqualifiedCount":null,"flagDo":"0","planSubCode":null,"workingNode":"QD_HJ_01","workingTaskSort":1,"formType":"BATCH","workSort":0,"currentWorkstation":null,"planStartTime":null,"planEndTime":1714388234000,"realStartTime":null,"realFinishedTime":null,"qualityFormNo":null,"reason":null,"planNoDay":null,"batchCode":"M015.886-117-001","id":61,"createTime":1714370517000,"creator":"1"}" // "{"status":"1","remark":null,"planMasterCode":"PO20240429-0015","schedulingCode":"9bb4ab0cfcc14e3284833506b5041571","productCode":"015.886-117","productName":null,"workroomCode":"work1","lineCode":"work1-line1","prouteCode":"015.886-117","planCount":25,"finishCount":0,"qualifiedCount":null,"unqualifiedCount":null,"flagDo":"0","planSubCode":null,"workingNode":"QD_HJ_01","workingTaskSort":1,"formType":"BATCH","workSort":0,"currentWorkstation":null,"planStartTime":null,"planEndTime":1714388234000,"realStartTime":null,"realFinishedTime":null,"qualityFormNo":null,"reason":null,"planNoDay":null,"batchCode":"M015.886-117-001","id":61,"createTime":1714370517000,"creator":"1"}"
await workSchedulingApi.getConfigProcessWorker({ await workSchedulingApi.getConfigProcessWorker(data.value).then((res) => {
planDayCode: "PO20240429-0008",
processCode: "DLJ_CY_01",
teamCode: "T01",
nickName: data.value.searchValue
}).then((res) => {
uni.setStorageSync("isLeader", res.data.leader) uni.setStorageSync("isLeader", res.data.leader)
if (res.data.leader) { if (res.data.leader) {
list.value = res.data.list list.value = res.data.list
@ -100,7 +94,8 @@ function onSubmit() {
}) })
} }
onLoad((option) => { onLoad((option) => {
data.value = uni.getStorageSync("processReportListParams") data.value.planDayCode = uni.getStorageSync("processReportListParams").planMasterCode
data.value.processCode = uni.getStorageSync("processReportListParams").workingNode
}) })
</script> </script>

Loading…
Cancel
Save