测试问题修改5

This commit is contained in:
zzyuan 2025-08-07 17:38:44 +08:00
parent 6f23c070a7
commit 188b5d5f53
5 changed files with 19 additions and 15 deletions

View File

@ -205,7 +205,7 @@
<span>{{ (scope.row.salePrice/100).toFixed(2)||"" }}</span>
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100" fixed="right">
<el-table-column label="操作" align="center" width="120">
<template slot-scope="scope">
<el-button
size="mini"

View File

@ -87,7 +87,7 @@
<el-table-column label="采购数量" align="center" prop="purNum" :show-overflow-tooltip="true"></el-table-column>
<el-table-column label="单价(元)" align="center" prop="singlePrice" :show-overflow-tooltip="true">
<template slot-scope="scope">
<el-input v-model="scope.row.singlePrice" placeholder="请输入" maxlength="10" clearable @input="(v)=>(scope.row.singlePrice=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
<el-input v-model="scope.row.singlePrice" placeholder="请输入" maxlength="6" clearable @input="(v)=>(scope.row.singlePrice=v.replace(/[^\d.]/g, '').replace(/^(\d*\.\d{2}).*$/, '$1'))"/>
</template>
</el-table-column>
<el-table-column label="总金额(元)" align="center" prop="" :show-overflow-tooltip="true">

View File

@ -7,12 +7,12 @@
<el-form-item label="询价标题" prop="title">
<el-input v-model="queryParams.title" placeholder="请输入询价标题" maxlength="20" clearable style="width: 240px"/>
</el-form-item>
<el-form-item label="询价状态" prop="inquiryState">
<el-select v-model="queryParams.inquiryState" placeholder="请选择询价状态" style="width: 240px;">
<el-option label="未开始" :value="1"></el-option>
<el-option label="进行中" :value="2"></el-option>
<el-option label="已结束" :value="3"></el-option>
<el-option label="已取消" :value="4"></el-option>
<el-form-item label="询价状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择询价状态" style="width: 240px;">
<el-option label="已决价" :value="2"></el-option>
<el-option label="进行中" :value="3"></el-option>
<el-option label="未决标" :value="4"></el-option>
<el-option label="已取消" :value="5"></el-option>
</el-select>
</el-form-item>
@ -63,7 +63,7 @@
<el-button
size="mini"
type="text"
icon="el-icon-edit" v-if="scope.row.status>3"
icon="el-icon-edit" v-if="scope.row.status!=1"
@click="handleView(scope.row)"
>详情</el-button>
</template>

View File

@ -391,8 +391,8 @@
:show-file-list="true"
:file-list="item.fileList"
list-type="picture-card"
accept=".png, .jpg, .jpeg"
:class="{ disabled:item.isShowUpload }"
accept=".png, .jpg, .jpeg"
:on-exceed="handleExceed"
:on-preview="handlePictureCardPreview"
:on-remove="handleRemoveMain(index)"
>
@ -593,6 +593,9 @@ export default {
},
uploadDisabled2() {
return this.idCardImgF.length > 0
},
isShowUpload0(){
return false
}
},
created() {
@ -881,9 +884,10 @@ export default {
})
.catch((error) => {
this.$modal.msgError(error)
})
})
},
handleExceed(files, fileList){
this.$modal.msgError('资质照片最多上传一个')
},
handleRemoveMain(index) {
this.mainQualificationList[index].imgUrl="";

View File

@ -633,7 +633,7 @@
<el-form-item label="备注">
<el-input
v-model="form.remark"
type="textarea"
type="textarea" maxlength="100"
placeholder="请输入内容"
></el-input>
</el-form-item>