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

排产资源设置日历bug

parent 06efd5a7
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</template> </template>
</DataGrid> </DataGrid>
<Modal v-model="editModal" title="编辑" footer-hide> <Modal v-model="editModal" title="设置日历" footer-hide>
<Set :eid="curId" @on-close="cancel" @on-ok="addOk" /> <Set :eid="curId" @on-close="cancel" @on-ok="addOk" />
</Modal> </Modal>
......
...@@ -97,8 +97,8 @@ export default { ...@@ -97,8 +97,8 @@ export default {
Api.get({ id: v }).then(r => { Api.get({ id: v }).then(r => {
this.formItem.equip_name = r.result.title; this.formItem.equip_name = r.result.title;
this.formItem.equip_id = r.result.code; this.formItem.equip_id = r.result.code;
this.formItem1.equip_pk = r.result.id; this.formItem1.calendarwork_pk = r.result.calKey;
this.formItem2.equip_pk = r.result.id; this.formItem2.calendarovertime_pk = r.result.holidayKey;
}); });
}, },
handleSubmit() { handleSubmit() {
......
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