半成品入库
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userName: this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).username : '',
|
||||
userName: '',
|
||||
menuList: [
|
||||
{menu_id: '1', icon: 'RF06', name: '仓储管理', sonTree: [
|
||||
{menu_id: '1', name: '原辅料收料', path: '/pages/warehouse/RawmaterialRevice'},
|
||||
@@ -60,6 +60,9 @@
|
||||
},
|
||||
created () {
|
||||
this.$store.dispatch('setPublicObj', '')
|
||||
if (this.$store.getters.userInfo) {
|
||||
this.userName = JSON.parse(this.$store.getters.userInfo).username
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
toPage1 (e) {
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
/** 确认 */
|
||||
async toSure () {
|
||||
this.disabled = true
|
||||
if (!this.val1 || !this.val3 || !this.bar_code || !index2 ) {
|
||||
if (!this.val1 || !this.val3 || !this.bar_code || !this.index2 ) {
|
||||
this.disabled = false
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user