From d5c935fbaf14f3c0632a03a73536b127742717ca Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期五, 22 九月 2023 13:22:02 +0800 Subject: [PATCH] style: 采购订单模块样式调整 --- src/views/productManage/product/index.vue | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/views/productManage/product/index.vue b/src/views/productManage/product/index.vue index d6a3029..ac53129 100644 --- a/src/views/productManage/product/index.vue +++ b/src/views/productManage/product/index.vue @@ -91,7 +91,7 @@ tableColumn: [ { label: "浜у搧缂栫爜", prop: "number", min: 190, isCommonClick: true }, { label: "浜у搧鍚嶇О", prop: "name", min: 130 }, - { label: "渚涘簲鍟�", prop: "supplierNumber", min: 130 }, + { label: "渚涘簲鍟�", prop: "supplierName", min: 130 }, { label: "浜у搧绫诲埆", prop: "productType", min: 130 }, { label: "瑙勬牸", prop: "specifications", min: 130 }, { label: "鍨嬪彿", prop: "modelNumber", min: 130 }, @@ -109,9 +109,9 @@ } }, // 璇锋眰鏁版嵁 - async getData(val, content) { + async getData() { await getProductList({ - [val]: content, + keyword: this.searchText, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize }).then((res) => { @@ -128,22 +128,20 @@ }) }, // 鎼滅储 - searchClick(val, content) { - console.log(val, content) - this.getData(val.value, content) - }, + // searchClick(val, content) { + // console.log(val, content) + // this.getData(val.value, content) + // }, onFilterSearch(val){ this.searchText = val ?? '' - console.log(this.searchText) - - // TODO: 闇�瑕佹帴鍙f敮鎸� - throw new Error("鍔熻兘鏈疄鐜�") - }, - - resetClick() { + this.pagerOptions.currPage = 1 this.getData() }, + + // resetClick() { + // this.getData() + // }, // 鏂板缓 addBtnClick() { this.editConfig.visible = true @@ -199,6 +197,8 @@ height: 80px; display: flex; align-items: center; + box-sizing: border-box; + padding: 10px 20px; flex: 1; border-radius: 12px; background-color: #fff; -- Gitblit v1.8.0