Commit 8a983a23 authored by kzy's avatar kzy

Merge branch 'project1' of http://gitlab.91isoft.com:90/yangshuo/template_vue into project1

parents 39ceb6cc 584b2985
...@@ -524,12 +524,19 @@ export default { ...@@ -524,12 +524,19 @@ export default {
/* 激活打开废弃信息栏 */ /* 激活打开废弃信息栏 */
this.activateAbandonedState = true this.activateAbandonedState = true
this.title = '记录详情' this.title = '记录详情'
console.log(row) if (response.data === 'fail') {
console.log(response.data) this.singleDetails = Object.assign({}, { ...row })
const { fqBz, fqDbxi, fqDd, fqMcode, fqYy } = response.data this.$message({
const fq = { fqBz, fqDbxi, fqDd, fqMcode, fqYy } showClose: true,
message: response.message,
type: 'warning'
})
} else {
var { fqYs, fqBz, fqDbxi, fqDd, fqMcode, fqYy } = response.data
var fq = { fqYs, fqBz, fqDbxi, fqDd, fqMcode, fqYy }
this.singleDetails = Object.assign({}, { ...row }, { ...fq }) this.singleDetails = Object.assign({}, { ...row }, { ...fq })
console.log(this.singleDetails) }
} }
) )
} }
......
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