Browse Source

2025/6/17

master
Aoi_Tori 7 months ago
parent
commit
a5ade2db04
  1. 23
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue

23
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue

@ -1,6 +1,6 @@
<template>
<div class="mod-config" v-highlight-container>
<el-form :inline="true" label-position="top" :model="bomData" :rules="componentRules" style="margin-top: 1px; margin-left: 0px;" >
<el-form :inline="true" label-position="top" :model="bomData" style="margin-top: 1px; margin-left: 0px;" >
<el-row :gutter="20">
<el-col :span="18">
<el-form-item label="物料编码/Part No.">
@ -30,7 +30,7 @@
<span slot="label">
<a href="javascript:void(0)" @click="queryUrlFile" style=" text-decoration: none;">UL文件号/UL Product Model</a>
</span>
<el-input v-model="bomData.urlFile" :class="{ 'input-error-border': urlFileChange && bomData.urlFile && bomData.urlFile.trim() !== '' }" style="width: 370px" />
<el-input v-model="bomData.urlFile" style="width: 370px" />
</el-form-item>
<el-form-item label=" ">
<el-button type="primary" @click="searchTable(true)" >刷新</el-button>
@ -381,15 +381,6 @@
engChgLevel:'',
urlFile: ''
},
componentRules:{
urlFile: [
{
required: true,
message: ' ',
trigger: 'blur'
}
],
},
currentRow:"",
bomList:[],
urlFileList:[],
@ -933,16 +924,6 @@
this.bomData.urlFile = row.dictLabel
this.urlFileFlag = false
},
validateUrlFile() {
const value = this.bomData.urlFile.trim();
this.urlFileInvalid = !value; //
},
},
watch: {
'bomData.urlFile'(newVal) {
this.urlFileChange = true
},
},
}
</script>

Loading…
Cancel
Save