Commit 465c89da authored by 黄卓's avatar 黄卓
parent 9e85c6c5
......@@ -45,6 +45,7 @@
<script>
import { getToken } from "@/utils/auth";
import { number } from 'echarts/lib/export'
export default {
props: {
......@@ -63,6 +64,11 @@ export default {
isShowTip: {
type: Boolean,
default: true
},
// 类型 1入仓 2 调拨出仓 3调拨到仓 4 订单转异
type: {
type: Number,
default: undefined
}
},
data() {
......@@ -116,9 +122,10 @@ export default {
methods: {
// 删除图片
handleRemove(index) {
// todo
console.log(index)
this.fileList.splice(index, 1);
this.$emit("input", this.listToString(this.fileList));
},
// 上传成功回调
handleUploadSuccess(res) {
......@@ -128,6 +135,8 @@ export default {
this.fileList = this.fileList.concat(this.uploadList);
this.uploadList = [];
this.number = 0;
// todo
console.log(res.data)
this.$emit("input", this.listToString(this.fileList));
this.$modal.closeLoading();
}
......
......@@ -164,7 +164,7 @@
<span style="font-size: 18px">{{$t('入仓影像')}}</span>
</div>
<div>
<image-and-video-upload :fileSize="50" :isShowTip="true" v-model="form.urls" ></image-and-video-upload>
<image-and-video-upload :fileSize="50" :isShowTip="true" v-model="form.urls" :type="1"></image-and-video-upload>
</div>
</el-card>
<div style="text-align: center;margin-top: 15px" v-if="!(order.status !== 3 && isEdit)">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment