Commit 7a258984 authored by 仇晓婷's avatar 仇晓婷

youhua

parent d8a94310
...@@ -97,6 +97,14 @@ export default { ...@@ -97,6 +97,14 @@ export default {
key: "storeTitle", key: "storeTitle",
width: 100, width: 100,
}, },
{
title: "借出数量",
key: "lentCount",
},
{
title: "已归还数量",
key: "lentCount2",
},
{ {
title: this.l("count"), title: this.l("count"),
key: "count", key: "count",
...@@ -114,6 +122,7 @@ export default { ...@@ -114,6 +122,7 @@ export default {
libraryTube: this.$store.state.userInfo.userName, //库管员 libraryTube: this.$store.state.userInfo.userName, //库管员
}; };
}, },
props: { props: {
eid: Number, eid: Number,
}, },
...@@ -135,6 +144,7 @@ export default { ...@@ -135,6 +144,7 @@ export default {
let objList = data; let objList = data;
objList.count1 = parseFloat(data.count); objList.count1 = parseFloat(data.count);
objList.count = parseFloat(data.count); objList.count = parseFloat(data.count);
objList.lentCount2 = parseFloat(data.lentCount - data.count);
objList.state = "3"; objList.state = "3";
items.push(objList); items.push(objList);
}); });
......
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