no message
This commit is contained in:
@@ -128,6 +128,7 @@ export default {
|
||||
val2: '',
|
||||
val3: '',
|
||||
val4: '',
|
||||
result: {},
|
||||
dataList: [],
|
||||
pkId: '',
|
||||
pkObj: {},
|
||||
@@ -195,6 +196,7 @@ export default {
|
||||
this.val1 = res.resultTwo.bucketunique
|
||||
this.val2 = res.resultTwo.material_code
|
||||
this.val3 = res.resultTwo.pcsn
|
||||
this.result = res.resultOne
|
||||
} else {
|
||||
this.toast('袋码已存在')
|
||||
this.val4 = ''
|
||||
@@ -205,6 +207,7 @@ export default {
|
||||
this.val1 = res.resultTwo.bucketunique
|
||||
this.val2 = res.resultTwo.material_code
|
||||
this.val3 = res.resultTwo.pcsn
|
||||
this.result = res.resultOne
|
||||
}
|
||||
}
|
||||
} else {
|
||||
@@ -254,7 +257,7 @@ export default {
|
||||
try {
|
||||
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 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)
|
||||
if (res.code === '1') {
|
||||
this.toast(res.desc)
|
||||
@@ -262,6 +265,7 @@ export default {
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.result = {}
|
||||
this.dataList = []
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
@@ -289,7 +293,7 @@ export default {
|
||||
try {
|
||||
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 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)
|
||||
if (res.code === '1') {
|
||||
this.toast(res.desc)
|
||||
@@ -301,6 +305,7 @@ export default {
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.result = {}
|
||||
this.dataList = []
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
@@ -344,6 +349,7 @@ export default {
|
||||
this.val2 = ''
|
||||
this.val3 = ''
|
||||
this.val4 = ''
|
||||
this.result = {}
|
||||
this.dataList = []
|
||||
this.pkId = ''
|
||||
this.pkObj = {}
|
||||
|
||||
Reference in New Issue
Block a user