This commit is contained in:
weiwei committed 2025-03-29 16:58:14 +08:00
1 parent 8fc7beb476
commit 7c6cdbee42
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ const onSubmit = async () => {
isSyncZy: form.isSyncZy ? "1" : "0",
jobTime: (jobTime.morning?.join("-") || "") + "," + (jobTime.noon?.join("-") || "") + "," + (jobTime.evening?.join("-") || ""),
cooperationStatus: form.types == "2" && form.supType == "10" ? null : form.cooperationStatus,
parentId: form.types == "2" && form.supType == "10" ? null : form.parentId,
parentId: form.types == "2" && form.supType == "10" ? -1 : form.parentId,
}
try {
loading.value = true
+1 -1
View File
@@ -194,7 +194,7 @@ const state: BasicTableProps = reactive<BasicTableProps>({
const { getDataList, currentChangeHandle, sizeChangeHandle, sortChangeHandle, downBlobFile, tableStyle } = useTable(state)
const tableRowClassName = ({ row, rowIndex }: { row: any; rowIndex: number }) => {
if (row.parentId) {
if (row.parentId && row.parentId != "-1") {
return "success-row"
}
}