|
@ -157,9 +157,7 @@ |
|
|
</el-drawer> |
|
|
</el-drawer> |
|
|
</template> |
|
|
</template> |
|
|
<script> |
|
|
<script> |
|
|
import { getListByItemcode,byItem,byProduct,byComponent,bySupplierCode,byLocation,byLocationCode, |
|
|
import { getPageListForDetail } from "@/api/wms-api" |
|
|
relationByLocationCode,byComponentCJ,purRecNoteCustomInfo,getPageListForDetail |
|
|
|
|
|
} from "@/api/wms-api" |
|
|
|
|
|
import searchOverall from "@/components/searchOverall" |
|
|
import searchOverall from "@/components/searchOverall" |
|
|
import currenButton from "@/components/currenButton" |
|
|
import currenButton from "@/components/currenButton" |
|
|
import currenDescriptions from "@/components/currenDescriptions" |
|
|
import currenDescriptions from "@/components/currenDescriptions" |
|
@ -580,27 +578,27 @@ export default { |
|
|
this.otherData = [] |
|
|
this.otherData = [] |
|
|
// this.firstTabs = val.name |
|
|
// this.firstTabs = val.name |
|
|
// 其他自定义tab页 |
|
|
// 其他自定义tab页 |
|
|
if (item.functionName == 'getListByItemcode') { |
|
|
// if (item.functionName == 'getListByItemcode') { |
|
|
let params = { |
|
|
// let params = { |
|
|
itemCode: this.propsData.code |
|
|
// itemCode: this.propsData.code |
|
|
} |
|
|
// } |
|
|
getListByItemcode(params, item.url).then(res => { |
|
|
// getListByItemcode(params, item.url).then(res => { |
|
|
let zdyTableColumnsJSON = JSON.parse(JSON.stringify(this.$isTableColumns[item.tableColumns])); |
|
|
// let zdyTableColumnsJSON = JSON.parse(JSON.stringify(this.$isTableColumns[item.tableColumns])); |
|
|
delete zdyTableColumnsJSON[0].type |
|
|
// delete zdyTableColumnsJSON[0].type |
|
|
this.zdyTableColumns = zdyTableColumnsJSON |
|
|
// this.zdyTableColumns = zdyTableColumnsJSON |
|
|
this.otherData = res |
|
|
// this.otherData = res |
|
|
parent.tableLoading = false |
|
|
// parent.tableLoading = false |
|
|
}).catch(err => { |
|
|
// }).catch(err => { |
|
|
console.log(err) |
|
|
// console.log(err) |
|
|
parent.tableLoading = false |
|
|
// parent.tableLoading = false |
|
|
}) |
|
|
// }) |
|
|
} |
|
|
// } |
|
|
else if(item.functionName == "customerDismantleBackFlushNote"){ |
|
|
// else if(item.functionName == "customerDismantleBackFlushNote"){ |
|
|
let zdyTableColumnsJSON = JSON.parse(JSON.stringify(this.$isTableColumns[item.tableColumns])); |
|
|
// let zdyTableColumnsJSON = JSON.parse(JSON.stringify(this.$isTableColumns[item.tableColumns])); |
|
|
delete zdyTableColumnsJSON[0].type |
|
|
// delete zdyTableColumnsJSON[0].type |
|
|
this.zdyTableColumns = zdyTableColumnsJSON |
|
|
// this.zdyTableColumns = zdyTableColumnsJSON |
|
|
this.otherData = this.propsData.noteAndBackFlushDetails |
|
|
// this.otherData = this.propsData.noteAndBackFlushDetails |
|
|
} |
|
|
// } |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|