|
@@ -706,6 +706,7 @@
|
|
|
accountingSubjectList: [],
|
|
accountingSubjectList: [],
|
|
|
deptList: [],
|
|
deptList: [],
|
|
|
deptTreeList: [],
|
|
deptTreeList: [],
|
|
|
|
|
+ tableForm: {},
|
|
|
rules: {
|
|
rules: {
|
|
|
applyDeptId: { required: true, message: '请选择', trigger: 'change' },
|
|
applyDeptId: { required: true, message: '请选择', trigger: 'change' },
|
|
|
applyUserId: { required: true, message: '请选择', trigger: 'change' },
|
|
applyUserId: { required: true, message: '请选择', trigger: 'change' },
|
|
@@ -728,7 +729,7 @@
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
//从发票管理新增发票初始化
|
|
//从发票管理新增发票初始化
|
|
|
- async init(row = {}, type) {
|
|
|
|
|
|
|
+ async init(type, row = {}) {
|
|
|
this.title = type == 'add' ? '新增' : '修改';
|
|
this.title = type == 'add' ? '新增' : '修改';
|
|
|
this.dialogType = type;
|
|
this.dialogType = type;
|
|
|
if (type == 'add') {
|
|
if (type == 'add') {
|