页面优化

This commit is contained in:
BianLzhaoMin 2024-08-01 10:18:05 +08:00
parent 750e82af79
commit 2b65a0fd6c
3 changed files with 22 additions and 6 deletions

View File

@ -708,6 +708,13 @@ export default {
trigger: 'blur',
},
],
buyPrice: [
{
required: true,
message: '原值不能为空',
trigger: 'blur',
},
],
keeperUserId: [
{
required: true,

View File

@ -203,6 +203,7 @@
<el-dialog
:title="title"
:visible.sync="open"
v-if="open"
width="650px"
append-to-body
:close-on-click-modal="false"
@ -261,6 +262,9 @@
>
<!-- <img v-if="imageUrl" :src="uploadUrl+imageUrl" style="width: 140px;height: 140px;" class="avatar"> -->
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__tip" slot="tip"
>请上传pngjpgjpeg类型文件文件个数不能超过5个且单个文件不能超过5M</div
>
</el-upload>
</el-form-item>
</el-form>
@ -274,6 +278,7 @@
<el-dialog
:title="title"
:visible.sync="openAll"
v-if="openAll"
width="650px"
append-to-body
>
@ -305,6 +310,9 @@
>
<!-- <img v-if="imageUrl" :src="uploadUrl+imageUrl" style="width: 140px;height: 140px;" class="avatar"> -->
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__tip" slot="tip"
>请上传pngjpgjpeg类型文件文件个数不能超过5个且单个文件不能超过5M</div
>
</el-upload>
</el-form-item>
</el-form>
@ -414,6 +422,7 @@
<el-dialog
:title="title"
:visible.sync="peopleOpen"
v-if="peopleOpen"
width="1000px"
append-to-body
>
@ -424,11 +433,7 @@
height="450"
>
<el-table-column type="selection" width="50" align="center" />
<el-table-column
label="序号"
align="center"
type="index"
/>
<el-table-column label="序号" align="center" type="index" />
<el-table-column
label="人员账号"
align="center"
@ -773,6 +778,10 @@ export default {
},
//
addUser() {
if (this.chosenUserList.length < 1) {
this.$message.error('请选择人员!')
return
}
// console.log(this.chosenUserList,"chosenUserList")
addNoticeUser(this.chosenUserList).then((response) => {
if (response.code == 200) {

View File

@ -42,7 +42,7 @@ module.exports = {
// target: `https://test-cc.zhgkxt.com`,//线上环境-南网
// target: `https://z.csgmall.com.cn`,
target: `http://192.168.2.134:39080`, //超
target: `http://192.168.2.151:39080`, //超
// target: `http://10.40.92.81:8080`, //韩/
// target: `http://10.40.92.74:8080`,//旭/
// target: `http://10.40.92.138:28080`, //帅