|
|
|
@ -286,7 +286,10 @@ |
|
|
|
<el-dialog title="UL文件号/UL Product Model" top="17vh" :close-on-click-modal="false" v-drag :visible.sync="urlFileFlag" width="700px"> |
|
|
|
<el-form :inline="true" label-position="top" :model="searchData"> |
|
|
|
<el-form-item :label="'名称'"> |
|
|
|
<el-input v-model="bomData.urlFile" clearable style="width: 370px"></el-input> |
|
|
|
<!-- 加@input和@paste之前会存在部分参数卡编码的该输入框输入无法及时赋值的情况,通过@input和@paste强行赋值--> |
|
|
|
<el-input @input="urlFileList = urlFileList.filter(item => item.dictValue&&item.dictValue !== '')" |
|
|
|
@paste="urlFileList = urlFileList.filter(item => item.dictValue&&item.dictValue !== '')" |
|
|
|
v-model="bomData.urlFile" clearable style="width: 370px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="' '"> |
|
|
|
<el-button type="primary" @click="queryUrlFile">查询</el-button> |
|
|
|
@ -720,7 +723,7 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
async searchTable (type) { |
|
|
|
await getOADetailForBM(this.searchData).then(({data}) => { |
|
|
|
await getOADetailForBM(this.searchData).then(({data}) => { |
|
|
|
this.spForm.nodeName = data.row.nodeName |
|
|
|
this.spForm.sp = data.row.sp == null ? '' : data.row.sp |
|
|
|
}) |
|
|
|
@ -954,7 +957,10 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
}, |
|
|
|
'bomData.urlFile'(newVal) { |
|
|
|
this.$forceUpdate(); // 强制更新视图 |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
|