Browse Source

MES——> PDA 工序完成按钮二次确认

master
gaojs 6 months ago
parent
commit
a97cd75419
  1. 23
      src/pages/mes/workScheduling/workScheduling.vue

23
src/pages/mes/workScheduling/workScheduling.vue

@ -268,17 +268,18 @@ onReachBottom(() => {
//
function nodeCodeFinish(item){
console.log(item.remark)
proxy.$modal.loading('加载中')
workSchedulingListApi.getWorkSchedulingProcessFinished(item.remark).then((res) => {
proxy.$modal.showToast('成功')
console.log(res.data)
tabsChange(3);
proxy.$modal.closeLoading()
}).catch(() => {
proxy.$modal.showToast('失败')
proxy.$modal.closeLoading()
})
proxy.$modal.confirm("是否确认完成工序").then(()=>{
proxy.$modal.loading('加载中')
workSchedulingListApi.getWorkSchedulingProcessFinished(item.remark).then((res) => {
proxy.$modal.showToast('成功')
console.log(res.data)
tabsChange(3);
proxy.$modal.closeLoading()
}).catch(() => {
proxy.$modal.showToast('失败')
proxy.$modal.closeLoading()
})
})
}

Loading…
Cancel
Save