|
@@ -85,7 +85,6 @@
|
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
|
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
|
|
import { validateDuplicateValue } from '@/utils/util'
|
|
import { validateDuplicateValue } from '@/utils/util'
|
|
import JDate from '@/components/jeecg/JDate'
|
|
import JDate from '@/components/jeecg/JDate'
|
|
- import JYearPicker from '@/components/date/YearSelect'
|
|
|
|
import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
import JSelectDepart from '@/components/jeecgbiz/JSelectDepart'
|
|
export default {
|
|
export default {
|
|
name: 'BudgetCostModal',
|
|
name: 'BudgetCostModal',
|
|
@@ -281,6 +280,18 @@
|
|
if (this.model.id) {
|
|
if (this.model.id) {
|
|
let params = { id: this.model.id }
|
|
let params = { id: this.model.id }
|
|
this.requestSubTableData(this.url.budgetCostDetail.list, params, this.budgetCostDetailTable)
|
|
this.requestSubTableData(this.url.budgetCostDetail.list, params, this.budgetCostDetailTable)
|
|
|
|
+ console.log("ssss6666",this.budgetCostDetailTable)
|
|
|
|
+ // console.log("this.budgetCostDetailTable.dataSource[i].budgetMoney",this.budgetCostDetailTable.dataSource[0].budgetMoney)
|
|
|
|
+ // let budgetMoney;
|
|
|
|
+ // for(var i = 0;i<this.budgetCostDetailTable.dataSource.length;i++){
|
|
|
|
+ // budgetMoney+= this.budgetCostDetailTable.dataSource[i].budgetMoney;
|
|
|
|
+ // }
|
|
|
|
+ // console.log("sssss888",budgetMoney)
|
|
|
|
+ // this.budgetCostDetailTable.dataSource.push({
|
|
|
|
+ // department: '合计',
|
|
|
|
+ // budgetMoney: budgetMoney,
|
|
|
|
+ // })
|
|
|
|
+ // console.log("ssss777",this.budgetCostDetailTable.dataSource)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
/** 整理成formData */
|
|
/** 整理成formData */
|