提交 9d32f836 编写于 作者: tao.wu's avatar tao.wu

修改bug

上级 84ba7c43
此差异已折叠。
......@@ -24,12 +24,12 @@ const form2 = {
hospitalName: '',
hospitalType: '',
hospitalId: 0,
goodsId: 0, // 新增时传0,更新时必需>0
medicalServiceId: 0, // 新增时传0,更新时必需>0
goodsCheckImages: [],
checkItem: '',
checkStandard: '',
useCount: 0,
useCount: 1,
checkType: '',
suitable: '',
suitableStr: '',
......@@ -43,9 +43,8 @@ const form = {
// categoryId:'',
// otc:false,
// discountPrice:'',
// stock:0,
// goodsStock:0,
// specificationImages:[],
// goodsId: 0, // 新增时传0,更新时必需>0
id: 0,
goodsName:'',
goodsDescription:'',
......@@ -58,7 +57,8 @@ const form = {
storeId: '',
optPrice:'',
goodsStock:0,
stock: 0
stock: 0,
externalGoodsCode: ''
};
......
......@@ -23,6 +23,10 @@ const checkProjectStr = (rule, value, callback) => {
};
const rules1 = {
barCode: [
{ required: true, message: "请输入条形码", trigger: "submit" },
{ validator: checkBarcode, trigger: "submit" }
],
medicCommonName:[
{ required: true, message: "请输入商品通用名称", trigger: "blur" }
],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册