Commit 9d0319eb authored by linxin's avatar linxin

Merge branch 'liuxin' into develop

parents a9ff1ebf ac530da8
Pipeline #4456 canceled with stages
......@@ -577,31 +577,27 @@ export default {
}
})
},
isComputedCheck () {
async isComputedCheck () {
let vm = this
let url = process.env.basePath + 'prj_product_cal_status'
let param = {
master: {
project_id: vm.saveInfo.product_id,
},
project_id: vm.saveInfo.project_id,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
if (res.info.success_flag === 'Y') {
vm.isComputed = true
} else {
vm.isComputed = false
}
// hlsPopup.showLoading('请稍候')
let res = await vm.$post(url, param)
if (res.result === 'S') {
if (res.info.success_flag === 'Y') {
return true
} else {
hlsPopup.showLongCenter(res.message)
return false
}
})
} else {
hlsPopup.showLongCenter(res.message)
}
},
next () {
async next () {
let vm = this
vm.isComputedCheck()
vm.isComputed = await vm.isComputedCheck()
if (vm.isReadOnly) {
vm.$router.push({
name: 'CreateEnclosureInfo',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment