|
@@ -24,7 +24,7 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" class="mb20">
|
|
|
<el-form-item label="部件类型">
|
|
|
- <MySelectRequest :select="props.select" :code="props.code" @search="search"/>
|
|
|
+ <MySelectRequest :textPla="props.textPla" :select="props.select" :code="props.code" @search="search"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="6" class="mb20">
|
|
@@ -130,14 +130,13 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
<script lang="ts" setup name="admin/Component">
|
|
|
-import { ref, reactive, onMounted, onBeforeMount} from 'vue' //computed, getCurrentInstance
|
|
|
+import {ref, reactive, onMounted, onBeforeMount, defineAsyncComponent} from 'vue' //computed, getCurrentInstance
|
|
|
import { ComponentApi } from '/@/api/admin/productionManagement/Component'
|
|
|
import dayjs from 'dayjs'
|
|
|
import eventBus from '/@/utils/mitt'
|
|
|
import {PageInputFileGetPageDto} from "/@/api/admin/productionManagement/ComopnentDto";
|
|
|
import {ComponentGetPageOutPut} from "/@/api/admin/productionManagement/CommunalDto";
|
|
|
import router from "/@/router";
|
|
|
-import {defineAsyncComponent} from "vue/dist/vue";
|
|
|
//import { isImage } from '/@/utils/test'
|
|
|
//import commonFunction from '/@/utils/commonFunction'
|
|
|
|
|
@@ -150,10 +149,11 @@ const MySelectRequest = defineAsyncComponent(() => import('/@/components/my-sele
|
|
|
*/
|
|
|
const props = reactive({
|
|
|
code:'componentType',
|
|
|
- select:'1'
|
|
|
+ select:'',
|
|
|
+ textPla:'请选择部件类型'
|
|
|
})
|
|
|
const search = (val) => {
|
|
|
- console.log(val)
|
|
|
+ bomModel.filterModel.bomType = val.value
|
|
|
}
|
|
|
|
|
|
|