Commit 5f255805 authored by Mac's avatar Mac

1

parent 0bf3b73a
......@@ -158,8 +158,8 @@
</div>
</div>
<div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class="sticky-tow-column-table"
separator="none" :data="data" :columns="columns" row-key="name">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat class=" sticky-right-column-table sticky-column-table"
:data="data" :columns="columns" row-key="name">
<template v-slot:top="props">
<div class="col-2 q-table__title">出库管理</div>
<q-space />
......@@ -193,6 +193,14 @@
</div>
</q-td>
</template>
<template v-slot:body-cell-FinanceIdList="props">
<q-td :props="props">
<div v-for="item in props.row.FinanceIdList" :key="item.Id" class="td_height" @click="gocaiwu(item)" style="text-decoration:underline;color:#2961FE;cursor:pointer;">
{{item}}
</div>
</q-td>
</template>
<template v-slot:body-cell-SuppliesName="props">
<q-td :props="props">
<div v-for="item in props.row.DetailList" :key="item.Id" class="td_height">
......@@ -200,6 +208,13 @@
</div>
</q-td>
</template>
<template v-slot:body-cell-Type="props">
<q-td :props="props">
<div v-if="props.row.Type===1">班级相关</div>
<div v-if="props.row.Type===2">其他业务</div>
</q-td>
</template>
<template v-slot:body-cell-BrandName="props">
<q-td :props="props">
<div v-for="item in props.row.DetailList" :key="item.Id" class="td_height">
......@@ -207,6 +222,14 @@
</div>
</q-td>
</template>
<template v-slot:body-cell-CategoryName="props">
<q-td :props="props">
<div v-for="item in props.row.DetailList" :key="item.Id" class="td_height">
{{item.CategoryName}}
</div>
</q-td>
</template>
<template v-slot:body-cell-Number="props">
<q-td :props="props">
<div v-for="item in props.row.DetailList" :key="item.Id" class="td_height">
......@@ -300,10 +323,26 @@
offerObj: {}, //报价单信息
columns: [
{
name: "SuppliesName",
label: "耗材名称",
align: "left",
name: "AuditStatus",
label: "审核状态",
field: "AuditStatus",
align: "left"
},
{
name: "Id",
label: "编号",
field: "Id",
align: "left"
},
{
name: "Type",
label: "类型",
field: "Type",
align: "left"
},
{
name: "ClassName",
label: "班级名称",
......@@ -314,7 +353,16 @@
label: "课程名称",
align: "left",
},
{
name: "SuppliesName",
label: "耗材名称",
align: "left",
},
{
name: "CategoryName",
label: "分类",
align: "left",
},
{
name: "BrandName",
label: "品牌",
......@@ -324,6 +372,11 @@
name: "Number",
label: "数量",
align: "left",
},
{
name: "FinanceIdList",
label: "相关单据",
align: "left",
},
{
name: "StockOutStatus",
......@@ -331,12 +384,7 @@
field: "StockOutStatus",
align: "left"
},
{
name: "AuditStatus",
label: "审核状态",
field: "AuditStatus",
align: "left"
},
{
name: "CreateByName",
label: "申请人",
......@@ -446,6 +494,13 @@
});
},
gocaiwu(item){
console.log(item)
let tempStr = '/financial/financalDocument/FinancialDocumentsDetail?id='+item;
this.$router.push({
path: tempStr
});
}
}
}
......
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