Commit df6d4531 authored by 邓春圆's avatar 邓春圆

退仓添加图片

parent 9c715d60
...@@ -130,6 +130,16 @@ ...@@ -130,6 +130,16 @@
<div> <div>
{{ FeeDetails.details && FeeDetails.details.reason ? FeeDetails.details.reason :''}} {{ FeeDetails.details && FeeDetails.details.reason ? FeeDetails.details.reason :''}}
</div> </div>
<p>{{$t('退仓图片')}}</p>
<div>
<el-image
v-for="(item, index) in (FeeDetails.details.imgUrl || '').split(',')"
:key = 'index'
style="width: 100px; height: 100px;margin:10px;"
:src="item"
:preview-src-list="(FeeDetails.details.imgUrl || '').split(',')">
</el-image>
</div>
</div> </div>
<div v-if="type === 4"> <div v-if="type === 4">
<p>{{ $t('申请理由') }}</p> <p>{{ $t('申请理由') }}</p>
......
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
<el-form-item :label="$t('退仓原因')"> <el-form-item :label="$t('退仓原因')">
<el-input v-model="params.reason" style="width:500px" type="textarea"></el-input> <el-input v-model="params.reason" style="width:500px" type="textarea"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('图片')">
<image-and-video-upload :file-type="['png' , 'jpg', 'jpeg']" :fileSize="50" :isShowTip="true" v-model="params.imgUrl" ></image-and-video-upload>
</el-form-item>
</el-form> </el-form>
<el-divider></el-divider> <el-divider></el-divider>
<h2>{{$t('审批流程')}}</h2> <h2>{{$t('审批流程')}}</h2>
...@@ -37,6 +40,7 @@ import { ...@@ -37,6 +40,7 @@ import {
warehouseApprovalCancel warehouseApprovalCancel
} from "@/api/ecw/batchSingleApplication"; } from "@/api/ecw/batchSingleApplication";
import workFlow from "@/components/WorkFlow"; import workFlow from "@/components/WorkFlow";
import ImageAndVideoUpload from "@/components/ImageAndVideoUpload/index.vue";
export default { export default {
name: "withdrawal", name: "withdrawal",
...@@ -45,6 +49,7 @@ export default { ...@@ -45,6 +49,7 @@ export default {
dialogVisible:Boolean dialogVisible:Boolean
}, },
components:{ components:{
ImageAndVideoUpload,
workFlow workFlow
}, },
data(){ data(){
...@@ -55,6 +60,7 @@ export default { ...@@ -55,6 +60,7 @@ export default {
orderNo:undefined, orderNo:undefined,
reason:'', reason:'',
copyUserId:[], copyUserId:[],
imgUrl:[]
}, },
isExamine:true, isExamine:true,
details:{}, details:{},
...@@ -82,6 +88,7 @@ export default { ...@@ -82,6 +88,7 @@ export default {
submit(){ submit(){
this.params.orderId = this.orderDetails.orderId; this.params.orderId = this.orderDetails.orderId;
this.params.orderNo =this.orderDetails.orderNo; this.params.orderNo =this.orderDetails.orderNo;
this.params.imgUrl = this.params.imgUrl.join(',')
orderWarehouseInDelete(this.params).then(r => { orderWarehouseInDelete(this.params).then(r => {
if(r.code === 0){ if(r.code === 0){
this.$message.success(this.$t('退仓成功')); this.$message.success(this.$t('退仓成功'));
......
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