From 6d4c14695e0ae9cf868ba278d6f12e14104ed21f Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 05 三月 2025 11:15:18 +0800
Subject: [PATCH] 搬迁样品管理60%
---
src/views/system/customer/index.vue | 73 ++++++------------------------------
1 files changed, 13 insertions(+), 60 deletions(-)
diff --git a/src/views/system/customer/index.vue b/src/views/system/customer/index.vue
index b67c0b1..7c98547 100644
--- a/src/views/system/customer/index.vue
+++ b/src/views/system/customer/index.vue
@@ -2,61 +2,26 @@
<div class="app-container">
<div class="search">
<div>
- <el-form
- :model="queryParams"
- ref="queryForm"
- size="small"
- :inline="true"
- >
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true">
<el-form-item label="瀹㈡埛鍚嶇О" prop="company">
- <el-input
- size="small"
- placeholder="璇疯緭鍏�"
- clearable
- v-model="queryParams.company"
- @keyup.enter.native="getList"
- ></el-input>
+ <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.company"
+ @keyup.enter.native="getList"></el-input>
</el-form-item>
<el-form-item>
- <el-button
- type="primary"
- icon="el-icon-search"
- size="mini"
- @click="getList"
- >鏌� 璇�</el-button
- >
- <el-button icon="el-icon-refresh" size="mini" @click="refresh"
- >閲� 缃�</el-button
- >
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="getList">鏌� 璇�</el-button>
+ <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
</el-form-item>
</el-form>
</div>
<div>
- <el-button
- size="small"
- type="primary"
- @click="openFormDia('add')"
- icon="el-icon-plus"
- >鏂板</el-button
- >
+ <el-button size="small" type="primary" @click="openFormDia('add')" icon="el-icon-plus">鏂板</el-button>
</div>
</div>
<div>
- <lims-table
- :tableData="tableData"
- :column="column"
- :page="page"
- :tableLoading="tableLoading"
- ></lims-table>
+ <lims-table :tableData="tableData" :column="column" :page="page" :tableLoading="tableLoading"></lims-table>
</div>
<el-dialog :title="formTitle" :visible.sync="addDia" width="450px">
- <el-form
- ref="userForm"
- :model="user"
- :rules="userRules"
- label-position="right"
- label-width="100px"
- >
+ <el-form ref="userForm" :model="user" :rules="userRules" label-position="right" label-width="100px">
<el-form-item label="瀹㈡埛鍚嶇О" prop="company">
<el-input v-model="user.company" size="small" clearable></el-input>
</el-form-item>
@@ -64,22 +29,12 @@
<el-input v-model="user.companyEn" size="small" clearable></el-input>
</el-form-item>
<el-form-item label="鍗曚綅鍦板潃" prop="address">
- <el-input
- type="textarea"
- v-model="user.address"
- size="small"
- clearable
- :autosize="{ minRows: 2, maxRows: 4 }"
- ></el-input>
+ <el-input type="textarea" v-model="user.address" size="small" clearable
+ :autosize="{ minRows: 2, maxRows: 4 }"></el-input>
</el-form-item>
<el-form-item label="鍗曚綅鍦板潃EN" prop="addressEn">
- <el-input
- type="textarea"
- v-model="user.addressEn"
- size="small"
- clearable
- :autosize="{ minRows: 2, maxRows: 4 }"
- ></el-input>
+ <el-input type="textarea" v-model="user.addressEn" size="small" clearable
+ :autosize="{ minRows: 2, maxRows: 4 }"></el-input>
</el-form-item>
<el-form-item label="鍗曚綅鐢佃瘽" prop="phone">
<el-input v-model="user.phone" size="small" clearable></el-input>
@@ -96,9 +51,7 @@
</el-form>
<span slot="footer" class="dialog-footer">
<el-button @click="reset">鍙� 娑�</el-button>
- <el-button type="primary" @click="customAdd" :loading="loading"
- >纭� 瀹�</el-button
- >
+ <el-button type="primary" @click="customAdd" :loading="loading">纭� 瀹�</el-button>
</span>
</el-dialog>
</div>
--
Gitblit v1.9.3