领用还回修改+备件
This commit is contained in:
@@ -98,9 +98,12 @@ export default {
|
||||
async _queryIODis (e) {
|
||||
let res = await queryIODis(e, this.$store.getters.materObj.iostorinvdtl_id)
|
||||
if (res.code === '1') {
|
||||
if (this.dataList.indexOf(res.content) > -1) {
|
||||
} else {
|
||||
if (!this.dataList.length) {
|
||||
this.dataList.push(res.content)
|
||||
} else {
|
||||
if (JSON.stringify(this.dataList).indexOf(JSON.stringify(res.content)) == -1) {
|
||||
this.dataList.push(res.content)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
@@ -111,6 +114,9 @@ export default {
|
||||
let res = await confirmDis('1', this.$store.getters.materObj, this.dataList)
|
||||
if (res.code === '1') {
|
||||
this.toast(res.desc)
|
||||
this.$router.push({
|
||||
path: '/SparePartOutstore'
|
||||
})
|
||||
} else {
|
||||
this.Dialog(res.desc)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user