feat: 出库明细、分配明细
This commit is contained in:
@@ -113,6 +113,7 @@
|
||||
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
|
||||
<!--表格渲染-->
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
ref="table"
|
||||
:data="tableDtl"
|
||||
style="width: 100%;"
|
||||
@@ -148,6 +149,7 @@
|
||||
<el-card class="box-card" shadow="never" :body-style="{padding:'0'}">
|
||||
<!--表格渲染-->
|
||||
<el-table
|
||||
v-loading="loading2"
|
||||
ref="table2"
|
||||
:data="tabledis"
|
||||
style="width: 100%;"
|
||||
@@ -202,6 +204,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
dialogVisible: false,
|
||||
loading2: false,
|
||||
loading: true,
|
||||
tableDtl: [],
|
||||
tabledis: [],
|
||||
storlist: [],
|
||||
@@ -259,6 +263,7 @@ export default {
|
||||
},
|
||||
handleDtlCurrentChange(current) {
|
||||
if (current !== null) {
|
||||
this.loading2 = true
|
||||
this.tabledis = []
|
||||
this.currentdtl = current
|
||||
this.queryTableDdis()
|
||||
@@ -280,6 +285,7 @@ export default {
|
||||
queryTableDtl() {
|
||||
checkoutbill.getOutBillDtl({ 'iostorinv_id': this.form.iostorinv_id }).then(res => {
|
||||
this.tableDtl = res
|
||||
this.loading = false
|
||||
})
|
||||
},
|
||||
queryTableDdis() {
|
||||
@@ -288,6 +294,8 @@ export default {
|
||||
this.tabledis = res
|
||||
}).catch(() => {
|
||||
this.tabledis = []
|
||||
}).finally(() => {
|
||||
this.loading2 = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user