From 95f6f15ce1da6ba80fc28d0811eb29d51d75bf67 Mon Sep 17 00:00:00 2001
From: xiaofajia <1665375861@qq.com>
Date: Mon, 18 Nov 2024 19:54:14 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E7=9A=84=E9=85=8D=E4=BB=B6?=
=?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=8D=95=E5=A4=84=E5=8A=A0=E4=B8=8A=E6=90=9C?=
=?UTF-8?q?=E7=B4=A2=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages-warehouse/home/home.vue | 1 +
.../inOutWarehouse/inOutWarehouse.vue | 42 ++++++++++++++++++-
2 files changed, 41 insertions(+), 2 deletions(-)
diff --git a/pages-warehouse/home/home.vue b/pages-warehouse/home/home.vue
index 9f6a0fc..80671fd 100644
--- a/pages-warehouse/home/home.vue
+++ b/pages-warehouse/home/home.vue
@@ -139,6 +139,7 @@ export default {
pageSize: 10,
query: null,
type: "01",
+ isBack: false,
},
//配件单列表
ticketWares: [],
diff --git a/pages-warehouse/inOutWarehouse/inOutWarehouse.vue b/pages-warehouse/inOutWarehouse/inOutWarehouse.vue
index 634d6e9..ac8d742 100644
--- a/pages-warehouse/inOutWarehouse/inOutWarehouse.vue
+++ b/pages-warehouse/inOutWarehouse/inOutWarehouse.vue
@@ -6,6 +6,14 @@
+
+
+
+ 搜索
+
+
@@ -65,7 +73,8 @@ export default {
//父组件传入的数据
formData: {},
active: '',
- isToBeReviewed: true
+ isToBeReviewed: true,
+ query: null
};
},
onLoad(data) {
@@ -82,12 +91,16 @@ export default {
computed: {},
methods: {
+ handleSearch(){
+ this.init()
+ },
/**
* 初始化配件数据
*/
init() {
const params = {
- twId: this.formData.id
+ twId: this.formData.id,
+ query: this.query
}
request({
url: '/admin-api/repair/twi/list',
@@ -381,4 +394,29 @@ export default {
margin-left: 20rpx;
}
}
+
+.body-top {
+ //width: 686rpx;
+ background: #FFFFFF;
+ border-radius: 8rpx 8rpx 8rpx 8rpx;
+ margin: 30rpx 30rpx 0;
+
+ .body-top-search {
+ height: 84rpx;
+ background: #F3F5F7;
+ border-radius: 12rpx 12rpx 12rpx 12rpx;
+ margin: 0 auto;
+ padding: 0 30rpx;
+ font-size: 28rpx;
+
+ display: flex;
+ align-items: center;
+ column-gap: 10rpx;
+
+ .body-top-search-input {
+ flex: 1;
+ width: 0;
+ }
+ }
+}