|
|
@@ -369,7 +369,7 @@ import WfHistory from '@/components/workflow/wfhistory.vue'
|
|
|
})
|
|
|
.then(() => {
|
|
|
_this.appendformData.AppendType = '01'
|
|
|
- console.log(_this.appendformData.SupplierId, '_this.appendformData.SupplierId')
|
|
|
+ console.log(_this.appendformData.SupplierId, '增项申请主表')
|
|
|
_this.appendformData.SupplierId = parseInt(_this.appendformData.SupplierId)
|
|
|
if (!_this.appendformData.SupplierId && _this.IsCompanyUser == 0) {
|
|
|
_this.appendformData.SupplierId = ''
|
|
|
@@ -490,6 +490,7 @@ import WfHistory from '@/components/workflow/wfhistory.vue'
|
|
|
type: 'warning'
|
|
|
})
|
|
|
.then(() => {
|
|
|
+ _this.tableLoading = true
|
|
|
api.deleteEntity(Id, _this.$axios)
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
@@ -499,11 +500,13 @@ import WfHistory from '@/components/workflow/wfhistory.vue'
|
|
|
})
|
|
|
// 更新
|
|
|
this.initData()
|
|
|
+ _this.tableLoading = false
|
|
|
} else {
|
|
|
_this.$message({
|
|
|
type: 'warning',
|
|
|
message: res.data.message
|
|
|
})
|
|
|
+ _this.tableLoading = false
|
|
|
}
|
|
|
})
|
|
|
.catch(() => {})
|