bug修复

This commit is contained in:
hongchao 2025-07-26 19:08:40 +08:00
parent 994d43de32
commit 87afa05c67
1 changed files with 17 additions and 3 deletions

View File

@ -30,13 +30,13 @@
<uni-row :gutter="24" style="display: flex; align-items: center; margin-bottom: 20px">
<uni-col :span="6">退料单位</uni-col>
<uni-col :span="16">
<uni-easyinput v-model="maInfo.unitName" maxlength="20" disabled="true" />
<uni-easyinput type="textarea" v-model="maInfo.unitName" autoHeight disabled="true" :clearable="false" class="readonly-input"/>
</uni-col>
</uni-row>
<uni-row :gutter="24" style="display: flex; align-items: center; margin-bottom: 20px">
<uni-col :span="6">退料工程</uni-col>
<uni-col :span="16">
<uni-easyinput v-model="maInfo.proName" maxlength="20" disabled="true" />
<uni-easyinput type="textarea" v-model="maInfo.proName" autoHeight disabled="true" :clearable="false" class="readonly-input" />
</uni-col>
</uni-row>
<uni-row :gutter="24" style="display: flex; align-items: center; margin-bottom: 20px">
@ -117,6 +117,8 @@ const bmFileInfos = ref([])
const qrCode = ref('') //
const maInfo = ref({}) //
const scanQrCodeRef = ref(null)
//
const codeScan = async () => {
qrCode.value = ''
@ -339,7 +341,7 @@ const getMaInfoScan = async () => {
onLoad((options) => {
console.log(options)
backPerson.value = memberStore.userInfo.nickName
// backPerson.value = memberStore.userInfo.nickName
})
</script>
@ -441,6 +443,18 @@ export default {
</script>
<style lang="scss" scoped>
.readonly-input {
::v-deep .uni-easyinput__content.is-disabled {
min-height: 30px !important;
height: auto !important;
opacity: 1; /* 覆盖禁用状态的透明度 */
background-color: #fff; /* 覆盖灰色背景 */
color: #333; /* 覆盖文字颜色,设置为和正常状态一样 */
.uni-easyinput__content-input {
color: #333; /* 确保输入框内文字颜色也被覆盖 */
}
}
}
.upload-container {
display: flex;
flex-wrap: wrap;