否
diff --git a/sgzb-ui/src/views/claimAndreturn/return/query/index.vue b/sgzb-ui/src/views/claimAndreturn/return/query/index.vue
index be41f595..cb028141 100644
--- a/sgzb-ui/src/views/claimAndreturn/return/query/index.vue
+++ b/sgzb-ui/src/views/claimAndreturn/return/query/index.vue
@@ -179,6 +179,7 @@
align="center"
prop="createTime"
:show-overflow-tooltip="true"
+ sortable
/>
@@ -24,7 +25,7 @@
v-model="queryParams.unitId"
filterable
clearable
- @change="GetProData"
+ @change="unitChange"
style="width: 240px"
placeholder="请选择"
>
@@ -42,7 +43,6 @@
v-model="queryParams.proId"
filterable
clearable
- @change="GetUnitData"
style="width: 240px"
placeholder="请选择"
>
@@ -290,13 +290,9 @@ export default {
console.log('GetUnitData ======================', res)
},
// 获取 工程名称 列表数据
- async getProList() {
- const params = {
- id: this.queryParams.unitId,
- }
- const res = await getProData(params)
- this.proList = res.data
- console.log('GetProData ======================', res)
+ async getProList(id) {
+ const { data: res } = await getProData({ id })
+ this.proList = res
},
// 表单重置
@@ -317,6 +313,7 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
+ this.getProList()
this.queryParams.time = []
this.queryParams.unitId = ''
this.queryParams.proId = ''
@@ -334,6 +331,10 @@ export default {
`综合查询_退料记录_${new Date().getTime()}.xlsx`,
)
},
+ // 单位名称选择后 获取对应的工程
+ unitChange(val) {
+ this.getProList(val)
+ },
},
}
diff --git a/sgzb-ui/src/views/system/dict/index.vue b/sgzb-ui/src/views/system/dict/index.vue
index 442864ce..ae6274ba 100644
--- a/sgzb-ui/src/views/system/dict/index.vue
+++ b/sgzb-ui/src/views/system/dict/index.vue
@@ -1,16 +1,23 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+ 刷新缓存
+
+
+
+
+
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
+
+
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ 修改
+ 删除
+
+
+
-
-
- 新增
-
-
- 修改
-
-
- 删除
-
-
- 导出
-
-
- 刷新缓存
-
-
-
+
-
-
-
-
-
-
-
- {{ scope.row.name }}
-
-
-
-
-
-
-
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
- {{dict.label}}
-
-
-
-
-
-
-
-
-
+
+
+ {{ dict.label }}
+
+
+
+
+
+
+
+
+