|
@@ -140,6 +140,7 @@ export default {
|
|
|
|
|
|
|
|
|
let a = this.formData.assetsId.indexOf('-');
|
|
|
+ let b = this.formData.assetsId.split('-')[1];
|
|
|
// this.formData.assetsId
|
|
|
this.formData.assetsId = this.formData.assetsId.substring(0, a);
|
|
|
this.$http
|
|
@@ -150,6 +151,7 @@ export default {
|
|
|
this.params.callback();
|
|
|
this.$emit('close');
|
|
|
} else {
|
|
|
+ this.formData.assetsId = this.formData.assetsId + '-' + b;
|
|
|
this.$message.error(msg);
|
|
|
}
|
|
|
loading.close();
|