submit
This commit is contained in:
parent
73969a626a
commit
5f6198ca6d
5
App.vue
5
App.vue
@ -21,6 +21,11 @@ export default {
|
|||||||
@import "./tm-vuetify/mian.min.css";
|
@import "./tm-vuetify/mian.min.css";
|
||||||
@import "./tm-vuetify/scss/theme.css";
|
@import "./tm-vuetify/scss/theme.css";
|
||||||
@import "uview-ui/index.scss";
|
@import "uview-ui/index.scss";
|
||||||
|
.u-upload__wrap{
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
.u-upload__button{
|
.u-upload__button{
|
||||||
width: 404rpx!important;
|
width: 404rpx!important;
|
||||||
height: 306rpx!important;
|
height: 306rpx!important;
|
||||||
|
@ -14,10 +14,15 @@
|
|||||||
:fileList="fileList1"
|
:fileList="fileList1"
|
||||||
@afterRead="afterRead"
|
@afterRead="afterRead"
|
||||||
@delete="deletePic"
|
@delete="deletePic"
|
||||||
name="1"
|
name="6"
|
||||||
multiple
|
multiple
|
||||||
:maxCount="10"
|
:maxCount="1"
|
||||||
></u-upload>
|
width="250"
|
||||||
|
height="150"
|
||||||
|
>
|
||||||
|
<image src="https://cdn.uviewui.com/uview/demo/upload/positive.png"
|
||||||
|
mode="widthFix" style="width: 404rpx;height: 306rpx;"></image>
|
||||||
|
</u-upload>
|
||||||
<!-- <image :src="info.artworkImg"></image>-->
|
<!-- <image :src="info.artworkImg"></image>-->
|
||||||
</div>
|
</div>
|
||||||
<tm-poup height="700" v-model="show_2" position="bottom">
|
<tm-poup height="700" v-model="show_2" position="bottom">
|
||||||
@ -342,7 +347,7 @@ export default {
|
|||||||
const res = await postDataByParams('/api/warehouse/ocr', data)
|
const res = await postDataByParams('/api/warehouse/ocr', data)
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
this.fileList1=[this.info.artworkImg]
|
this.fileList1=[{url:this.info.artworkImg}]
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.msg,
|
title: res.msg,
|
||||||
|
Loading…
Reference in New Issue
Block a user