h5/pages/staff/task/driver.vue
@@ -121,6 +121,7 @@ <view class="appr_modal"> <view class="title">{{ this.flag == '0' ? '拒绝' : '同意' }}</view> <textarea v-model="checkInfo" :placeholder="this.flag == '0' ? '拒绝说明,必填' : '同意说明,非必填'" placeholder-class="placeholder9" /> @@ -176,7 +177,7 @@ }, handleAppy() { const {flag,checkInfo, type,info } = this if(flag == 0 && !checkInfo) return this.showToast('拒绝说明必填') if(flag == 0 && checkInfo == '') return this.showToast('拒绝说明必填') carUseBookAppr({ checkInfo,objId: info.id,objType: 6,status: flag == 0 ? 3 : 2 }).then(res => {