|
@@ -957,15 +957,13 @@
|
|
action="/api/v1/otms/addtmstruckArrivalResult"
|
|
action="/api/v1/otms/addtmstruckArrivalResult"
|
|
:limit="1"
|
|
:limit="1"
|
|
:on-change="fileChange1"
|
|
:on-change="fileChange1"
|
|
|
|
+ :on-preview="handlePictureCardPreview"
|
|
:on-exceed="exceed"
|
|
:on-exceed="exceed"
|
|
accept=".jpg,.jpeg,.png,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF"
|
|
accept=".jpg,.jpeg,.png,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF"
|
|
:auto-upload="false"
|
|
:auto-upload="false"
|
|
>
|
|
>
|
|
<i class="el-icon-plus"></i>
|
|
<i class="el-icon-plus"></i>
|
|
</el-upload>
|
|
</el-upload>
|
|
- <el-dialog :visible.sync="dialogVisible1">
|
|
|
|
- <img width="100%" :src="dialogImageUrl" alt="" />
|
|
|
|
- </el-dialog>
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="签收图片(空货箱、质保书、签收单)">
|
|
<el-form-item label="签收图片(空货箱、质保书、签收单)">
|
|
<el-upload
|
|
<el-upload
|
|
@@ -974,15 +972,13 @@
|
|
action="null"
|
|
action="null"
|
|
:limit="5"
|
|
:limit="5"
|
|
:on-change="fileChange2"
|
|
:on-change="fileChange2"
|
|
|
|
+ :on-preview="handlePictureCardPreview"
|
|
:on-exceed="exceed"
|
|
:on-exceed="exceed"
|
|
accept=".jpg,.jpeg,.png,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF"
|
|
accept=".jpg,.jpeg,.png,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF"
|
|
:auto-upload="false"
|
|
:auto-upload="false"
|
|
>
|
|
>
|
|
<i class="el-icon-plus"></i>
|
|
<i class="el-icon-plus"></i>
|
|
</el-upload>
|
|
</el-upload>
|
|
- <el-dialog :visible.sync="dialogVisible2">
|
|
|
|
- <img width="100%" :src="dialogImageUrl" alt="" />
|
|
|
|
- </el-dialog>
|
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<el-button
|
|
<el-button
|
|
@@ -993,6 +989,9 @@
|
|
>确定</el-button
|
|
>确定</el-button
|
|
>
|
|
>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+ <el-dialog :visible.sync="dialogVisible" width="80%">
|
|
|
|
+ <img width="100%" :src="dialogImageUrl" alt="" />
|
|
|
|
+ </el-dialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -1196,8 +1195,7 @@ export default {
|
|
fileListArrival: [],
|
|
fileListArrival: [],
|
|
fileListReceive: [],
|
|
fileListReceive: [],
|
|
dialogImageUrl: '',
|
|
dialogImageUrl: '',
|
|
- dialogVisible1: false,
|
|
|
|
- dialogVisible2: false,
|
|
|
|
|
|
+ dialogVisible: false,
|
|
isLoading: false,
|
|
isLoading: false,
|
|
batchList: []
|
|
batchList: []
|
|
}
|
|
}
|
|
@@ -1439,6 +1437,10 @@ export default {
|
|
exceed() {
|
|
exceed() {
|
|
this.$message.warning('超出上传数量!')
|
|
this.$message.warning('超出上传数量!')
|
|
},
|
|
},
|
|
|
|
+ handlePictureCardPreview(file) {
|
|
|
|
+ this.dialogImageUrl = file.url;
|
|
|
|
+ this.dialogVisible = true;
|
|
|
|
+ },
|
|
closeUpload() {
|
|
closeUpload() {
|
|
this.arrivalReceiving = false
|
|
this.arrivalReceiving = false
|
|
this.$refs.arrival.clearFiles()
|
|
this.$refs.arrival.clearFiles()
|