Commit 4287b809 authored by 吴春's avatar 吴春

新增下载导入旅客模板

parent 864c1c5e
...@@ -1654,6 +1654,7 @@ ...@@ -1654,6 +1654,7 @@
<input type="button" class="normalBtn" v-else <input type="button" class="normalBtn" v-else
@click="showSetLeader=true,isShowLayerRemarks = false,isShowLayer = false" value="设置领队" /> @click="showSetLeader=true,isShowLayerRemarks = false,isShowLayer = false" value="设置领队" />
<input type="button" class="normalBtn" @click="goUrl('TravelPassengerList',msg.TCID,'旅客名单')" value="旅客名单" /> <input type="button" class="normalBtn" @click="goUrl('TravelPassengerList',msg.TCID,'旅客名单')" value="旅客名单" />
<a class="hollowFixedBtn downBtn" :href="downList">下载模板</a>
</template> </template>
</div> </div>
</div> </div>
...@@ -3268,6 +3269,7 @@ ...@@ -3268,6 +3269,7 @@
PayStatus: "-1", PayStatus: "-1",
//zk新增 //zk新增
TCID: 0, TCID: 0,
downList: "",
}, },
//返回数据 //返回数据
currentPage: 1, currentPage: 1,
...@@ -3442,6 +3444,23 @@ ...@@ -3442,6 +3444,23 @@
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=6&OrderId=" + id + "&EmployeeId=" + uerInfo.EmployeeId; "?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=6&OrderId=" + id + "&EmployeeId=" + uerInfo.EmployeeId;
this.importNameFile = true; this.importNameFile = true;
}, },
getDownList() {
let msg = {};
this.apipost(
"Guest_Post_OutToExcel",
msg,
res => {
if (res.data.resultCode == 1) {
this.downList =
this.domainManager().LocalTemplateFileDownLoadUrl + res.data.data;
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
// OP备注赋值 // OP备注赋值
OPRemark(item) { OPRemark(item) {
this.apipost('sellorder_post_GetOrderEntity', { this.apipost('sellorder_post_GetOrderEntity', {
...@@ -5521,6 +5540,7 @@ ...@@ -5521,6 +5540,7 @@
//获取所属公司 //获取所属公司
this.getBranchList(); this.getBranchList();
this.canEditUnitPrice(); this.canEditUnitPrice();
this.getDownList();
} }
} }
......
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