Commit 62b656ee authored by Mac's avatar Mac

出库的样式的修改

parent 1f213f02
...@@ -7,10 +7,7 @@ ...@@ -7,10 +7,7 @@
<img v-show="!morequery" style="width:12px;height:12px" src="../../assets/img/more.png" alt=""> <img v-show="!morequery" style="width:12px;height:12px" src="../../assets/img/more.png" alt="">
<img v-show="morequery" class="roatImg" style="width:12px;height:12px" src="../../assets/img/more.png" alt=""> <img v-show="morequery" class="roatImg" style="width:12px;height:12px" src="../../assets/img/more.png" alt="">
</span> </span>
<span @click="getList" style="margin-left:20px" class="chaxunSpan">查询</span> <span @click="msg.pageIndex=1,getList()" style="margin-left:20px" class="chaxunSpan">查询</span>
<span @click="Export('GetInventoryPageListToExcel','库存')" style="margin-left:20px" class="addSpan">导出</span>
</div> </div>
<div class="padContent"> <div class="padContent">
<ul v-show="morequery" class="queryul"> <ul v-show="morequery" class="queryul">
...@@ -35,6 +32,19 @@ ...@@ -35,6 +32,19 @@
</el-option> </el-option>
</el-select> </el-select>
</li> </li>
<li>
<el-date-picker
@change="msg.pageIndex=1,getList()"
v-model="dateList"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
</el-date-picker>
</li>
</ul> </ul>
<vxe-table stripe style="margin-top:15px" :loading="loading" <vxe-table stripe style="margin-top:15px" :loading="loading"
:data="tableData"> :data="tableData">
...@@ -45,7 +55,7 @@ ...@@ -45,7 +55,7 @@
</vxe-table-column> </vxe-table-column>
<vxe-table-column field="SuppliesName" title="耗材名称" width='300'> <vxe-table-column field="SuppliesName" title="耗材名称" width='300'>
<template v-slot="{ row }"> <template v-slot="{ row }">
<span class="underline" @click="getCheckDes(row)">{{row.SuppliesName}}</span> <span >{{row.SuppliesName}}</span>
</template> </template>
</vxe-table-column> </vxe-table-column>
<vxe-table-column field="SuppliesName" title="规格" width='200'> <vxe-table-column field="SuppliesName" title="规格" width='200'>
...@@ -103,7 +113,7 @@ ...@@ -103,7 +113,7 @@
Mobile:'', Mobile:'',
}, },
dialogState:false, dialogState:false,
dateList:[],
getWareHouseList:[], getWareHouseList:[],
wuliaomsg:{ wuliaomsg:{
pageIndex:1, pageIndex:1,
...@@ -125,22 +135,7 @@ ...@@ -125,22 +135,7 @@
this.getwuliaoList(); this.getwuliaoList();
}, },
methods:{ methods:{
getCheckDes(item){
let PropertyId=item.SuppliesId;
this.CheckDetailState=true;
setTimeout(()=>{
this.$refs.mychild.InitData(PropertyId);
},10)
},
Export(url,name){
let msg = JSON.parse(JSON.stringify(this.msg));
this.JavaGetLocalFile(
`/api/Supplies/${url}`,
msg,
`${name}报表.xls`
);
},
// 仓库列表 // 仓库列表
getWareHouse(){ getWareHouse(){
this.apiJavaPost("/api/Supplies/GetWareHouseList",{Name:''}, this.apiJavaPost("/api/Supplies/GetWareHouseList",{Name:''},
...@@ -172,6 +167,13 @@ ...@@ -172,6 +167,13 @@
}, },
getList(){ getList(){
this.loading=true; this.loading=true;
if (this.dateList && this.dateList.length > 0) {
this.msg.StartTime = this.dateList[0];
this.msg.EndTime = this.dateList[1];
} else {
this.msg.StartTime = "";
this.msg.EndTime = "";
}
this.apiJavaPost("/api/Supplies/GetSuppliesInventoryPageList",this.msg, this.apiJavaPost("/api/Supplies/GetSuppliesInventoryPageList",this.msg,
res => { res => {
this.loading=false; this.loading=false;
......
...@@ -95,14 +95,9 @@ ...@@ -95,14 +95,9 @@
<el-tooltip class="item" effect="dark" content="查看详情" placement="top" > <el-tooltip class="item" effect="dark" content="查看详情" placement="top" >
<img @click="SeeDetails(item,'/outboundDetails')" style="width:24px;height:24px;margin-right:10px;" src="../../assets/img/chakan.png" alt="" /> <img @click="SeeDetails(item,'/outboundDetails')" style="width:24px;height:24px;margin-right:10px;" src="../../assets/img/chakan.png" alt="" />
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="出库" placement="top"> <el-tooltip class="item" effect="dark" content="出库" placement="top" v-if="item.ApplyStatus==2&&(item.OutStatus==0||item.OutStatus==1)" >
<span class="outBand_div" v-if="item.ApplyStatus==2&&(item.OutStatus==0||item.OutStatus==1)" @click="goUrl('outboundOperate',item.ID)"> <img @click="goUrl('outboundOperate',item.ID)" style="width:24px;height:24px;margin-right:10px;" src="../../assets/img/chuk.png" alt="" v-if="item.ApplyStatus==2&&(item.OutStatus==0||item.OutStatus==1)" />
<i class="iconfont icon-chuku"></i>
</span>
</el-tooltip> </el-tooltip>
</td> </td>
</tr> </tr>
......
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