Browse Source

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

master
bjang03 7 months ago
parent
commit
2339b0c884
  1. 5
      src/pages/mes/workScheduling/processReportPeopleCheck.vue

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

@ -19,7 +19,6 @@
<!-- </view>-->
</view>
</view>
<u-alert-tips type="error" :title="系统提示" close-text="close" :description="请选择人员" :close-able="true" :show="show"></u-alert-tips>
</template>
<script setup lang="ts">
@ -45,7 +44,6 @@ const data = ref({
processCode: '',
nickName: ''
})
let show = false
let checked: string | any[] = []
/* 是否显示"没有更多了" */
const status = ref('loadmore')
@ -57,7 +55,7 @@ async function getList() {
if (status.value === 'nomore') return
status.value = '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"}"
await workSchedulingApi.getConfigProcessWorker(data.value).then((res) => {
uni.setStorageSync("isLeader", res.data.leader)
if (res.data.leader) {
@ -96,6 +94,7 @@ function onSubmit() {
})
}
onLoad((option) => {
// "{"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"}"
data.value.planDayCode = uni.getStorageSync("processReportListParams").planMasterCode
data.value.processCode = uni.getStorageSync("processReportListParams").workingNode
})

Loading…
Cancel
Save