|
@@ -268,7 +268,7 @@ export default {
|
|
|
},
|
|
|
btn(row) {
|
|
|
const { hisName, hisDetailName } = this.form;
|
|
|
- if (hisName !== '' && hisDetailName === '') {
|
|
|
+ if (hisName !== '' && hisDetailName === '' && this.type == 1) {
|
|
|
this.ty = 1;
|
|
|
} else if (hisName !== '' && hisDetailName !== '') {
|
|
|
this.ty = 2;
|