diff --git a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue index d108407a..70bcf3fb 100644 --- a/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue +++ b/sgzb-ui/src/views/claimAndreturn/picking/apply/component/home.vue @@ -206,6 +206,7 @@ align="center" prop="createTimes" show-overflow-tooltip + sortable /> + + {{ detailsProName }} + { - this.proList = response.data - }) + async getProList(id) { + const { data: res } = await getProData({ id }) + this.proList = res }, getTypeList() { getTypeList({ level: '3' }).then((response) => { @@ -838,6 +847,7 @@ export default { resetQuery() { this.resetForm('queryForm') this.handleQuery() + this.getProList() }, /** 查询列表 */ getList() { @@ -850,11 +860,12 @@ export default { }, //查看按钮 handleView(row) { + this.detailsProName = row.proName this.openLeaseDevices = true this.isView = true this.dialogQuery.id = row.id this.resetDialogQuery() - // this.getDialogList(); + this.getDialogList() }, /** 查询列表 */ getDialogList() { @@ -874,6 +885,7 @@ export default { }, /** 出库按钮操作 */ handleOut(row) { + this.detailsProName = row.proName this.openLeaseDevices = true this.isView = false this.dialogQuery.id = row.id @@ -1071,6 +1083,11 @@ export default { handlePrinting() { this.$refs.remarksPrintRef.print() }, + + // 单位名称选择后 获取对应的工程 + unitChange(val) { + this.getProList(val) + }, }, } diff --git a/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue b/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue index df84d7f5..ad0093b2 100644 --- a/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue +++ b/sgzb-ui/src/views/claimAndreturn/picking/query/index.vue @@ -159,13 +159,13 @@ :show-overflow-tooltip="true" /> -