|
@@ -18,13 +18,13 @@
|
|
|
</a-col>
|
|
|
<template v-if="toggleSearchStatus">
|
|
|
<a-col :lg="8">
|
|
|
- <a-form-item name="project">
|
|
|
+ <a-form-item name="projectName">
|
|
|
<template #label><span title="项目(project)">项目(project)</span></template>
|
|
|
<a-input v-model:value="queryParam.projectName" placeholder="请选择"/>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
|
- <a-form-item name="supplier">
|
|
|
+ <a-form-item name="supplierName">
|
|
|
<template #label><span title="供应商(supplier)">供应商(supplier)</span></template>
|
|
|
<a-input placeholder="请输入供应商(supplier)" v-model:value="queryParam.supplierName" allow-clear ></a-input>
|
|
|
</a-form-item>
|
|
@@ -32,7 +32,7 @@
|
|
|
<a-col :lg="8">
|
|
|
<a-form-item name="customerName">
|
|
|
<template #label><span title="客户(customerName)">客户(customerName)</span></template>
|
|
|
- <a-input placeholder="请输入供应商(supplier)" v-model:value="queryParam.supplier" allow-clear ></a-input>
|
|
|
+ <a-input placeholder="请输入" v-model:value="queryParam.customerName" allow-clear ></a-input>
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :lg="8">
|
|
@@ -79,7 +79,7 @@
|
|
|
<BasicTable @register="registerTable" :rowSelection="rowSelection" size="small" >
|
|
|
<!--插槽:table标题-->
|
|
|
<template #tableTitle>
|
|
|
- <a-button type="primary" preIcon="ant-design:export-outlined" @click="onExportXls"> 导出(export)</a-button>
|
|
|
+ <a-button type="primary" @click="onExportXls"> 导出(export)</a-button>
|
|
|
</template>
|
|
|
<!--字段回显插槽-->
|
|
|
<template v-slot:bodyCell="{ column, record, index, text }">
|
|
@@ -163,23 +163,6 @@
|
|
|
// loading.value = false;
|
|
|
});
|
|
|
}
|
|
|
- /**
|
|
|
- * 详情
|
|
|
- */
|
|
|
- function handleDetail(record: Recordable) {
|
|
|
- openModal(true, {
|
|
|
- record,
|
|
|
- isUpdate: true,
|
|
|
- showFooter: false,
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 成功回调
|
|
|
- */
|
|
|
- function handleSuccess() {
|
|
|
- (selectedRowKeys.value = []) && reload();
|
|
|
- }
|
|
|
|
|
|
/* ----------------------以下为原生查询需要添加的-------------------------- */
|
|
|
const toggleSearchStatus = ref<boolean>(false);
|