27650
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
<div class="list" v-for="(item, index) in list" :key="index">
|
||||
<div class="textarea_msgfont" v-if="item.fieldType == 3">
|
||||
<span class="msgfont">
|
||||
<span class="icon" v-if="item.mustFill == 1">*</span>
|
||||
<!-- <span class="icon" v-if="item.mustFill == 1">*</span> -->
|
||||
<span> {{ item.fieldName }}:</span>
|
||||
</span>
|
||||
<textarea :maxlength="150" placeholder="请输入审批意见" v-model="item.fieldValue" class="textarea" clearable="false"> </textarea>
|
||||
@@ -150,25 +150,25 @@ export default {
|
||||
},
|
||||
|
||||
btn() {
|
||||
if (this.type == 0 && this.opinion == '') {
|
||||
return uni.showToast({
|
||||
title: '请输入审批意见',
|
||||
icon: 'none',
|
||||
})
|
||||
}
|
||||
// if (this.type == 0 && this.opinion == '') {
|
||||
// return uni.showToast({
|
||||
// title: '请输入审批意见',
|
||||
// icon: 'none',
|
||||
// })
|
||||
// }
|
||||
|
||||
if (
|
||||
this.list.some((item) => {
|
||||
if (item.mustFill == 1 && !item.fieldValue) {
|
||||
uni.showToast({
|
||||
title: item.fieldName + '为必填',
|
||||
icon: 'none',
|
||||
})
|
||||
return true
|
||||
}
|
||||
})
|
||||
)
|
||||
return
|
||||
// if (
|
||||
// this.list.some((item) => {
|
||||
// if (item.mustFill == 1 && !item.fieldValue) {
|
||||
// uni.showToast({
|
||||
// title: item.fieldName + '为必填',
|
||||
// icon: 'none',
|
||||
// })
|
||||
// return true
|
||||
// }
|
||||
// })
|
||||
// )
|
||||
// return
|
||||
|
||||
var file = []
|
||||
this.annex.map((item) => {
|
||||
|
||||
Reference in New Issue
Block a user