bug修复
This commit is contained in:
		
							parent
							
								
									994d43de32
								
							
						
					
					
						commit
						87afa05c67
					
				| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue