|
|
@ -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() |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|