测试问题修改5
This commit is contained in:
parent
6f23c070a7
commit
188b5d5f53
|
|
@ -205,7 +205,7 @@
|
||||||
<span>{{ (scope.row.salePrice/100).toFixed(2)||"" }}</span>
|
<span>{{ (scope.row.salePrice/100).toFixed(2)||"" }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</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">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
|
|
|
||||||
|
|
@ -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="purNum" :show-overflow-tooltip="true"></el-table-column>
|
||||||
<el-table-column label="单价(元)" align="center" prop="singlePrice" :show-overflow-tooltip="true">
|
<el-table-column label="单价(元)" align="center" prop="singlePrice" :show-overflow-tooltip="true">
|
||||||
<template slot-scope="scope">
|
<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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="总金额(元)" align="center" prop="" :show-overflow-tooltip="true">
|
<el-table-column label="总金额(元)" align="center" prop="" :show-overflow-tooltip="true">
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,12 @@
|
||||||
<el-form-item label="询价标题" prop="title">
|
<el-form-item label="询价标题" prop="title">
|
||||||
<el-input v-model="queryParams.title" placeholder="请输入询价标题" maxlength="20" clearable style="width: 240px"/>
|
<el-input v-model="queryParams.title" placeholder="请输入询价标题" maxlength="20" clearable style="width: 240px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="询价状态" prop="inquiryState">
|
<el-form-item label="询价状态" prop="status">
|
||||||
<el-select v-model="queryParams.inquiryState" placeholder="请选择询价状态" style="width: 240px;">
|
<el-select v-model="queryParams.status" placeholder="请选择询价状态" style="width: 240px;">
|
||||||
<el-option label="未开始" :value="1"></el-option>
|
<el-option label="已决价" :value="2"></el-option>
|
||||||
<el-option label="进行中" :value="2"></el-option>
|
<el-option label="进行中" :value="3"></el-option>
|
||||||
<el-option label="已结束" :value="3"></el-option>
|
<el-option label="未决标" :value="4"></el-option>
|
||||||
<el-option label="已取消" :value="4"></el-option>
|
<el-option label="已取消" :value="5"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
|
@ -63,7 +63,7 @@
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
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)"
|
@click="handleView(scope.row)"
|
||||||
>详情</el-button>
|
>详情</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -391,8 +391,8 @@
|
||||||
:show-file-list="true"
|
:show-file-list="true"
|
||||||
:file-list="item.fileList"
|
:file-list="item.fileList"
|
||||||
list-type="picture-card"
|
list-type="picture-card"
|
||||||
accept=".png, .jpg, .jpeg"
|
accept=".png, .jpg, .jpeg"
|
||||||
:class="{ disabled:item.isShowUpload }"
|
:on-exceed="handleExceed"
|
||||||
:on-preview="handlePictureCardPreview"
|
:on-preview="handlePictureCardPreview"
|
||||||
:on-remove="handleRemoveMain(index)"
|
:on-remove="handleRemoveMain(index)"
|
||||||
>
|
>
|
||||||
|
|
@ -593,6 +593,9 @@ export default {
|
||||||
},
|
},
|
||||||
uploadDisabled2() {
|
uploadDisabled2() {
|
||||||
return this.idCardImgF.length > 0
|
return this.idCardImgF.length > 0
|
||||||
|
},
|
||||||
|
isShowUpload0(){
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
|
@ -881,9 +884,10 @@ export default {
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
this.$modal.msgError(error)
|
this.$modal.msgError(error)
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
handleExceed(files, fileList){
|
||||||
|
this.$modal.msgError('资质照片最多上传一个')
|
||||||
},
|
},
|
||||||
handleRemoveMain(index) {
|
handleRemoveMain(index) {
|
||||||
this.mainQualificationList[index].imgUrl="";
|
this.mainQualificationList[index].imgUrl="";
|
||||||
|
|
|
||||||
|
|
@ -633,7 +633,7 @@
|
||||||
<el-form-item label="备注">
|
<el-form-item label="备注">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.remark"
|
v-model="form.remark"
|
||||||
type="textarea"
|
type="textarea" maxlength="100"
|
||||||
placeholder="请输入内容"
|
placeholder="请输入内容"
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue