提交 314d61c6 编写于 作者: chendeli's avatar chendeli

storeId默认值为空

上级 62ae6ce7
......@@ -535,7 +535,7 @@
costPrice:'',
decrStock:'',//减少库存
incrStock:'',//增加库存
storeId: null,
storeId: '',
},
showCropper: false,
currentOption: {
......@@ -641,7 +641,7 @@
//this.jumPathThird = '/create-good?id=add&storeId=46'
this.title = id == 'add' ? '新增商品' : '编辑商品'
this.curmbThird = this.title
this.formData.storeId = Number(storeId) || 0;
this.formData.storeId = Number(storeId) || '';
this.getLever(0,1)
dosageAll().then((res)=>{
this.doseAll = res.data
......
......@@ -111,7 +111,7 @@
showNewFlag: false,
searchForm: {
storeName: '',
storeId: 0,
storeId: '',
storeType: 0,
pageNo: 1,
pageSize: 10,
......@@ -164,7 +164,7 @@
if (this.searchForm.id) {
params.storeId = this.searchForm.id;
}else {
params.storeId = 0;
params.storeId = '';
}
if (this.searchForm.type) {
params.storeType = this.searchForm.type;
......@@ -187,7 +187,7 @@
resetForm() {
this.searchForm = {
storeName: '',
storeId: 0,
storeId: '',
storeType: 0,
pageNo: 1,
pageSize: 10,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册