添加入库单据

This commit is contained in:
liuhanqing
2025-05-21 15:15:36 +08:00
parent 53ba120d05
commit 519e11cd08
28 changed files with 3579 additions and 197 deletions

View File

@@ -197,7 +197,7 @@
<el-table v-loading="loading" :data="stockInList" @selection-change="handleSelectionChange" @row-click="handleRowClick">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="GUID" align="center" prop="stockinGuid" />
<el-table-column label="GUID" align="center" prop="stockinGuid" v-if="false" />
<el-table-column label="入库订单ID" align="center" prop="stockinId" />
<el-table-column label="入库类型" align="center" prop="inType">
<template slot-scope="scope">
@@ -256,7 +256,7 @@
@pagination="getList"
/>
<el-table v-loading="loading" :data="stockInDetailList" @selection-change="handleSelectionChange" >
<el-table v-loading="detailLoading" :data="stockInDetailList" @selection-change="handleSelectionChange" >
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="子单ID" align="center" prop="stockinDetailId" />
<el-table-column label="主单GUID" align="center" prop="stockinGuid" />
@@ -405,12 +405,14 @@ export default {
this.stockInList = response.rows
this.total = response.total
this.loading = false
if (this.stockInList.length > 0){
var length = this.stockInList.length;
if (length > 0){
var data = this.stockInList.at(0);
this.getDetailList(data.stockinId);
}else {
console.log("没有数据")
this.stockInDetailList = []
this.detailLoading = false
}
})
},