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