应用中心 脚本管理、数据源管理修改与开发
This commit is contained in:
parent
f2a966e936
commit
ac8a612492
|
@ -266,6 +266,7 @@ export default {
|
|||
addMainAddRow() {
|
||||
if (!this.receiptsTableData.length) {
|
||||
this.$vmNews('请添加单据规则后,再添加数据表。')
|
||||
return
|
||||
}
|
||||
this.mainTableDialogShow = true
|
||||
this.$nextTick(() => {
|
||||
|
@ -414,7 +415,8 @@ export default {
|
|||
return
|
||||
}
|
||||
//判断是主表还是子表 "dbType":"2",//类型 1、主表 2、明细
|
||||
if (this.mainTableData.length && !form.id) {
|
||||
console.log(this.mainTableData.length && !form.id,'this.mainTableData.length && !form.id',form,this.mainTableData.length,)
|
||||
if (this.mainTableData.length && form.id) {
|
||||
this.$set(form, 'dbType', 2)
|
||||
} else {
|
||||
this.$set(form, 'dbType', 1)
|
||||
|
|
Loading…
Reference in New Issue