|
@@ -10,6 +10,8 @@
|
|
:loading="loading"
|
|
:loading="loading"
|
|
:selectConfig="selectConfig"
|
|
:selectConfig="selectConfig"
|
|
highlight-current-row
|
|
highlight-current-row
|
|
|
|
+ :onMoreSearch="true"
|
|
|
|
+ @moreSearch="clickMoreSearch"
|
|
:action-list="[
|
|
:action-list="[
|
|
{
|
|
{
|
|
text: '默认汇率',
|
|
text: '默认汇率',
|
|
@@ -448,6 +450,26 @@
|
|
>
|
|
>
|
|
</template>
|
|
</template>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
|
|
+ <el-dialog
|
|
|
|
+ :title="'高级检索'"
|
|
|
|
+ v-model="moreSearchDialog"
|
|
|
|
+ width="500px"
|
|
|
|
+ destroy-on-close
|
|
|
|
+ >
|
|
|
|
+ <byForm
|
|
|
|
+ :formConfig="formSearchConfig"
|
|
|
|
+ :formOption="formOption"
|
|
|
|
+ v-model="sourceList.pagination"
|
|
|
|
+ >
|
|
|
|
+ </byForm>
|
|
|
|
+ <template #footer>
|
|
|
|
+ <el-button @click="moreSearchReset" size="large">重置</el-button>
|
|
|
|
+ <el-button @click="moreSearchQuery" type="primary" size="large"
|
|
|
|
+ >搜索</el-button
|
|
|
|
+ >
|
|
|
|
+ </template>
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -469,6 +491,11 @@ const sourceList = ref({
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
keyword: "",
|
|
keyword: "",
|
|
userId: "",
|
|
userId: "",
|
|
|
|
+ userName: "",
|
|
|
|
+ contractCode: "",
|
|
|
|
+ customerName: "",
|
|
|
|
+ beginTime: "",
|
|
|
|
+ endTime: "",
|
|
},
|
|
},
|
|
});
|
|
});
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
@@ -957,6 +984,70 @@ const submitBudgetForm = () => {
|
|
getList();
|
|
getList();
|
|
});
|
|
});
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+const formSearchConfig = computed(() => {
|
|
|
|
+ return [
|
|
|
|
+ {
|
|
|
|
+ type: "input",
|
|
|
|
+ label: "业务员",
|
|
|
|
+ prop: "userName",
|
|
|
|
+ itemWidth: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "input",
|
|
|
|
+ label: "合同编号",
|
|
|
|
+ prop: "contractCode",
|
|
|
|
+ itemWidth: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "input",
|
|
|
|
+ label: "客户名称",
|
|
|
|
+ prop: "customerName",
|
|
|
|
+ itemWidth: 100,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "date",
|
|
|
|
+ itemType: "datetime",
|
|
|
|
+ label: "合同时间",
|
|
|
|
+ prop: "beginTime",
|
|
|
|
+ placeholder: "合同开始时间",
|
|
|
|
+ itemWidth: 50,
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: "date",
|
|
|
|
+ itemType: "datetime",
|
|
|
|
+ label: " ",
|
|
|
|
+ prop: "endTime",
|
|
|
|
+ placeholder: "合同结束时间",
|
|
|
|
+ itemWidth: 50,
|
|
|
|
+ clearable: true,
|
|
|
|
+ },
|
|
|
|
+ ];
|
|
|
|
+});
|
|
|
|
+const moreSearchDialog = ref(false);
|
|
|
|
+const clickMoreSearch = () => {
|
|
|
|
+ moreSearchDialog.value = true;
|
|
|
|
+};
|
|
|
|
+const moreSearchQuery = () => {
|
|
|
|
+ moreSearchDialog.value = false;
|
|
|
|
+ getList();
|
|
|
|
+};
|
|
|
|
+const moreSearchReset = () => {
|
|
|
|
+ sourceList.value.pagination = {
|
|
|
|
+ total: 0,
|
|
|
|
+ pageNum: sourceList.value.pagination.pageNum,
|
|
|
|
+ pageSize: sourceList.value.pagination.pageSize,
|
|
|
|
+ keyword: "",
|
|
|
|
+ userId: "",
|
|
|
|
+ userName: "",
|
|
|
|
+ contractCode: "",
|
|
|
|
+ customerName: "",
|
|
|
|
+ beginTime: "",
|
|
|
|
+ endTime: "",
|
|
|
|
+ };
|
|
|
|
+ moreSearchQuery();
|
|
|
|
+};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|