|
@@ -899,8 +899,8 @@ export default {
|
|
|
syPackingListFabricItem:this.addFabricData
|
|
|
}
|
|
|
await this.JudgeVluabled(newObj)
|
|
|
- this.confirmLoading = true
|
|
|
if(this.judge == 0){
|
|
|
+ this.confirmLoading = true
|
|
|
if(this.defaultMethod === 'add'){
|
|
|
addFabricList(newObj).then(res => {
|
|
|
this.confirmLoading = false
|
|
@@ -966,6 +966,7 @@ export default {
|
|
|
close() {
|
|
|
this.$emit('close')
|
|
|
this.visible = false
|
|
|
+ this.confirmLoading = false
|
|
|
this.defaultMethod = 'add'
|
|
|
this.addFabric = {}
|
|
|
this.addFabricData = []
|