外协付款
This commit is contained in:
@@ -3,6 +3,7 @@ import state from '@/store'
|
|||||||
|
|
||||||
// 查询表格数据
|
// 查询表格数据
|
||||||
export function searchtable(check1, ManufacturerAbbreviation, check2, starttime, endTime, pageCurrent, pageSize) {
|
export function searchtable(check1, ManufacturerAbbreviation, check2, starttime, endTime, pageCurrent, pageSize) {
|
||||||
|
console.log(state.state.tagsView)
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|||||||
@@ -276,7 +276,7 @@ function download(url) {
|
|||||||
saveAs(blob, filename)
|
saveAs(blob, filename)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// function decodeUtf8(bytes) { var encoded = ''; for (var i = 0; i < bytes.length; i++) { encoded += '%' + bytes[i].toString(16) } return decodeURIComponent(encoded) }
|
|
||||||
function getBlob(url, cb) {
|
function getBlob(url, cb) {
|
||||||
var xhr = new XMLHttpRequest()
|
var xhr = new XMLHttpRequest()
|
||||||
xhr.open('GET', url, true)
|
xhr.open('GET', url, true)
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
<span>外协厂家:</span>
|
<span>外协厂家:</span>
|
||||||
<el-input v-model="ManufacturerName" size="small" placeholder="外协厂家" clearable style="width:200px"/>
|
<el-input v-model="ManufacturerName" size="small" placeholder="外协厂家" clearable style="width:200px"/>
|
||||||
<el-button type="primary" class="el-icon-search" size="small" plain @click="pageCurrent=1;pageSize=50;getParts()">查询</el-button>
|
<el-button type="primary" class="el-icon-search" size="small" plain @click="pageCurrent=1;pageSize=50;getParts()">查询</el-button>
|
||||||
<el-button type="primary" class="el-icon-search" size="small" plain @click="exportExcel()">查询</el-button>
|
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-table v-loading="loading" :data="tableData" size="mini" highlight-current-row height="500" style="width: 100%;" border element-loading-text="拼命加载中" @row-click="rowClick">
|
<el-table v-loading="loading" :data="tableData" size="mini" highlight-current-row height="500" style="width: 100%;" border element-loading-text="拼命加载中" @row-click="rowClick">
|
||||||
<el-table-column label="厂家" prop="外协厂家名称" align="center" width="230px">
|
<el-table-column label="厂家" prop="外协厂家名称" align="center" width="230px">
|
||||||
@@ -181,17 +180,6 @@ export default {
|
|||||||
this.getParts()
|
this.getParts()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
exportExcel() {
|
|
||||||
var param = []
|
|
||||||
param[0] = ['物料名称_check', 0]
|
|
||||||
param[1] = ['物料名称', 0]
|
|
||||||
param[2] = ['物料规格_check', 0]
|
|
||||||
param[3] = ['物料规格', 0]
|
|
||||||
param[4] = ['物料型号_check', 0]
|
|
||||||
param[5] = ['物料型号', 0]
|
|
||||||
var Data = this.CreateData('00', '报表_采购部仓库_库存_查询', param)
|
|
||||||
this.exportExcel_NPOI(Data)
|
|
||||||
},
|
|
||||||
// 获取表格1数据
|
// 获取表格1数据
|
||||||
getParts() {
|
getParts() {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|||||||
Reference in New Issue
Block a user