调取-勾选清单中已经存在的数据的提示语

This commit is contained in:
范强强
2023-03-28 09:49:54 +08:00
parent 88d73ae906
commit 149d47a73b
2 changed files with 7 additions and 7 deletions
@@ -78,7 +78,7 @@
</div>
<!-- 保存-->
<div @click="preservationClick(1)" v-if="roleSwitchingCode == 2" class="operator-text">
<div @click="preservationClick(1)" v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0" class="operator-text">
<a-icon type="check-circle"/>
{{ $t('preservation') }}
</div>
@@ -333,7 +333,7 @@
</span>
<span slot="reportNo" slot-scope="text,record">
<a-input class="box-input-index"
v-if="roleSwitchingCode == 2"
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
:maxLength="200"
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
v-model.trim="record.reportNumber"
@@ -342,7 +342,7 @@
</span>
<span slot="productModel" slot-scope="text,record">
<a-input class="box-input-index"
v-if="roleSwitchingCode == 2"
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
:maxLength="200"
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
v-model.trim="record.productModel"
@@ -351,7 +351,7 @@
</span>
<span slot="nameOfManufacturer" slot-scope="text,record">
<a-input class="box-input-index"
v-if="roleSwitchingCode == 2"
v-if="roleSwitchingCode == 2 || roleSwitchingCode == 0"
:maxLength="200"
onkeyup="this.value=this.value.replace(/(^\s+)|(\s+$)/g, '')"
v-model.trim="record.productionEnterpriseName"
@@ -815,7 +815,7 @@
},
onChange(page, pageSize) {
this.pageNo = page
if (this.roleSwitchingCode == 2) {
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 0) {
this.preservationClick()
}
this.getList()
@@ -823,7 +823,7 @@
SizeChange(page, pageSize) {
this.pageNo = 1
this.pageSize = pageSize
if (this.roleSwitchingCode == 2) {
if (this.roleSwitchingCode == 2 || this.roleSwitchingCode == 0) {
this.preservationClick()
}
this.getList()
@@ -146,7 +146,7 @@
<!-- 更多-->
<a-popconfirm overlayClassName="popconfirm" placement="bottomRight" v-if="this.roleSwitchingCode == '0'">
<template slot="title" id="popconfirm">
<div style="height:320px;overflow:scroll;overflow-x: auto;">
<div>
<!-- 添加-->
<div @click="handleAdd" class="operator-text-title">
<a-icon type="plus"/>