|
@@ -949,6 +949,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ tableData: [],
|
|
|
|
|
+ tableRef: null,
|
|
|
currentNodeName: "",
|
|
currentNodeName: "",
|
|
|
confirmStatusList: [],
|
|
confirmStatusList: [],
|
|
|
validRules: {
|
|
validRules: {
|
|
@@ -2252,12 +2254,13 @@ export default {
|
|
|
this.inputForm.detailInfoContracts[rowIndex].contractName = row.contractName
|
|
this.inputForm.detailInfoContracts[rowIndex].contractName = row.contractName
|
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
|
},
|
|
},
|
|
|
- changeSourceType() {
|
|
|
|
|
|
|
+ changeSourceType(value) {
|
|
|
this.inputForm.detailInfos = []
|
|
this.inputForm.detailInfos = []
|
|
|
this.inputForm.detailInfoContracts = []
|
|
this.inputForm.detailInfoContracts = []
|
|
|
this.inputForm.detailInfoReports = []
|
|
this.inputForm.detailInfoReports = []
|
|
|
this.inputForm.detailInfoOthers = []
|
|
this.inputForm.detailInfoOthers = []
|
|
|
this.inputForm.detailInfoProcured = []
|
|
this.inputForm.detailInfoProcured = []
|
|
|
|
|
+ this.inputForm.detailInfoProject = []
|
|
|
this.inputForm.purchaseNo = ''
|
|
this.inputForm.purchaseNo = ''
|
|
|
this.inputForm.preList = ''
|
|
this.inputForm.preList = ''
|
|
|
this.inputForm.purchaseId = ''
|
|
this.inputForm.purchaseId = ''
|
|
@@ -2266,9 +2269,7 @@ export default {
|
|
|
this.detailKeyReport = Math.random()
|
|
this.detailKeyReport = Math.random()
|
|
|
this.detailKeyOthers = Math.random()
|
|
this.detailKeyOthers = Math.random()
|
|
|
this.detailKeyProcured = Math.random()
|
|
this.detailKeyProcured = Math.random()
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
- this.handleTableInfo(value)
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ this.detailKeyProject = Math.random()
|
|
|
},
|
|
},
|
|
|
submitCheck() {
|
|
submitCheck() {
|
|
|
if (this.commonJS.isEmpty(this.inputForm.sourceType)) {
|
|
if (this.commonJS.isEmpty(this.inputForm.sourceType)) {
|
|
@@ -2731,6 +2732,10 @@ export default {
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
handleTableInfo(value) {
|
|
handleTableInfo(value) {
|
|
|
|
|
+ console.log(value);
|
|
|
|
|
+ console.log(value);
|
|
|
|
|
+ console.log(value);
|
|
|
|
|
+ console.log(value);
|
|
|
|
|
|
|
|
if (value === '1') {
|
|
if (value === '1') {
|
|
|
this.tableRef = this.$refs.detailTable
|
|
this.tableRef = this.$refs.detailTable
|
|
@@ -2808,6 +2813,11 @@ export default {
|
|
|
handleDefaultExpand() {
|
|
handleDefaultExpand() {
|
|
|
this.handleTableInfo(this.inputForm.sourceType)
|
|
this.handleTableInfo(this.inputForm.sourceType)
|
|
|
let arr = []
|
|
let arr = []
|
|
|
|
|
+ console.log(this.tableData);
|
|
|
|
|
+ console.log(this.tableData);
|
|
|
|
|
+ console.log(this.tableData);
|
|
|
|
|
+ console.log(this.tableData);
|
|
|
|
|
+
|
|
|
this.tableData.forEach((item, index) => {
|
|
this.tableData.forEach((item, index) => {
|
|
|
if (item.reimbursementType) {
|
|
if (item.reimbursementType) {
|
|
|
arr.push(item.uniqueId)
|
|
arr.push(item.uniqueId)
|