diff --git a/src/views/commodity/commodityAdd.vue b/src/views/commodity/commodityAdd.vue index 01cd097..8434794 100644 --- a/src/views/commodity/commodityAdd.vue +++ b/src/views/commodity/commodityAdd.vue @@ -52,7 +52,7 @@
阶梯重量(斤): + oninput="value=value.replace(/[^0-9]/g,'')" />
阶梯价格 (元/斤): @@ -189,6 +189,7 @@ handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') this.imgList = [] + this.hideUploadBtn = true this.formobj = { sid: '', name: '', @@ -209,6 +210,7 @@ }, showAdd() { console.log(this.imgList, 88888888) + this.hideUploadBtn = this.imgList.length != 0 }, showEdit(row) { req.goodsInit(row.sid)