|
|
|
@ -231,7 +231,7 @@ export default {
|
|
|
|
|
PrevInfo(this.dataForm.id).then(res => {
|
|
|
|
|
if (!res.data) {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.$message({ message: '第一单了哦', type: 'warning', duration: 1500 })
|
|
|
|
|
this.$message({ message: '第一单了哦', type: 'warning', duration: 2500 })
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.dataForm = res.data
|
|
|
|
@ -251,7 +251,7 @@ export default {
|
|
|
|
|
NextInfo(this.dataForm.id).then(res => {
|
|
|
|
|
if (!res.data) {
|
|
|
|
|
this.loading = false
|
|
|
|
|
this.$message({ message: '最后一单了哦', type: 'warning', duration: 1500 })
|
|
|
|
|
this.$message({ message: '最后一单了哦', type: 'warning', duration: 2500 })
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
this.dataForm = res.data
|
|
|
|
@ -299,7 +299,7 @@ export default {
|
|
|
|
|
if (res.data && res.data.url) {
|
|
|
|
|
this.jnpf.downloadFile(res.data.url)
|
|
|
|
|
} else {
|
|
|
|
|
this.$message({ message: '导出失败', type: 'error', duration: 1500 })
|
|
|
|
|
this.$message({ message: '导出失败', type: 'error', duration: 2500 })
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|