diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index d975ab06..08ff2306 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -79,7 +79,8 @@ export default { baseUrl: process.env.VUE_APP_BASE_API, uploadImgUrl: process.env.VUE_APP_BASE_API + "/common/ossUpload", // 上传的图片服务器地址 headers: { "X-Token": getToken() }, - fileList: [] + fileList: [], + filesSize:{} }; }, watch: { @@ -122,6 +123,7 @@ export default { if(findex > -1) { this.fileList.splice(findex, 1); this.$emit("input", this.listToString(this.fileList)); + this.filesSize[file.name] = null; } }, // 上传成功回调 @@ -132,7 +134,7 @@ export default { this.fileList = this.fileList.concat(this.uploadList); this.uploadList = []; this.number = 0; - this.$emit("input", this.listToString(this.fileList)); + this.$emit("input", this.listToString(this.fileList), this.filesSize); this.$modal.closeLoading(); } }, @@ -164,6 +166,7 @@ export default { return false; } } + this.filesSize[file.name] = file.size this.$modal.loading("正在上传图片,请稍候..."); this.number++; }, diff --git a/src/views/emis/emisWaybill/uploadThePictureOfTheSendWaybillShipment.vue b/src/views/emis/emisWaybill/uploadThePictureOfTheSendWaybillShipment.vue new file mode 100644 index 00000000..08ffcbe5 --- /dev/null +++ b/src/views/emis/emisWaybill/uploadThePictureOfTheSendWaybillShipment.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/views/emis/emisWaybill/uploadThePictureOfTheWaybillSigning.vue b/src/views/emis/emisWaybill/uploadThePictureOfTheWaybillSigning.vue new file mode 100644 index 00000000..954efcb4 --- /dev/null +++ b/src/views/emis/emisWaybill/uploadThePictureOfTheWaybillSigning.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/views/emis/emisWaybillTransfer/waybillTransfer.vue b/src/views/emis/emisWaybillTransfer/waybillTransfer.vue index ac5d5c95..4add55f8 100644 --- a/src/views/emis/emisWaybillTransfer/waybillTransfer.vue +++ b/src/views/emis/emisWaybillTransfer/waybillTransfer.vue @@ -147,8 +147,12 @@ {{ parseTime(scope.row.transferDate) }} - - + + + /> + @@ -198,7 +202,7 @@ clearable v-model="form.transferExpress" > - +