Commit 273c48ff authored by 李苏's avatar 李苏 💬

提示调整

parent 6ff68cc5
......@@ -16,10 +16,12 @@ function filterSpace(data){
}
function filter(e) {
if (e.data.success) {
tip.tips=''
return e.data.data
} else {
tip.toast(e.data.message || "操作失败")
tip.tips=e.data.message|| "操作失败"
}
}
......
......@@ -42,6 +42,10 @@
<br>
批号:{{apiShow.ph}}
</view>
<view v-show="tips" style="color: red;width: 100%;height: 20px;line-height: 20px;text-align: center;margin-top: 10px;">
{{tips}}
</view>
</view>
<!-- 移入库位 -->
<!-- <view class="padding-xs bg-white" v-show="index!=null&&code!=''" > -->
......@@ -55,9 +59,11 @@
<script>
import {apiGetjhList,apijhPptzdByKw,apiYckw,apiYrkw} from '@/api/dlapi.js';
import tip from '@/common/util/tip.js'
export default {
data() {
return {
tips:'',
index:null,
app:this,
current: 0,
......@@ -158,8 +164,14 @@
}else{
this.code=''
this.apiCode=''
this.tips=tip.tips
setTimeout(()=>{
this.tips=''
},5000)
}
}).finally(res=>{
})
}).catch(res=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment