提交 47debc14 编写于 作者: tao.wu's avatar tao.wu

快速录入bug

上级 2c817b16
......@@ -980,7 +980,7 @@
fastInput(type){
///medications/query/{approvalnumber}
if(this.formData1.barCode == ''){
this.$refs.formData.validateField("barCode")
this.$refs.formData1.validateField("barCode")
return;
}
// this.GET("store/medications/query/"+this.formData.approvalNumber).then(res => {
......@@ -999,8 +999,8 @@
});
}
const {imageList,medicationInfo} = res.data
this.formData.medicationId = medicationInfo.id;
this.formData.approvalNumber = medicationInfo.approvalNumber;
this.formData1.medicationId = medicationInfo.id;
this.formData1.approvalNumber = medicationInfo.approvalNumber;
const {medicCommonName,
medicGoodsName,
dosageId,
......@@ -1040,9 +1040,9 @@
if(categoryIdLevel4 != -1){
this.getLever(categoryIdLevel4,5,1)
}
this.formData = Object.assign(this.formData,fastParm)
this.formData1 = Object.assign(this.formData1,fastParm)
this.formData.otc1 = this.formData.otc ? '1' : '0'
this.formData1.otc1 = this.formData1.otc ? '1' : '0'
this.fileIntrList = this.getImges(imageList,2)
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册