Commit 3cfe107b authored by jingnan's avatar jingnan 👀

采购入库数据为驳回时编辑明细bug修改

parent 0e2c75e2
......@@ -4,7 +4,7 @@
* @date 2023-10-19
*/
<template>
<div class="purchasingWarehousing-newOrEdit">
<div v-dee-loading="loading" class="purchasingWarehousing-newOrEdit">
<!-- <dee-tools :tools="topTools" mode="normal" style="justify-content: end;" /> -->
<dee-form
ref="form"
......@@ -62,6 +62,7 @@ export default {
data() {
const that = this
return {
loading: false,
currBasicData: null,
form: {},
formData: [{
......@@ -671,8 +672,8 @@ export default {
},
{
'fieldName': 'state',
'operator': 'EQ',
'value': 'Apply'
'operator': 'IN',
'value': ['Apply', 'Back']
}
],
'operator': 'AND'
......@@ -737,7 +738,9 @@ export default {
'value': this.InStorageApplyProcessInfo && this.InStorageApplyProcessInfo.id || ''
})
}
this.loading = true
post('InStorageRequestItem/treeSearch', param).then(res => {
this.loading = false
const data = res.items.map(item => {
return {
...item,
......@@ -766,6 +769,7 @@ export default {
this.childNum = 1
}).catch((err) => {
console.log(err)
this.loading = false
})
},
// 组装表格数据
......
......@@ -5,7 +5,7 @@
* @FilePath: applications/dee-mes/src/privateComponents/components/purchasingWarehousingNewOrEdit/index.vue
*/
<template>
<div class="purchasingWarehousing-newOrEdit">
<div v-dee-loading="loading" class="purchasingWarehousing-newOrEdit">
<!-- <dee-tools :tools="topTools" mode="normal" style="justify-content: end;" /> -->
<dee-form
ref="form"
......@@ -64,6 +64,7 @@ export default {
data() {
const that = this
return {
loading: false,
currBasicData: null,
form: {},
formData: [{
......@@ -672,8 +673,8 @@ export default {
},
{
'fieldName': 'state',
'operator': 'EQ',
'value': 'Apply'
'operator': 'IN',
'value': ['Apply', 'Back']
}
],
'operator': 'AND'
......@@ -738,7 +739,9 @@ export default {
'value': this.InStorageApplyProcessInfo && this.InStorageApplyProcessInfo.id || ''
})
}
this.loading = true
post('InStorageRequestItem/treeSearch', param).then(res => {
this.loading = false
const data = res.items.map(item => {
return {
...item,
......@@ -767,6 +770,7 @@ export default {
this.childNum = 1
}).catch((err) => {
console.log(err)
this.loading = false
})
},
// 组装表格数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment