|
|
@ -22,11 +22,13 @@ |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<span class="item_text">编码:</span> |
|
|
|
<el-input v-model="formobj.code" placeholder="" class="item_input" clearable oninput="value=value.replace(/[^A-Za-z0-9]/g, '')" /> |
|
|
|
<el-input v-model="formobj.code" placeholder="" class="item_input" clearable |
|
|
|
oninput="value=value.replace(/[^A-Za-z0-9]/g, '')" /> |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<span class="item_text">条码:</span> |
|
|
|
<el-input v-model="formobj.barcode" placeholder="" class="item_input" clearable oninput="value=value.replace(/[^0-9]/g,'')" /> |
|
|
|
<el-input v-model="formobj.barcode" placeholder="" class="item_input" clearable |
|
|
|
oninput="value=value.replace(/[^0-9]/g,'')" /> |
|
|
|
</div> |
|
|
|
<div class="item"> |
|
|
|
<span class="item_text">价格:</span> |
|
|
@ -42,6 +44,12 @@ |
|
|
|
<el-input v-model="formobj.remarks" placeholder="例如:一份30斤" class="item_input" clearable /> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="item" style="margin-bottom: 100px;margin-top: 100px;"> |
|
|
|
<span class="item_text">图片:</span> |
|
|
|
<upload style="margin-top: 20px;" class="item_input" ref="uploadImg2" v-model="imgList" :limit="1" |
|
|
|
@change="backData" bucket="map" :upload-data="{ type: '0001' }"></upload> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div> |
|
|
|
<span class="item_text">商品详情:</span> |
|
|
|
<editor :height="300" :minHeight="100" :value="formobj.appContent" @input="editinput"></editor> |
|
|
@ -80,7 +88,7 @@ |
|
|
|
unitName: "", |
|
|
|
remarks: "", |
|
|
|
picUrl: "", |
|
|
|
appContent:'' |
|
|
|
appContent: '' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|