Commit b4f537be authored by Mac's avatar Mac

1

parent 4c9d14f5
......@@ -17,46 +17,46 @@
<ul v-show="morequery" class="queryul">
<li style="float:left">
<!-- :alwaysOpen="true" -->
<treeselect style="height:50px;width:200px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
<treeselect style="height:50px;width:200px;" :options="treedata" v-model="msg.CategoryId" placeholder="分类"
:normalizer="normalizer" />
</li>
<li>
<li>
<el-input class="w200" size="small" v-model="msg.Name" placeholder="档案名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<li>
<el-input class="w200" size="small" v-model="msg.SuppliesNum" placeholder="物料编码" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<li>
<el-input class="w200" size="small" v-model="msg.BrandName" placeholder="品牌" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
<li>
<li>
<el-input class="w200" size="small" v-model="msg.SupplierName" placeholder="供应商名称" @keyup.enter.native="msg.pageIndex=1,getList()"></el-input>
</li>
</ul>
<vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData">
<vxe-table-column field="SuppliesNum" title="档案编码">
<vxe-table-column field="SuppliesNum" title="档案编码" >
<template v-slot="{ row }">
<span class="underline" @click="getCheckDes(row)">{{row.SuppliesNum}}</span>
</template>
</template>
</vxe-table-column>
<vxe-table-column field="Name" title="档案名称">
<vxe-table-column field="Name" title="档案名称" width='200'>
<template v-slot="{ row }">
<span class="underline" @click="getCheckDes(row)">{{row.Name}}</span>
</template>
</template>
</vxe-table-column>
<vxe-table-column field="SuppliesName" title="规格" width='200'>
<template v-slot="{ row }">
<span v-for="(x,y) in row.GoodsSpecificationList" :key="y">{{x}}{{y+1==row.GoodsSpecificationList.length?'':','}}</span>
</template>
</template>
</vxe-table-column>
<vxe-table-column field="CategoryName" title="分类名称"></vxe-table-column>
<vxe-table-column field="BrandName" title="品牌"></vxe-table-column>
<vxe-table-column field="Money" title="成本价"></vxe-table-column>
<vxe-table-column field="SupplierName" title="供应商"></vxe-table-column>
<vxe-table-column field="Barcode" title="条形码号"></vxe-table-column>
<!-- <vxe-table-column field="Barcode" title="条形码号"></vxe-table-column>-->
<vxe-table-column field="UpdateDate" title="库存">
<template v-slot="{ row }">
<p>预警库存:{{row.ReservedStock}}</p>
......@@ -70,7 +70,7 @@
<p>{{row.UpdateDate}}</p>
</template>
</vxe-table-column>
<vxe-table-column field="UpdateDate" title="备注"></vxe-table-column>
<vxe-table-column field="Remark" title="备注"></vxe-table-column>
<vxe-table-column field="address" title="操作">
<template v-slot="{ row }">
<el-tooltip class="item" effect="dark" content="编辑" placement="top">
......@@ -159,7 +159,7 @@
<img @click="DeleteImg(item,index)" src="../../assets/img/imgdelete.png" alt="">
</div>
</li>
</ul>
</ul>
<div class="uploadDiv">
<el-upload
:http-request="uploadFileBtn"
......@@ -269,7 +269,7 @@ export default {
},
mounted(){
this.getList();
this.getNode();
this.getNode();
},
methods:{
getCheckDes(item){
......@@ -283,10 +283,10 @@ export default {
this.addMsg.ImageList.splice(index, 1);
},
treefocus(){
this.treedataState=true;
this.treedataState=true;
},
treeblur(){
this.treedataState=false;
this.treedataState=false;
},
addSupplier(){
......@@ -440,7 +440,7 @@ export default {
this.initMsg();
}
},
}
</script>
......
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