fix:修复

20240912_adapter
chenhc 5 months ago
parent 7788cbce19
commit 678f06fc96

@ -120,7 +120,7 @@
</el-col> </el-col>
<el-col :span="24" style="margin-top: 30px"> <el-col :span="24" style="margin-top: 30px">
<el-form-item prop="udiCode" label="UDI码:" class="query-form-item"> <el-form-item prop="udiCode" label="产品编码:" class="query-form-item">
<el-input <el-input
id="inputer2" id="inputer2"
@focus="getInputFocus($event)" @focus="getInputFocus($event)"
@ -128,7 +128,7 @@
ref="inputRef2" ref="inputRef2"
style="width: 80%" style="width: 80%"
type="tel" type="tel"
placeholder="请点击输入框进行UDI码设置或者UDI码录入" placeholder="请扫追溯码/产品编码/医保编码绑定"
v-model="addBindData.udiCode" v-model="addBindData.udiCode"
:disabled="!addBindData.udiCodeFlag" :disabled="!addBindData.udiCodeFlag"
></el-input> ></el-input>
@ -138,7 +138,7 @@
<el-col :span="24"> <el-col :span="24">
<el-form-item prop="udiCode" label="" class="query-form-item"> <el-form-item prop="udiCode" label="" class="query-form-item">
<el-descriptions class="margin-top" title="" :column="3" border style="width: 80%"> <el-descriptions class="margin-top" title="" :column="3" border style="width: 80%">
<el-descriptions-item label="DI标识">{{product.nameCode}}</el-descriptions-item> <el-descriptions-item label="产品标识">{{product.nameCode}}</el-descriptions-item>
<el-descriptions-item label="产品通用名">{{product.cpmctymc}}</el-descriptions-item> <el-descriptions-item label="产品通用名">{{product.cpmctymc}}</el-descriptions-item>
<el-descriptions-item label="规格型号">{{product.ggxh}}</el-descriptions-item> <el-descriptions-item label="规格型号">{{product.ggxh}}</el-descriptions-item>
</el-descriptions> </el-descriptions>
@ -405,9 +405,11 @@ export default {
}); });
} else { } else {
this.$message.error(response.message) this.$message.error(response.message)
this.$refs.inputRef1.select();
} }
}).catch((error) => { }).catch((error) => {
this.$message.error(error.message) this.$message.error(error.message)
this.$refs.inputRef1.select();
}); });
}, },

Loading…
Cancel
Save