|
@@ -22,7 +22,15 @@ export default {
|
|
|
async copyData(){
|
|
|
this.param.content.sa_orderid = this.sa_orderid
|
|
|
const res = await this.$api.requested(this.param)
|
|
|
- this.copyPath(res.data)
|
|
|
+ if (res.code == 0){
|
|
|
+ this.$notify.error({
|
|
|
+ title: res.data,
|
|
|
+ message: res.msg
|
|
|
+ });
|
|
|
+ }else {
|
|
|
+ this.copyPath(res.data)
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
copyPath(item){
|
|
|
this.$store.dispatch('changeDetailDrawer',false)
|