|
@@ -1710,11 +1710,15 @@ export default {
|
|
|
},
|
|
|
//打开附件
|
|
|
annexOpen(row, index) {
|
|
|
- this.enclosure = true
|
|
|
- this.formAnnex = row
|
|
|
- getFee({id: row.id}).then(res => {
|
|
|
- this.orderList = res.data.data
|
|
|
- })
|
|
|
+ if(row.id){
|
|
|
+ this.enclosure = true
|
|
|
+ this.formAnnex = row
|
|
|
+ getFee({id: row.id}).then(res => {
|
|
|
+ this.orderList = res.data.data
|
|
|
+ })
|
|
|
+ }else {
|
|
|
+ this.$message.error('请保存后再上传附件');
|
|
|
+ }
|
|
|
},
|
|
|
//保存
|
|
|
saveAnnex() {
|