Commit b95f13df authored by 仇晓婷's avatar 仇晓婷

制造资源

parent 44312e7a
...@@ -31,12 +31,12 @@ ...@@ -31,12 +31,12 @@
<Divider orientation="left">资源属性</Divider> <Divider orientation="left">资源属性</Divider>
<Col :span="12" v-if="entity.resourceId"> <Col :span="12" v-if="entity.resourceId">
<FormItem label="资源名称:"> <FormItem label="名称:">
<span>{{entity.nameOfResource}}</span> <span>{{entity.nameOfResource}}</span>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12" v-if="entity.resourceId"> <Col :span="12" v-if="entity.resourceId">
<FormItem label="资源编码:"> <FormItem label="编码:">
<span>{{entity.resourceCode}}</span> <span>{{entity.resourceCode}}</span>
</FormItem> </FormItem>
</Col> </Col>
......
...@@ -244,6 +244,7 @@ export default { ...@@ -244,6 +244,7 @@ export default {
}, },
inputOrderCat(row, index) { inputOrderCat(row, index) {
this.cartList[index].numberAvailable = row.numberAvailable; this.cartList[index].numberAvailable = row.numberAvailable;
this.cartList[index].count = row.count;
}, },
}, },
watch: {}, watch: {},
......
...@@ -90,6 +90,9 @@ export default { ...@@ -90,6 +90,9 @@ export default {
selectList: [], selectList: [],
libraryTube: this.$store.state.userInfo.userName, //库管员 libraryTube: this.$store.state.userInfo.userName, //库管员
}; };
},
async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典
}, },
props: {}, props: {},
mounted() {}, mounted() {},
......
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