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