|
|
@@ -669,7 +669,7 @@
|
|
|
</el-form>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button size="mini" @click="cancelOption()">取 消</el-button>
|
|
|
- <el-button size="mini" type="primary" @click="ensureOption()">确 定</el-button>
|
|
|
+ <el-button :loading="islostTableData" size="mini" type="primary" @click="ensureOption()">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -1126,6 +1126,7 @@
|
|
|
description: '',
|
|
|
id: 0
|
|
|
},
|
|
|
+ islostTableData: false,
|
|
|
// 增项信息表
|
|
|
formData: {
|
|
|
Id: '',
|
|
|
@@ -1579,7 +1580,7 @@
|
|
|
},
|
|
|
checkLostCertTimeOut () {
|
|
|
let _this = this
|
|
|
- this.loading = true
|
|
|
+ this.islostTableData = true
|
|
|
setTimeout(function () {
|
|
|
_this.$nextTick(() => {
|
|
|
_this.checkLostCert()
|
|
|
@@ -1615,6 +1616,11 @@
|
|
|
}
|
|
|
_this.$axios.post('/suppliercertsub/tech-cert-lost', params).then(res => {
|
|
|
_this.lostTableData = res.data
|
|
|
+ if (!res.data) {
|
|
|
+ this.islostTableData = false
|
|
|
+ } else {
|
|
|
+ this.islostTableData = true
|
|
|
+ }
|
|
|
this.loading = false
|
|
|
}).catch(err => {
|
|
|
this.loading = false
|
|
|
@@ -2799,6 +2805,8 @@
|
|
|
// 添加增项分类
|
|
|
addSortData () {
|
|
|
let _this = this
|
|
|
+ this.islostTableData = false
|
|
|
+ this.lostTableData = []
|
|
|
// 先判断是否保存了增项信息
|
|
|
if (this.checkAppendSave()) {
|
|
|
_this.dialogVisible = true
|