no message
This commit is contained in:
@@ -128,6 +128,7 @@ export default {
|
|||||||
val2: '',
|
val2: '',
|
||||||
val3: '',
|
val3: '',
|
||||||
val4: '',
|
val4: '',
|
||||||
|
result: {},
|
||||||
dataList: [],
|
dataList: [],
|
||||||
pkId: '',
|
pkId: '',
|
||||||
pkObj: {},
|
pkObj: {},
|
||||||
@@ -195,6 +196,7 @@ export default {
|
|||||||
this.val1 = res.resultTwo.bucketunique
|
this.val1 = res.resultTwo.bucketunique
|
||||||
this.val2 = res.resultTwo.material_code
|
this.val2 = res.resultTwo.material_code
|
||||||
this.val3 = res.resultTwo.pcsn
|
this.val3 = res.resultTwo.pcsn
|
||||||
|
this.result = res.resultOne
|
||||||
} else {
|
} else {
|
||||||
this.toast('袋码已存在')
|
this.toast('袋码已存在')
|
||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
@@ -205,6 +207,7 @@ export default {
|
|||||||
this.val1 = res.resultTwo.bucketunique
|
this.val1 = res.resultTwo.bucketunique
|
||||||
this.val2 = res.resultTwo.material_code
|
this.val2 = res.resultTwo.material_code
|
||||||
this.val3 = res.resultTwo.pcsn
|
this.val3 = res.resultTwo.pcsn
|
||||||
|
this.result = res.resultOne
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -254,7 +257,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
let accountId = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).account_id : ''
|
let accountId = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).account_id : ''
|
||||||
let user = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).user_name : ''
|
let user = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).user_name : ''
|
||||||
let newObj = Object.assign({}, {storage_qty: this.val5, accountId: accountId, user: user, is_active: this.option[this.active].value, ivt_level: this.option1[this.active1].value})
|
let newObj = Object.assign({}, this.result, {storage_qty: this.val5, accountId: accountId, user: user, is_active: this.option[this.active].value, ivt_level: this.option1[this.active1].value})
|
||||||
let res = await confirmGroupBucket(newObj, this.dataList)
|
let res = await confirmGroupBucket(newObj, this.dataList)
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this.toast(res.desc)
|
this.toast(res.desc)
|
||||||
@@ -262,6 +265,7 @@ export default {
|
|||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
this.val3 = ''
|
this.val3 = ''
|
||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
|
this.result = {}
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
this.pkObj = {}
|
this.pkObj = {}
|
||||||
@@ -289,7 +293,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
let accountId = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).account_id : ''
|
let accountId = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).account_id : ''
|
||||||
let user = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).user_name : ''
|
let user = this.$store.getters.userInfo !== '' ? JSON.parse(this.$store.getters.userInfo).user_name : ''
|
||||||
let newObj = Object.assign({}, {storage_qty: this.val5, accountId: accountId, user: user, is_active: this.option[this.active].value, ivt_level: this.option1[this.active1].value})
|
let newObj = Object.assign({}, this.result, {storage_qty: this.val5, accountId: accountId, user: user, is_active: this.option[this.active].value, ivt_level: this.option1[this.active1].value})
|
||||||
let res = await confirmGroupBucket(newObj, this.dataList)
|
let res = await confirmGroupBucket(newObj, this.dataList)
|
||||||
if (res.code === '1') {
|
if (res.code === '1') {
|
||||||
this.toast(res.desc)
|
this.toast(res.desc)
|
||||||
@@ -301,6 +305,7 @@ export default {
|
|||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
this.val3 = ''
|
this.val3 = ''
|
||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
|
this.result = {}
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
this.pkObj = {}
|
this.pkObj = {}
|
||||||
@@ -344,6 +349,7 @@ export default {
|
|||||||
this.val2 = ''
|
this.val2 = ''
|
||||||
this.val3 = ''
|
this.val3 = ''
|
||||||
this.val4 = ''
|
this.val4 = ''
|
||||||
|
this.result = {}
|
||||||
this.dataList = []
|
this.dataList = []
|
||||||
this.pkId = ''
|
this.pkId = ''
|
||||||
this.pkObj = {}
|
this.pkObj = {}
|
||||||
|
|||||||
Reference in New Issue
Block a user