Commit 28e639d2 authored by 黄奎's avatar 黄奎

页面修改

parent 82b62c58
......@@ -1080,8 +1080,8 @@
</el-upload>
<template v-if="teamPrice.ContractArray&& teamPrice.ContractArray.length>0">
<template v-for="(subItem,subIndex) in teamPrice.ContractArray">
<a style="margin-left:20px;color:blue;" :href="subItem.Url" target="_blank" :key="subIndex"
:download="subItem.Name">{{subItem.Name}}</a>
<a style="margin-left:20px;color:blue;cursor:pointer;" :key="subIndex"
@click="downloadFile(subItem.Url,subItem.Name)">{{subItem.Name}}</a>
</template>
</template>
</td>
......@@ -1126,6 +1126,14 @@
}
},
methods: {
//下载文件
downloadFile(fileUrl, fileName) {
const link = document.createElement('a');
link.href = fileUrl;
link.download = fileName;
document.body.appendChild(link);
link.click();
},
uploadFileBtn(file) { //上传
let newArr = [];
newArr.push(file.file)
......
......@@ -144,12 +144,8 @@
:false-label="UnCheckedVaule">不支持儿童出游
</el-checkbox>
<el-form-item label="成本人数" style="margin-left:70px;">
<el-select class='w120' v-model='teamPrice.PeopleNumber'>
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<!-- <el-option v-for="item in currentOffer.OfferCostPrice.CostNumberList" :label='item.PeopleNumber'
:value='item.PeopleNumber' :key='item.PeopleNumber'>
</el-option> -->
</el-select>
</el-form-item>
</div>
......
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