Commit 5130ca7e authored by hubaoshan's avatar hubaoshan

wcp

parent 4aec84a9
...@@ -186,8 +186,6 @@ export default { ...@@ -186,8 +186,6 @@ export default {
/** /**
* 1.判断储存的list是不是为空 * 1.判断储存的list是不是为空
* **/ * **/
// this.storeList
// this.tableList
for (let i = 0; i < this.tableList.length; i++) { for (let i = 0; i < this.tableList.length; i++) {
const tableObj = this.tableList[i] const tableObj = this.tableList[i]
// 1. 匹配成功 // 1. 匹配成功
......
This diff is collapsed.
<template>
<div class="TopTable">
<div class="Table">
<el-table :data="tableList">
<el-table-column type="index" label="序号" width="50" />
<el-table-column label="orderSn">
<template slot-scope="scope">
<span>{{ scope.row.orderSn || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="人员">
<template slot-scope="scope">
<span>{{ scope.row.user || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<span style="color: #46BCF3;cursor: pointer" @click="handleDispose(scope.row)">盘点</span>
</template>
</el-table-column>
</el-table>
</div>
</div>
</template>
<script>
export default {
name: 'MaterialInventory',
data() {
return {
loading: false,
total: 0,
queryparams: {
page: 1,
rows: 10,
ptype: '',
dealStatus: '0'
},
// 选中的下坐表
actionIndex: null,
// 标签集合
tabList: [
{
type: null,
number: null
},
{
type: null,
number: null
},
{
type: null,
number: null
},
{
type: null,
number: null
},
{
type: null,
number: null
}
],
// 对应标签下的列表数据
tableList: [{ orderSn: '20240809', user: '李四' }]
}
},
created() {
// this.getTabList()
},
methods: {
// 处理
handleDispose(item) {
this.$router.push({
path: '/setup/inventory',
query: {
businessId: item.businessId
}
})
}
}
}
</script>
<style scoped>
.Table{
width: 99%;
margin: 1%;
}
</style>
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