Commit fe11526c authored by 黄媛媛's avatar 黄媛媛

1

parent c51f49b2
......@@ -97,7 +97,7 @@
<img v-if="row.CheckState==1" @click="SeeDetails(row,'/InventoryDetail')" style="width:24px;height:24px" src="../../assets/img/shtg.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="下载明细" placement="top" v-if="row.CheckState==1">
<img v-if="row.CheckState == 1" @click="" style="width:24px;height:24px" src="../../assets/img/xz.png" alt="" />
<img v-if="row.CheckState == 1" @click="Export(row)" style="width:24px;height:24px" src="../../assets/img/xz.png" alt="" />
</el-tooltip>
<el-tooltip class="item" effect="dark" content="复盘" placement="top" v-if="row.CheckState==2">
<img v-if="row.CheckState == 2" @click="analyse(row)" style="width:24px;height:24px" src="../../assets/img/cz.png" alt="" />
......@@ -211,6 +211,10 @@ export default {
WarehouseId:0,
CheckState:0,
},
repeatMsg:{
},
getWareHouseList:[],
getCheckStatusList:[],
dialogtitle: "新增",
......@@ -434,6 +438,23 @@ export default {
},
null
);
},
Export(row){
let msg = {
pageIndex:1,
pageSize:99999999,
CheckId:row.Id,
SuppliesId:'',
SuppliesName:'',
CheckStatus:0,
IsSelectCheckLoss: 0, //是否只查询盘点盈亏的 1是 0否
IsSelectHaveInventory: 0, //是否只查询有库存数量的 1是 0否
};
this.JavaGetLocalFile(
"/api/supplies/GetSuppliesCheckDetailToExcel",
msg,
"盘点明细.xls"
);
}
}
};
......
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