Commit 4b86a75a authored by 沈良进's avatar 沈良进

save

parent a6ec9603
......@@ -803,6 +803,26 @@
</div>
</el-form-item>
</div>
<div class="clearfix">
<div class="TPright clearfix">
<!-- <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">团队类型</span>
<el-select class="w180" v-model="priceData.PriceTeamType">
<el-option v-for="item in TeamListArr" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option>
</el-select>
</el-form-item> -->
<el-form-item style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">报价单地址</span>
<el-upload class="upload-demo" style="display:inline-block;position:relative;top:-1px;left:3px;"
:http-request="uploadFileBtn" :multiple="true" :show-file-list="false" action="">
<el-button size="small" type="primary">上传</el-button>
</el-upload>
<a style="margin-left:20px;color:blue;" :href="priceData.PriceOfferUrl"
v-if="priceData.PriceOfferUrl" target="_blank">预览</a>
</el-form-item>
</div>
</div>
</div>
</div>
</el-form>
......@@ -949,10 +969,35 @@
return startTime.getTime() >= time.getTime();
}
},
TeamListArr: [],
standardCurrencyName: ''
};
},
methods: {
//获取团队类型
getTeamList() {
this.apipost("travel_get_GetTravelPriceTeamTypeList", {}, res => {
if (res.data.resultCode == 1) {
this.TeamListArr = res.data.data;
// 屏蔽单项服务
this.TeamListArr.splice(-1)
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
uploadFileBtn(file) { //上传
let newArr = [];
newArr.push(file.file)
let path = "/Upload/Temporary/"
this.$message.info(this.$t('tips.shangchuanzhong'))
this.UploadSelfFileT(path, newArr, x => {
this.priceData.PriceOfferUrl = this.domainManager().ViittoFileUrl + x.data.FilePath,
this.Success(this.$t('tips.scchenggong'))
});
},
//点击折叠
fold() {
if (this.isFold == "") {
......@@ -1696,6 +1741,7 @@
this.currentMonth = dateObj.CurrentMonth;
this.initCalendar();
this.getCompanyList();
this.getTeamList();
},
watch: {
priceList: {
......
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