| | |
| | | totalCount: 0, |
| | | |
| | | checked: true, |
| | | id:'' |
| | | id: '', |
| | | searchKeyword: '', // 搜索关键词 |
| | | originalData: [], // 保存原始数据 |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | this.onLoad(); |
| | | }, |
| | | methods: { |
| | | |
| | | // 新增搜索处理方法 |
| | | handleSearch() { |
| | | this.pageIndex = 0; |
| | | this.data = []; |
| | | this.finished = false; |
| | | this.isSearching = true; |
| | | this.onLoad(); |
| | | }, |
| | | |
| | | onLoad() { |
| | | |
| | |
| | | pageIndex: that.pageIndex, |
| | | limit: that.limit, |
| | | createUser: that.userInfo.loginAccount, |
| | | result: result |
| | | result: result, |
| | | keyword: that.searchKeyword.trim(), // 新增搜索参数 |
| | | }, false) |
| | | .then(function (res) { |
| | | var json = res; |
| | |
| | | .bg-info { |
| | | background-color: #fff; |
| | | } |
| | | .van-search { |
| | | padding: 10px; |
| | | background: #f7f8fa; |
| | | } |
| | | .van-search__action { |
| | | color: #1989fa; /* 设置字体颜色为蓝色 */ |
| | | } |
| | | |
| | | </style> |
| | | |
| | |
| | | left-arrow |
| | | @click-left="GoBack()" |
| | | ></van-nav-bar> |
| | | <van-search |
| | | v-model="searchKeyword" |
| | | placeholder="输入单号/物料/供应商等搜索" |
| | | show-action |
| | | @search="handleSearch" |
| | | > |
| | | <template #action> |
| | | <%--<van-tag plain round type="primary" @click="handleSearch">搜索</van-tag>--%> |
| | | <div @click="handleSearch">搜索</div> |
| | | </template> |
| | | </van-search> |
| | | <div class ="content-wrapper"> |
| | | <%-- <van-tabs v-model="current" @click="onClickTab"> |
| | | <van-tab title="未检验">--%> |
| | |
| | | <%--<comback ></comback>--%> |
| | | </asp:Content> |
| | | <asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server"> |
| | | <script src="../Js/LLJ/List.js?<%=114 %>"></script> |
| | | <script src="../Js/LLJ/List.js?<%=115 %>"></script> |
| | | </asp:Content> |