feat: 出库明细、分配明细

This commit is contained in:
2025-06-11 17:00:27 +08:00
parent 1d090f3575
commit 619a6de84f
17 changed files with 616 additions and 1 deletions

View File

@@ -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
})
}
}