增加废包材位异常出库
This commit is contained in:
43
pages/modules/error-outstore.vue
Normal file
43
pages/modules/error-outstore.vue
Normal file
@@ -0,0 +1,43 @@
|
||||
<template>
|
||||
<view class="zd_container">
|
||||
<nav-bar title="废包材位异常出库"></nav-bar>
|
||||
<view class="zd-row submit-bar_new">
|
||||
<button class="zd-col-22 submit-button_new" :disabled="disabled" @tap="_ycck">确认</button>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavBar from '@/components/NavBar.vue'
|
||||
import {ycck} from '@/utils/getData1.js'
|
||||
export default {
|
||||
components: {
|
||||
NavBar
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
disabled: false
|
||||
};
|
||||
},
|
||||
created () {
|
||||
},
|
||||
methods: {
|
||||
async _ycck () {
|
||||
this.disabled = true
|
||||
try {
|
||||
let res = await ycck()
|
||||
this.disabled = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none'
|
||||
})
|
||||
} catch (e) {
|
||||
this.disabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="stylus">
|
||||
</style>
|
||||
Reference in New Issue
Block a user