You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
<template>
|
|
<view class="">
|
|
<u-popup mode="bottom" v-model="show">
|
|
<detail-common-info :dataContent="dataContent" @onClose="closePopup">
|
|
<view class="">
|
|
<!-- <view class="uni-flex uni-column">
|
|
<view class="item">
|
|
<text class="item_title">生产线代码 : </text>
|
|
<text class="text_wrap">{{dataContent.ProductionLineCode}} </text>
|
|
</view>
|
|
<view class="item">
|
|
<text class="item_title">工位代码 : </text>
|
|
<text class="text_wrap">{{dataContent.WorkStationCode}} </text>
|
|
</view>
|
|
</view> -->
|
|
</view>
|
|
</detail-common-info>
|
|
</u-popup>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref } from 'vue'
|
|
import detailCommonInfo from '@/mycomponents/detail/detailCommonInfo.vue'
|
|
|
|
const dataContent = ref('')
|
|
const show = ref(false)
|
|
const openPopup = (val) => {
|
|
dataContent.value = val
|
|
setTimeout((res) => {
|
|
show.value = true
|
|
}, 500)
|
|
}
|
|
const closePopup = () => {
|
|
show.value = false
|
|
}
|
|
defineExpose({
|
|
openPopup,
|
|
closePopup
|
|
})
|
|
</script>
|
|
|
|
<style></style>
|
|
|