|
@@ -138,15 +138,15 @@ export default {
|
|
spinner: 'el-icon-loading',
|
|
spinner: 'el-icon-loading',
|
|
background: 'rgba(255,255,255,0.7)'
|
|
background: 'rgba(255,255,255,0.7)'
|
|
});
|
|
});
|
|
- let obj={
|
|
|
|
|
|
+ let obj = {
|
|
...this.bigObj,
|
|
...this.bigObj,
|
|
- periodVouchersTemplate:this.form
|
|
|
|
|
|
+ periodVouchersTemplate: this.form
|
|
}
|
|
}
|
|
submit(obj).then(res => {
|
|
submit(obj).then(res => {
|
|
this.form = res.data.data
|
|
this.form = res.data.data
|
|
this.$message.success("保存成功");
|
|
this.$message.success("保存成功");
|
|
this.editButton = true;
|
|
this.editButton = true;
|
|
- this.getDetail(this.form.periodVouchersTemplate.id,this.form.periodVouchersTemplate.bsType)
|
|
|
|
|
|
+ this.getDetail(this.form.periodVouchersTemplate.id, this.form.periodVouchersTemplate.bsType)
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
loading.close();
|
|
loading.close();
|
|
});
|
|
});
|
|
@@ -169,7 +169,13 @@ export default {
|
|
loading.close();
|
|
loading.close();
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
loading.close();
|
|
loading.close();
|
|
- })
|
|
|
|
|
|
+ }).finally(() => {
|
|
|
|
+ this.form.accItems.forEach((e, index) => {
|
|
|
|
+ if (e.selected == 'true') {
|
|
|
|
+ this.$refs.crud.toggleRowSelection(e);
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ });
|
|
},
|
|
},
|
|
importData() {
|
|
importData() {
|
|
this.$confirm('是否导入科目明细总账?', '提示', {
|
|
this.$confirm('是否导入科目明细总账?', '提示', {
|