|
@@ -259,6 +259,7 @@ const config = computed(() => {
|
|
|
click() {
|
|
|
depModal.value = true;
|
|
|
runningWaterId = row.id
|
|
|
+ dtlData.value = row
|
|
|
departmentId.value = []
|
|
|
},
|
|
|
},
|
|
@@ -278,7 +279,7 @@ const config = computed(() => {
|
|
|
},
|
|
|
];
|
|
|
});
|
|
|
-
|
|
|
+const dtlData = ref({})
|
|
|
let formData = reactive({
|
|
|
data: {
|
|
|
type: "1",
|
|
@@ -320,7 +321,9 @@ const submitDeptForm = async (departmentId) => {
|
|
|
}
|
|
|
const params = {
|
|
|
deptId: departmentId[departmentId.length - 1],
|
|
|
- accountDeptRunningWaterId: runningWaterId
|
|
|
+ accountDeptRunningWaterId: dtlData.value.runningWaterId,
|
|
|
+ id: dtlData.value.id,
|
|
|
+ amount: dtlData.value.amount,
|
|
|
};
|
|
|
proxy
|
|
|
.post("/accountDeptRunningWaterDetail/add", params)
|