提交 b57f722d 编写于 作者: 张平's avatar 张平

Merge branch 'dev-youhua-20210120' into 'release'

input type 1 codereviewer:ping.zhang



See merge request !243
...@@ -815,13 +815,15 @@ ...@@ -815,13 +815,15 @@
uploadImgMessage1: false,//未上传图片,校验提示语 uploadImgMessage1: false,//未上传图片,校验提示语
isMedic:false, // 商品类型选择【药品】时!!!!!!!!!!!!!!!!!!!!!!!!!!!!! isMedic:false, // 商品类型选择【药品】时!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
isCheckServe: false, // 商品类型选择【检测服务】时!!!!!!!!!!!!!!!!!!!!!!!!!!!!! isCheckServe: false, // 商品类型选择【检测服务】时!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
inputType: ''
} }
}, },
created() { created() {
vm = this; vm = this;
const { id, storeId, goodsType } = this.$route.query; const { id, storeId, goodsType, inputType } = this.$route.query;
this.goodsType = goodsType; this.goodsType = goodsType;
this.storeId = storeId; this.storeId = storeId;
this.inputType = inputType || '';
// this.formData = originForm; // this.formData = originForm;
// this.formData1 = originForm1; // this.formData1 = originForm1;
// this.formData2 = originForm2; // this.formData2 = originForm2;
...@@ -1220,6 +1222,7 @@ ...@@ -1220,6 +1222,7 @@
}else{ }else{
this.formData.costPrice = this.formData.optPrice*100 this.formData.costPrice = this.formData.optPrice*100
this.formData.hasChanged = true; this.formData.hasChanged = true;
this.formData.inputType = this.inputType;
this.updateGoodsInfo(); this.updateGoodsInfo();
} }
......
...@@ -419,7 +419,7 @@ ...@@ -419,7 +419,7 @@
const { goodsType } = row; const { goodsType } = row;
let url = '' let url = ''
if(row == 'add'){ if(row == 'add'){
url = `/create-good?id=add&storeId=${this.searchForm.storeId}` url = `/create-good?id=add&storeId=${this.searchForm.storeId}&inputType=1`
}else{ }else{
url = `/create-good?id=${row.goodsId}&storeId=${this.searchForm.storeId}&goodsType=${goodsType}` url = `/create-good?id=${row.goodsId}&storeId=${this.searchForm.storeId}&goodsType=${goodsType}`
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册