|
|
@ -50,7 +50,7 @@
|
|
|
|
</hot-table>
|
|
|
|
</hot-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <div class="SearchBox" v-if="TotTableType">
|
|
|
|
<div class="SearchBox">
|
|
|
|
<BasicForm class="Form" @register="registerSearchBoxForm" />
|
|
|
|
<BasicForm class="Form" @register="registerSearchBoxForm" />
|
|
|
|
<div class="ButtonBox">
|
|
|
|
<div class="ButtonBox">
|
|
|
|
<a-button size="default" @click="handleReset"> 重置 </a-button>
|
|
|
|
<a-button size="default" @click="handleReset"> 重置 </a-button>
|
|
|
@ -59,7 +59,7 @@
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="HotTable" v-if="TotTableType">
|
|
|
|
<div class="HotTable">
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<a-button type="link" @click="ViewTableAdd" class="pl0">
|
|
|
|
<a-button type="link" @click="ViewTableAdd" class="pl0">
|
|
|
|
<span class="iconfont icon-new_document"></span>
|
|
|
|
<span class="iconfont icon-new_document"></span>
|
|
|
@ -83,7 +83,7 @@
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</hot-table>
|
|
|
|
</hot-table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
</div>
|
|
|
|
</a-tab-pane>
|
|
|
|
</a-tab-pane>
|
|
|
|
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
|
|
|
|
<a-tab-pane key="2" tab="电子文档" :disabled="!rowId">
|
|
|
|
<DsFile ref="dsFile" fileType="infoclient" :id="rowId" />
|
|
|
|
<DsFile ref="dsFile" fileType="infoclient" :id="rowId" />
|
|
|
@ -114,7 +114,7 @@
|
|
|
|
</a-tabs>
|
|
|
|
</a-tabs>
|
|
|
|
<!--右下角按钮-->
|
|
|
|
<!--右下角按钮-->
|
|
|
|
<template #footer>
|
|
|
|
<template #footer>
|
|
|
|
<!-- <a-button
|
|
|
|
<a-button
|
|
|
|
pre-icon="ant-design:check-circle-outlined"
|
|
|
|
pre-icon="ant-design:check-circle-outlined"
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
:loading="loading"
|
|
|
|
:loading="loading"
|
|
|
@ -122,8 +122,8 @@
|
|
|
|
@click="Confirm()"
|
|
|
|
@click="Confirm()"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
确认执行
|
|
|
|
确认执行
|
|
|
|
</a-button> -->
|
|
|
|
</a-button>
|
|
|
|
<!-- <a-button
|
|
|
|
<a-button
|
|
|
|
pre-icon="ant-design:check-circle-outlined"
|
|
|
|
pre-icon="ant-design:check-circle-outlined"
|
|
|
|
type="primary"
|
|
|
|
type="primary"
|
|
|
|
:loading="loading"
|
|
|
|
:loading="loading"
|
|
|
@ -131,7 +131,7 @@
|
|
|
|
@click="Cancel()"
|
|
|
|
@click="Cancel()"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
取消执行
|
|
|
|
取消执行
|
|
|
|
</a-button> -->
|
|
|
|
</a-button>
|
|
|
|
<a-button
|
|
|
|
<a-button
|
|
|
|
pre-icon="ant-design:close-outlined"
|
|
|
|
pre-icon="ant-design:close-outlined"
|
|
|
|
type="warning"
|
|
|
|
type="warning"
|
|
|
@ -188,10 +188,10 @@
|
|
|
|
ApiListDetail,
|
|
|
|
ApiListDetail,
|
|
|
|
ApiDelDetail,
|
|
|
|
ApiDelDetail,
|
|
|
|
// ApiMakeFee,
|
|
|
|
// ApiMakeFee,
|
|
|
|
// ApiDetailView,
|
|
|
|
ApiDetailView,
|
|
|
|
// ApiAddCtn,
|
|
|
|
ApiAddCtn,
|
|
|
|
// ApiConfirm,
|
|
|
|
ApiConfirm,
|
|
|
|
// ApiCancel,
|
|
|
|
ApiCancel,
|
|
|
|
} from './api'
|
|
|
|
} from './api'
|
|
|
|
import { GetClientListByCode } from '/@/api/common'
|
|
|
|
import { GetClientListByCode } from '/@/api/common'
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'
|
|
|
@ -211,24 +211,14 @@
|
|
|
|
labelWidth: 100,
|
|
|
|
labelWidth: 100,
|
|
|
|
schemas: formSchema,
|
|
|
|
schemas: formSchema,
|
|
|
|
showActionButtonGroup: false,
|
|
|
|
showActionButtonGroup: false,
|
|
|
|
submitFunc: submit,
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
const TotTableType = ref(false)
|
|
|
|
|
|
|
|
async function submit() {
|
|
|
|
|
|
|
|
const values = await validate()
|
|
|
|
|
|
|
|
if (values.rentDirectId == 1) {
|
|
|
|
|
|
|
|
TotTableType.value = true
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
TotTableType.value = false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
|
|
|
|
const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => {
|
|
|
|
resetFields()
|
|
|
|
resetFields()
|
|
|
|
setModalProps({ confirmLoading: false, loading: true })
|
|
|
|
setModalProps({ confirmLoading: false, loading: true })
|
|
|
|
isUpdate.value = !!data?.isUpdate
|
|
|
|
isUpdate.value = !!data?.isUpdate
|
|
|
|
activeKey.value = '1'
|
|
|
|
activeKey.value = '1'
|
|
|
|
TotTableType.value = false
|
|
|
|
|
|
|
|
// Viewlist.value.splice(0)
|
|
|
|
// Viewlist.value.splice(0)
|
|
|
|
list.value.splice(0)
|
|
|
|
list.value.splice(0)
|
|
|
|
if (unref(isUpdate)) {
|
|
|
|
if (unref(isUpdate)) {
|
|
|
@ -241,12 +231,12 @@
|
|
|
|
setFieldsValue({
|
|
|
|
setFieldsValue({
|
|
|
|
...res.data,
|
|
|
|
...res.data,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
submit()
|
|
|
|
|
|
|
|
GetListDetail()
|
|
|
|
GetListDetail()
|
|
|
|
// ViewlallCheck.value = false
|
|
|
|
ViewlallCheck.value = false
|
|
|
|
// ViewlsomeCheck.value = false
|
|
|
|
ViewlsomeCheck.value = false
|
|
|
|
// handleReset()
|
|
|
|
handleReset()
|
|
|
|
// GetViewListDetail('[]')
|
|
|
|
GetViewListDetail('[]')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
rowId.value = ''
|
|
|
|
rowId.value = ''
|
|
|
@ -254,17 +244,17 @@
|
|
|
|
setModalProps({ loading: false })
|
|
|
|
setModalProps({ loading: false })
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// function GetViewListDetail(queryCondition) {
|
|
|
|
function GetViewListDetail(queryCondition) {
|
|
|
|
// ApiDetailView({
|
|
|
|
ApiDetailView({
|
|
|
|
// queryCondition,
|
|
|
|
queryCondition,
|
|
|
|
// pageCondition: { pageIndex: 1, pageSize: 999, sortConditions: [] },
|
|
|
|
pageCondition: { pageIndex: 1, pageSize: 999, sortConditions: [] },
|
|
|
|
// }).then((res) => {
|
|
|
|
}).then((res) => {
|
|
|
|
// Viewlist.value.splice(0)
|
|
|
|
Viewlist.value.splice(0)
|
|
|
|
// res.data.forEach((item) => {
|
|
|
|
res.data.forEach((item) => {
|
|
|
|
// Viewlist.value.push(item)
|
|
|
|
Viewlist.value.push(item)
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
function GetListDetail() {
|
|
|
|
function GetListDetail() {
|
|
|
|
ApiListDetail({
|
|
|
|
ApiListDetail({
|
|
|
|
queryCondition: `[{ FieldName: 'Pid', FieldValue: '${rowId.value}', ConditionalType: 1 }]`,
|
|
|
|
queryCondition: `[{ FieldName: 'Pid', FieldValue: '${rowId.value}', ConditionalType: 1 }]`,
|
|
|
@ -295,52 +285,52 @@
|
|
|
|
// notification.success({ message: res.message, duration: 3 })
|
|
|
|
// notification.success({ message: res.message, duration: 3 })
|
|
|
|
// })
|
|
|
|
// })
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// function Confirm() {
|
|
|
|
function Confirm() {
|
|
|
|
// let type: boolean = true
|
|
|
|
let type: boolean = true
|
|
|
|
// let ApiData: any = {
|
|
|
|
let ApiData: any = {
|
|
|
|
// id: rowId.value,
|
|
|
|
id: rowId.value,
|
|
|
|
// ids: [],
|
|
|
|
ids: [],
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// list.value.forEach((e: any, i) => {
|
|
|
|
list.value.forEach((e: any, i) => {
|
|
|
|
// if (e.selected) {
|
|
|
|
if (e.selected) {
|
|
|
|
// if (e.id) {
|
|
|
|
if (e.id) {
|
|
|
|
// ApiData.ids.push(e.id)
|
|
|
|
ApiData.ids.push(e.id)
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// type = false
|
|
|
|
type = false
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// if (type) {
|
|
|
|
if (type) {
|
|
|
|
// ApiConfirm(ApiData).then((res) => {
|
|
|
|
ApiConfirm(ApiData).then((res) => {
|
|
|
|
// notification.success({ message: res.message, duration: 3 })
|
|
|
|
notification.success({ message: res.message, duration: 3 })
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// notification.success({ message: '请先保存明细表', duration: 3 })
|
|
|
|
notification.success({ message: '请先保存明细表', duration: 3 })
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// function Cancel() {
|
|
|
|
function Cancel() {
|
|
|
|
// let type: boolean = true
|
|
|
|
let type: boolean = true
|
|
|
|
// let ApiData: any = {
|
|
|
|
let ApiData: any = {
|
|
|
|
// id: rowId.value,
|
|
|
|
id: rowId.value,
|
|
|
|
// ids: [],
|
|
|
|
ids: [],
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// list.value.forEach((e: any, i) => {
|
|
|
|
list.value.forEach((e: any, i) => {
|
|
|
|
// if (e.selected) {
|
|
|
|
if (e.selected) {
|
|
|
|
// if (e.id) {
|
|
|
|
if (e.id) {
|
|
|
|
// ApiData.ids.push(e.id)
|
|
|
|
ApiData.ids.push(e.id)
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// type = false
|
|
|
|
type = false
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// if (type) {
|
|
|
|
if (type) {
|
|
|
|
// ApiCancel(ApiData).then((res) => {
|
|
|
|
ApiCancel(ApiData).then((res) => {
|
|
|
|
// notification.success({ message: res.message, duration: 3 })
|
|
|
|
notification.success({ message: res.message, duration: 3 })
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// notification.success({ message: '请先保存明细表', duration: 3 })
|
|
|
|
notification.success({ message: '请先保存明细表', duration: 3 })
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
async function handleSave(exit) {
|
|
|
|
async function handleSave(exit) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
const values = await validate()
|
|
|
|
const values = await validate()
|
|
|
@ -797,138 +787,136 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//--------------------------------------- tab1 View ---------------------------------------
|
|
|
|
//--------------------------------------- tab1 View ---------------------------------------
|
|
|
|
// const [
|
|
|
|
const [
|
|
|
|
// registerSearchBoxForm,
|
|
|
|
registerSearchBoxForm,
|
|
|
|
// { resetFields: resetSearchBoxFields, validate: validateSearchBox },
|
|
|
|
{ resetFields: resetSearchBoxFields, validate: validateSearchBox },
|
|
|
|
// ] = useForm({
|
|
|
|
] = useForm({
|
|
|
|
// labelWidth: 100,
|
|
|
|
labelWidth: 100,
|
|
|
|
// schemas: formSearchBoxSchema,
|
|
|
|
schemas: formSearchBoxSchema,
|
|
|
|
// showActionButtonGroup: false,
|
|
|
|
showActionButtonGroup: false,
|
|
|
|
// submitFunc: submit,
|
|
|
|
})
|
|
|
|
// })
|
|
|
|
const Viewlist = ref<any>([])
|
|
|
|
// const Viewlist = ref<any>([])
|
|
|
|
// 全部勾选
|
|
|
|
// // 全部勾选
|
|
|
|
const ViewlallCheck = ref(false)
|
|
|
|
// const ViewlallCheck = ref(false)
|
|
|
|
|
|
|
|
// 部分勾选
|
|
|
|
// 部分勾选
|
|
|
|
// const ViewlsomeCheck = ref(false)
|
|
|
|
const ViewlsomeCheck = ref(false)
|
|
|
|
// watchEffect(() => {
|
|
|
|
watchEffect(() => {
|
|
|
|
// // 全选
|
|
|
|
// 全选
|
|
|
|
// if (ViewlallCheck.value) {
|
|
|
|
if (ViewlallCheck.value) {
|
|
|
|
// Viewlist.value.forEach((item: any) => {
|
|
|
|
Viewlist.value.forEach((item: any) => {
|
|
|
|
// item.selected = true
|
|
|
|
item.selected = true
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// // 取消全选
|
|
|
|
// 取消全选
|
|
|
|
// Viewlist.value.forEach((item: any) => {
|
|
|
|
Viewlist.value.forEach((item: any) => {
|
|
|
|
// item.selected = false
|
|
|
|
item.selected = false
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// watch(
|
|
|
|
watch(
|
|
|
|
// Viewlist.value,
|
|
|
|
Viewlist.value,
|
|
|
|
// (val) => {
|
|
|
|
(val) => {
|
|
|
|
// let a = 0
|
|
|
|
let a = 0
|
|
|
|
// let b = 0
|
|
|
|
let b = 0
|
|
|
|
// val.forEach((item: any) => {
|
|
|
|
val.forEach((item: any) => {
|
|
|
|
// if (item.selected) {
|
|
|
|
if (item.selected) {
|
|
|
|
// a += 1
|
|
|
|
a += 1
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// b += 1
|
|
|
|
b += 1
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// if (a == 0) {
|
|
|
|
if (a == 0) {
|
|
|
|
// ViewlallCheck.value = false
|
|
|
|
ViewlallCheck.value = false
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// if (b == 0) {
|
|
|
|
if (b == 0) {
|
|
|
|
// ViewlallCheck.value = true
|
|
|
|
ViewlallCheck.value = true
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// if (a != 0 && b != 0) {
|
|
|
|
if (a != 0 && b != 0) {
|
|
|
|
// ViewlsomeCheck.value = true
|
|
|
|
ViewlsomeCheck.value = true
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// ViewlsomeCheck.value = false
|
|
|
|
ViewlsomeCheck.value = false
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// deep: true,
|
|
|
|
deep: true,
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// )
|
|
|
|
)
|
|
|
|
// const Viewsettings = {
|
|
|
|
const Viewsettings = {
|
|
|
|
// height: '163',
|
|
|
|
height: '163',
|
|
|
|
// readOnly: true,
|
|
|
|
readOnly: true,
|
|
|
|
// // autoWrapRow: true,
|
|
|
|
// autoWrapRow: true,
|
|
|
|
// // autoWrapCol: true,
|
|
|
|
// autoWrapCol: true,
|
|
|
|
// // 每行的高度
|
|
|
|
// 每行的高度
|
|
|
|
// rowHeights: 26,
|
|
|
|
rowHeights: 26,
|
|
|
|
// fixedColumnsLeft: 1,
|
|
|
|
fixedColumnsLeft: 1,
|
|
|
|
// // 需要隐藏的列
|
|
|
|
// 需要隐藏的列
|
|
|
|
// hiddenColumns: {
|
|
|
|
hiddenColumns: {
|
|
|
|
// columns: [1, 2, 3, 4, 5, 6, 7, 8],
|
|
|
|
columns: [1, 2, 3, 4, 5, 6, 7, 8],
|
|
|
|
// indicators: true,
|
|
|
|
indicators: true,
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// // // 控制回车移动
|
|
|
|
// // 控制回车移动
|
|
|
|
// // enterMoves: 'row',
|
|
|
|
// enterMoves: 'row',
|
|
|
|
// // columnSorting: false,
|
|
|
|
// columnSorting: false,
|
|
|
|
// // // 如果通过复制或者填写校验出现错误,清空输入框
|
|
|
|
// // 如果通过复制或者填写校验出现错误,清空输入框
|
|
|
|
// // afterValidate: function (isValid, value, row, prop, source) {
|
|
|
|
// afterValidate: function (isValid, value, row, prop, source) {
|
|
|
|
// // if (!isValid) {
|
|
|
|
// if (!isValid) {
|
|
|
|
// // hotTb.value.hotInstance.setDataAtRowProp(row, prop, '')
|
|
|
|
// hotTb.value.hotInstance.setDataAtRowProp(row, prop, '')
|
|
|
|
// // }
|
|
|
|
// }
|
|
|
|
// // },
|
|
|
|
// },
|
|
|
|
// columns: columns,
|
|
|
|
columns: columns,
|
|
|
|
// // 此行直接复制,必须(非商用)
|
|
|
|
// 此行直接复制,必须(非商用)
|
|
|
|
// licenseKey: 'non-commercial-and-evaluation',
|
|
|
|
licenseKey: 'non-commercial-and-evaluation',
|
|
|
|
// // // 定义所有单元格发生变化的回调处理
|
|
|
|
// // 定义所有单元格发生变化的回调处理
|
|
|
|
// // async afterChange(changes, source) {},
|
|
|
|
// async afterChange(changes, source) {},
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// function handleReset() {
|
|
|
|
function handleReset() {
|
|
|
|
// resetSearchBoxFields()
|
|
|
|
resetSearchBoxFields()
|
|
|
|
// handleSearch()
|
|
|
|
handleSearch()
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// async function handleSearch() {
|
|
|
|
async function handleSearch() {
|
|
|
|
// const values = await validateSearchBox()
|
|
|
|
const values = await validateSearchBox()
|
|
|
|
// console.log(values)
|
|
|
|
console.log(values)
|
|
|
|
// let ApiData: any = []
|
|
|
|
let ApiData: any = []
|
|
|
|
// Object.keys(values).forEach((item) => {
|
|
|
|
Object.keys(values).forEach((item) => {
|
|
|
|
// if (values[item]) {
|
|
|
|
if (values[item]) {
|
|
|
|
// console.log(values[item].split(','))
|
|
|
|
console.log(values[item].split(','))
|
|
|
|
|
|
|
|
|
|
|
|
// if (item == 'cntrno') {
|
|
|
|
if (item == 'cntrno') {
|
|
|
|
// ApiData.push({ FieldName: item, FieldValue: values[item], ConditionalType: 15 })
|
|
|
|
ApiData.push({ FieldName: item, FieldValue: values[item], ConditionalType: 15 })
|
|
|
|
// } else {
|
|
|
|
} else {
|
|
|
|
// ApiData.push({ FieldName: item, FieldValue: values[item], ConditionalType: 1 })
|
|
|
|
ApiData.push({ FieldName: item, FieldValue: values[item], ConditionalType: 1 })
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// GetViewListDetail(JSON.stringify(ApiData))
|
|
|
|
GetViewListDetail(JSON.stringify(ApiData))
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// function ViewTableAdd() {
|
|
|
|
function ViewTableAdd() {
|
|
|
|
// let ApiData: any = { id: rowId.value, ids: [] }
|
|
|
|
let ApiData: any = { id: rowId.value, ids: [] }
|
|
|
|
// Viewlist.value.forEach((e: any, i) => {
|
|
|
|
Viewlist.value.forEach((e: any, i) => {
|
|
|
|
// if (e.selected) {
|
|
|
|
if (e.selected) {
|
|
|
|
// ApiData.ids.push(e.id)
|
|
|
|
ApiData.ids.push(e.id)
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// })
|
|
|
|
})
|
|
|
|
// console.log(ApiData.ids)
|
|
|
|
console.log(ApiData.ids)
|
|
|
|
// if (ApiData.ids.length) {
|
|
|
|
if (ApiData.ids.length) {
|
|
|
|
// ApiAddCtn(ApiData).then(async (res) => {
|
|
|
|
ApiAddCtn(ApiData).then(async (res) => {
|
|
|
|
// if (res.succeeded) {
|
|
|
|
if (res.succeeded) {
|
|
|
|
// const res: API.DataResult = await ApiInfo({ id: unref(rowId) })
|
|
|
|
const res: API.DataResult = await ApiInfo({ id: unref(rowId) })
|
|
|
|
// if (res.succeeded) {
|
|
|
|
if (res.succeeded) {
|
|
|
|
// allCheck.value = false
|
|
|
|
allCheck.value = false
|
|
|
|
// someCheck.value = false
|
|
|
|
someCheck.value = false
|
|
|
|
// ViewlallCheck.value = false
|
|
|
|
ViewlallCheck.value = false
|
|
|
|
// ViewlsomeCheck.value = false
|
|
|
|
ViewlsomeCheck.value = false
|
|
|
|
// submit()
|
|
|
|
GetListDetail()
|
|
|
|
// GetListDetail()
|
|
|
|
handleReset()
|
|
|
|
// handleReset()
|
|
|
|
GetViewListDetail('[]')
|
|
|
|
// GetViewListDetail('[]')
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
// getData(false)
|
|
|
|
// // getData(false)
|
|
|
|
notification.success({ message: res.message, duration: 3 })
|
|
|
|
// notification.success({ message: res.message, duration: 3 })
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
})
|
|
|
|
// })
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
//--------------------------------------- tab3 ---------------------------------------
|
|
|
|
//--------------------------------------- tab3 ---------------------------------------
|
|
|
|
// 应收传到应付的数据
|
|
|
|
// 应收传到应付的数据
|
|
|
|
const broReceiveData = ref([])
|
|
|
|
const broReceiveData = ref([])
|
|
|
@ -948,13 +936,14 @@
|
|
|
|
position: absolute;
|
|
|
|
position: absolute;
|
|
|
|
left: 15px;
|
|
|
|
left: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// .SearchBox {
|
|
|
|
.SearchBox {
|
|
|
|
// display: flex;
|
|
|
|
display: flex;
|
|
|
|
// .Form {
|
|
|
|
.Form {
|
|
|
|
// flex: 1;
|
|
|
|
flex: 1;
|
|
|
|
// }
|
|
|
|
margin-right: 10px;
|
|
|
|
// .mt-4 {
|
|
|
|
}
|
|
|
|
// margin-left: 10px;
|
|
|
|
.mt-4 {
|
|
|
|
// }
|
|
|
|
margin-left: 10px;
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|