Commit bb0e1caa authored by 黄奎's avatar 黄奎

页面修改

parent a0035239
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
</li> </li>
<li> <li>
<input type="button" class="hollowFixedBtn" value="查询" @click="getSearch()"> &nbsp; <input type="button" class="hollowFixedBtn" value="查询" @click="getSearch()"> &nbsp;
<input type="button" class="normalBtn" value="下载"> <input type="button" class="normalBtn" value="下载" @click="DownLoadFile()">
</li> </li>
</ul> </ul>
</div> </div>
...@@ -60,9 +60,9 @@ ...@@ -60,9 +60,9 @@
<td> <td>
{{subItem.Frids}} {{subItem.Frids}}
</td> </td>
<td> <td v-if="subIndex==0" :rowspan="item.SubList.length">
<el-tooltip class="item" effect="dark" content="生成单据" placement="top-start"> <el-tooltip class="item" effect="dark" content="生成单据" placement="top-start">
<el-button type="success" icon="el-icon-check" circle></el-button> <el-button type="success" icon="el-icon-check" circle @click="CreateSupplierBill(item)"></el-button>
</el-tooltip> </el-tooltip>
</td> </td>
</tr> </tr>
...@@ -103,6 +103,33 @@ ...@@ -103,6 +103,33 @@
}, },
filters: {}, filters: {},
methods: { methods: {
//生成手配费单据
CreateSupplierBill(item) {
var that = this;
this.Confirm("是否要生成财务单据?", function () {
that.loading = true;
that.apipost("dmcstatistics_get_GetDmcSupplierHotelPageListService", {
TCID: item.TCIDs
},
res => {
that.loading = false;
if (res.data.resultCode == 1) {
that.Success('生成单据成功!');
that.getList();
} else {
that.Error(res.data.data);
}
}, null);
});
},
//报价单下载
DownLoadFile() {
var fileName = "供应商手配费下载.xls";
this.loading = true;
this.GetLocalFile("dmc_get_DowmLoadDmcSupplierHote", this.msg, fileName, res => {
this.loading = false;
});
},
//点击查询 //点击查询
getSearch() { getSearch() {
if (this.msg.QMonthStr == '' || this.msg.QMonthStr == null) { if (this.msg.QMonthStr == '' || this.msg.QMonthStr == null) {
......
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