From 4d5d871dd1cdc90cd1d913a0c696b7662b9d17e0 Mon Sep 17 00:00:00 2001 From: houshuai <17802598606@163.com> Date: 星期一, 30 六月 2025 17:12:36 +0800 Subject: [PATCH] 线边库基本页面搭建 --- src/views/lsw/modules/LswMaterialModal.vue | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/views/mdc/base/modules/EquipmentTypeList/MdcEquipmentTypeModal.vue b/src/views/lsw/modules/LswMaterialModal.vue similarity index 69% copy from src/views/mdc/base/modules/EquipmentTypeList/MdcEquipmentTypeModal.vue copy to src/views/lsw/modules/LswMaterialModal.vue index 588bc6b..b7b424f 100644 --- a/src/views/mdc/base/modules/EquipmentTypeList/MdcEquipmentTypeModal.vue +++ b/src/views/lsw/modules/LswMaterialModal.vue @@ -1,26 +1,27 @@ <template> <j-modal :title="title" - :width="width" + :width="1200" :visible="visible" + :maskClosable="false" switchFullscreen @ok="handleOk" :okButtonProps="{ class:{'jee-hidden': disableSubmit} }" - @cancel="handleCancel" - cancelText="鍏抽棴"> - <mdc-equipment-type-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></mdc-equipment-type-form> + @cancel="handleCancel"> + <lsw-material-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"/> </j-modal> </template> <script> - import MdcEquipmentTypeForm from './MdcEquipmentTypeForm' + import LswMaterialForm from './LswMaterialForm' + export default { - name: 'MdcEquipmentTypeModal', + name: 'LswMaterialModal', components: { - MdcEquipmentTypeForm + LswMaterialForm }, - data () { + data() { return { title:'', width:800, @@ -28,7 +29,7 @@ disableSubmit: false } }, - methods: { + methods:{ add () { this.visible=true this.$nextTick(()=>{ @@ -46,7 +47,7 @@ this.visible = false; }, handleOk () { - this.$refs.realForm.submitForm(); + this.$refs.realForm.handleOk(); }, submitCallback(){ this.$emit('ok'); @@ -57,4 +58,7 @@ } } } -</script> \ No newline at end of file +</script> + +<style scoped> +</style> \ No newline at end of file -- Gitblit v1.9.3