From 9dba76a130bf214aa540c8c5ffbd781590afe4f1 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期六, 06 四月 2024 12:28:24 +0800 Subject: [PATCH] # --- pages/phyz/order/orderList2.vue | 2 +- pages/phyz/order/purchaseOrder.vue | 23 +++++++++++++++++++++-- pages/home/orderManage.vue | 2 +- pages/home/menuHome.vue | 14 +++++++------- 4 files changed, 30 insertions(+), 11 deletions(-) diff --git a/pages/home/menuHome.vue b/pages/home/menuHome.vue index 217820d..811e3e5 100644 --- a/pages/home/menuHome.vue +++ b/pages/home/menuHome.vue @@ -46,13 +46,13 @@ // cuIcon: 'pullup', url: `/home/orderManage` }, - { - title: '宸ヤ綔妗g鐞�', - name: 'ordeManage', - color: 'brown', - // cuIcon: 'pullup', - url: `/home/wrkMastManage` - }, + // { + // title: '宸ヤ綔妗g鐞�', + // name: 'ordeManage', + // color: 'brown', + // // cuIcon: 'pullup', + // url: `/home/wrkMastManage` + // }, // { // title: '娴嬭瘯', // name: 'testView', diff --git a/pages/home/orderManage.vue b/pages/home/orderManage.vue index 517f502..8555208 100644 --- a/pages/home/orderManage.vue +++ b/pages/home/orderManage.vue @@ -30,7 +30,7 @@ name: 'pakin', color: 'blue', // cuIcon: 'pullup', - url: `/phyz/order/orderList2` + url: `/phyz/order/purchaseOrder` }, { title: '鍑哄簱鍗�', diff --git a/pages/phyz/order/orderList2.vue b/pages/phyz/order/orderList2.vue index 981ae5c..98c8c3c 100644 --- a/pages/phyz/order/orderList2.vue +++ b/pages/phyz/order/orderList2.vue @@ -82,7 +82,7 @@ header: {'token': uni.getStorageSync('token')}, data: { curr: 1, - limit: 1000, + limit: 9999, order_id: id }, method: 'GET', diff --git a/pages/phyz/order/purchaseOrder.vue b/pages/phyz/order/purchaseOrder.vue index 2fb6a42..15b996d 100644 --- a/pages/phyz/order/purchaseOrder.vue +++ b/pages/phyz/order/purchaseOrder.vue @@ -1,7 +1,7 @@ <template> <view class="container"> <view class="code"> - <uni-search-bar :focus="searchValueFocus" v-model="searchValue" @input="searchValueInput()" + <uni-search-bar :focus="searchValueFocus" v-model="searchValue" @input="searchValueInput2()" maxlength="500" ancel="cancel" @clear="clear" placeholder="杈撳叆 / 鎵弿 璁㈠崟鍙�"> </uni-search-bar> <view class="code-title"> @@ -65,6 +65,25 @@ reload() { this.getOrderList() }, + searchValueInput2() { + let _this = this + uni.request({ + url: `${_this.baseUrl}/order/head/page/auth`, + header: {'token': uni.getStorageSync('token')}, + data: { + curr: 1, + limit: 30, + order_no: _this.searchValue + }, + method: 'GET', + success(res) { + res = res.data + if (res.code === 200) { + _this.dataList = res.data.records + } + } + }) + }, searchValueInput() { let count = 0 let sign = 0 @@ -116,7 +135,7 @@ header: {'token': uni.getStorageSync('token')}, data: { curr: 1, - limit: 1000, + limit: 30, }, method: 'GET', success(res) { -- Gitblit v1.9.1