|
|
|
@ -6,28 +6,28 @@
|
|
|
|
|
<el-form @submit.native.prevent>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="供应商编码">
|
|
|
|
|
<el-input v-model="query.supplierCode" placeholder="请输入" clearable> </el-input>
|
|
|
|
|
<el-input v-model="query.supplierCode" placeholder="请输入" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="供应商名称">
|
|
|
|
|
<el-input v-model="query.supplierName" placeholder="请输入" clearable> </el-input>
|
|
|
|
|
<el-input v-model="query.supplierName" placeholder="请输入" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="联系人">
|
|
|
|
|
<el-input v-model="query.contactName" placeholder="请输入" clearable> </el-input>
|
|
|
|
|
<el-input v-model="query.contactName" placeholder="请输入" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<template v-if="showAll">
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="联系电话">
|
|
|
|
|
<el-input v-model="query.contactPhone" placeholder="请输入" clearable> </el-input>
|
|
|
|
|
<el-input v-model="query.contactPhone" placeholder="请输入" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-form-item label="供应商地点">
|
|
|
|
|
<el-input v-model="query.supplierSiteCode" placeholder="请输入" clearable> </el-input>
|
|
|
|
|
<el-input v-model="query.supplierSiteCode" placeholder="请输入" clearable></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
</template>
|
|
|
|
@ -50,9 +50,11 @@
|
|
|
|
|
<div>
|
|
|
|
|
<el-button type="primary" icon="el-icon-plus" @click="addOrUpdateHandle()">新增
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="text" icon="el-icon-download" @click="exportData()" >导出
|
|
|
|
|
<el-button type="text" icon="el-icon-download" @click="exportData()">导出
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="text" icon="el-icon-delete" @click="handleBatchRemoveDel()" >批量删除
|
|
|
|
|
<el-button type="text" icon="el-icon-download" @click="">导入
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="text" icon="el-icon-delete" @click="handleBatchRemoveDel()">批量删除
|
|
|
|
|
</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="JNPF-common-head-right">
|
|
|
|
@ -63,91 +65,94 @@
|
|
|
|
|
<screenfull isContainer/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<JNPF-table v-loading="listLoading" :data="list" @sort-change='sortChange' has-c @selection-change="handleSelectionChange">
|
|
|
|
|
<el-table-column prop="supplierCode" label="供应商编码" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column prop="companyId" label="所属公司" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column prop="supplierName" label="供应商名称" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column prop="country" label="国家" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="supply" label="供货指标" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="province" label="省" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="contactName" label="联系人" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column label="供应商等级" width="0" prop="supplierLevel" algin="left"
|
|
|
|
|
sortable="custom" >
|
|
|
|
|
<JNPF-table v-loading="listLoading" :data="list" @sort-change='sortChange' has-c :hasNO="false"
|
|
|
|
|
@selection-change="handleSelectionChange" border>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" fixed="left" align="center" />
|
|
|
|
|
<el-table-column prop="supplierCode" label="供应商编码" width="200" align="center" fixed="left" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column prop="companyId" label="所属公司" width="200" align="center" fixed="left" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column prop="supplierName" label="供应商名称" width="200" align="center" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column prop="country" label="国家" width="120" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="supply" label="供货指标" width="120" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="province" label="省" width="120" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="contactName" label="联系人" width="120" align="center" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column label="供应商等级" width="120" prop="supplierLevel" algin="center" sortable
|
|
|
|
|
sortable="custom">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.supplierLevel | dynamicText(supplierLevelOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="contactPhone" label="联系电话" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column label="供应商性质" width="0" prop="enterprise" algin="left"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="contactPhone" label="联系电话" width="200" align="center" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column label="供应商性质" width="120" prop="enterprise" algin="center" sortable
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.enterprise | dynamicText(enterpriseOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="address" label="地址" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column label="供应商类型" width="0" prop="classification" algin="left"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="address" label="地址" width="200" align="center" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column label="供应商类型" width="120" prop="classification" algin="center" sortable
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.classification | dynamicText(classificationOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="bank" label="开户行" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="vatRegistrationNum" label="纳税编号" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="bankAccount" label="银行账户" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="默认税码" width="0" prop="taxCode" algin="left"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="bank" label="开户行" width="200" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="vatRegistrationNum" label="纳税编号" width="200" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column prop="bankAccount" label="银行账户" width="200" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="默认税码" width="120" prop="taxCode" algin="center" sortable
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.taxCode | dynamicText(taxCodeOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="payable" label="应付科目" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="是否采购" width="0" prop="isPurchase" algin="left"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="payable" label="应付科目" width="120" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="是否采购" width="120" prop="isPurchase" algin="center" sortable
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.isPurchase | dynamicText(isPurchaseOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="prepaid" label="预付科目" width="0" align="left"
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="是否付款" width="0" prop="isPayment" algin="left"
|
|
|
|
|
>
|
|
|
|
|
<el-table-column prop="prepaid" label="预付科目" width="120" align="center" sortable
|
|
|
|
|
/>
|
|
|
|
|
<el-table-column label="是否付款" width="120" prop="isPayment" algin="center" sortable
|
|
|
|
|
>
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.isPayment | dynamicText(isPaymentOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="是否启用" width="0" prop="status" algin="left"
|
|
|
|
|
sortable="custom" >
|
|
|
|
|
<el-table-column label="是否启用" width="120" prop="status" algin="center" sortable
|
|
|
|
|
sortable="custom">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
{{ scope.row.status | dynamicText(statusOptions) }}
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="supplierSiteCode" label="供应商地点" width="0" align="left"
|
|
|
|
|
sortable="custom" />
|
|
|
|
|
<el-table-column prop="supplierSiteCode" label="供应商地点" width="120" align="center" sortable
|
|
|
|
|
sortable="custom"/>
|
|
|
|
|
<el-table-column label="操作" fixed="right"
|
|
|
|
|
width="100" >
|
|
|
|
|
width="100">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button type="text"
|
|
|
|
|
@click="addOrUpdateHandle(scope.row.id)" >编辑
|
|
|
|
|
@click="addOrUpdateHandle(scope.row.id)">编辑
|
|
|
|
|
</el-button>
|
|
|
|
|
<el-button type="text" class="JNPF-table-delBtn" @click="handleDel(scope.row.id)">删除
|
|
|
|
|
</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</JNPF-table>
|
|
|
|
|
<pagination :total="total" :page.sync="listQuery.currentPage" :limit.sync="listQuery.pageSize" @pagination="initData"/>
|
|
|
|
|
<pagination :total="total" :page.sync="listQuery.currentPage" :limit.sync="listQuery.pageSize"
|
|
|
|
|
@pagination="initData"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<JNPF-Form v-if="formVisible" ref="JNPFForm" @refresh="refresh"/>
|
|
|
|
@ -158,24 +163,24 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
import {getDictionaryDataSelector} from '@/api/systemData/dictionary'
|
|
|
|
|
import { getDictionaryDataSelector } from '@/api/systemData/dictionary'
|
|
|
|
|
import JNPFForm from './Form'
|
|
|
|
|
import ExportBox from './ExportBox'
|
|
|
|
|
import {getDataInterfaceRes} from '@/api/systemData/dataInterface'
|
|
|
|
|
import { getDataInterfaceRes } from '@/api/systemData/dataInterface'
|
|
|
|
|
import Detail from './Detail'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
components: {JNPFForm, ExportBox,Detail},
|
|
|
|
|
components: { JNPFForm, ExportBox, Detail },
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
showAll: false,
|
|
|
|
|
detailVisible: false,
|
|
|
|
|
query: {
|
|
|
|
|
supplierCode:undefined,
|
|
|
|
|
supplierName:undefined,
|
|
|
|
|
contactName:undefined,
|
|
|
|
|
contactPhone:undefined,
|
|
|
|
|
supplierSiteCode:undefined,
|
|
|
|
|
supplierCode: undefined,
|
|
|
|
|
supplierName: undefined,
|
|
|
|
|
contactName: undefined,
|
|
|
|
|
contactPhone: undefined,
|
|
|
|
|
supplierSiteCode: undefined
|
|
|
|
|
},
|
|
|
|
|
treeProps: {
|
|
|
|
|
children: 'children',
|
|
|
|
@ -188,49 +193,55 @@
|
|
|
|
|
listQuery: {
|
|
|
|
|
currentPage: 1,
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
sort: "desc",
|
|
|
|
|
sidx: "creatorTime",
|
|
|
|
|
sort: 'desc',
|
|
|
|
|
sidx: 'creatorTime'
|
|
|
|
|
},
|
|
|
|
|
formVisible: false,
|
|
|
|
|
exportBoxVisible: false,
|
|
|
|
|
columnList: [
|
|
|
|
|
{prop: 'supplierCode', label: '供应商编码'},
|
|
|
|
|
{prop: 'companyId', label: '所属公司'},
|
|
|
|
|
{prop: 'supplierName', label: '供应商名称'},
|
|
|
|
|
{prop: 'country', label: '国家'},
|
|
|
|
|
{prop: 'supply', label: '供货指标'},
|
|
|
|
|
{prop: 'province', label: '省'},
|
|
|
|
|
{prop: 'contactName', label: '联系人'},
|
|
|
|
|
{prop: 'supplierLevel', label: '供应商等级'},
|
|
|
|
|
{prop: 'contactPhone', label: '联系电话'},
|
|
|
|
|
{prop: 'enterprise', label: '供应商性质'},
|
|
|
|
|
{prop: 'address', label: '地址'},
|
|
|
|
|
{prop: 'classification', label: '供应商类型'},
|
|
|
|
|
{prop: 'bank', label: '开户行'},
|
|
|
|
|
{prop: 'vatRegistrationNum', label: '纳税编号'},
|
|
|
|
|
{prop: 'bankAccount', label: '银行账户'},
|
|
|
|
|
{prop: 'taxCode', label: '默认税码'},
|
|
|
|
|
{prop: 'payable', label: '应付科目'},
|
|
|
|
|
{prop: 'isPurchase', label: '是否采购'},
|
|
|
|
|
{prop: 'prepaid', label: '预付科目'},
|
|
|
|
|
{prop: 'isPayment', label: '是否付款'},
|
|
|
|
|
{prop: 'status', label: '是否启用'},
|
|
|
|
|
{prop: 'supplierSiteCode', label: '供应商地点'},
|
|
|
|
|
{ prop: 'supplierCode', label: '供应商编码' },
|
|
|
|
|
{ prop: 'companyId', label: '所属公司' },
|
|
|
|
|
{ prop: 'supplierName', label: '供应商名称' },
|
|
|
|
|
{ prop: 'country', label: '国家' },
|
|
|
|
|
{ prop: 'supply', label: '供货指标' },
|
|
|
|
|
{ prop: 'province', label: '省' },
|
|
|
|
|
{ prop: 'contactName', label: '联系人' },
|
|
|
|
|
{ prop: 'supplierLevel', label: '供应商等级' },
|
|
|
|
|
{ prop: 'contactPhone', label: '联系电话' },
|
|
|
|
|
{ prop: 'enterprise', label: '供应商性质' },
|
|
|
|
|
{ prop: 'address', label: '地址' },
|
|
|
|
|
{ prop: 'classification', label: '供应商类型' },
|
|
|
|
|
{ prop: 'bank', label: '开户行' },
|
|
|
|
|
{ prop: 'vatRegistrationNum', label: '纳税编号' },
|
|
|
|
|
{ prop: 'bankAccount', label: '银行账户' },
|
|
|
|
|
{ prop: 'taxCode', label: '默认税码' },
|
|
|
|
|
{ prop: 'payable', label: '应付科目' },
|
|
|
|
|
{ prop: 'isPurchase', label: '是否采购' },
|
|
|
|
|
{ prop: 'prepaid', label: '预付科目' },
|
|
|
|
|
{ prop: 'isPayment', label: '是否付款' },
|
|
|
|
|
{ prop: 'status', label: '是否启用' },
|
|
|
|
|
{ prop: 'supplierSiteCode', label: '供应商地点' }
|
|
|
|
|
],
|
|
|
|
|
supplierLevelOptions:[{"fullName":"一级","id":"1"},{"fullName":"二级","id":"2"},{"fullName":"三级","id":"3"},{"fullName":"四级","id":"4"}],
|
|
|
|
|
supplierLevelProps:{"label":"fullName","value":"id"},
|
|
|
|
|
enterpriseOptions:[{"fullName":"民营","id":"0"},{"fullName":"私营","id":"1"}],
|
|
|
|
|
enterpriseProps:{"label":"fullName","value":"id"},
|
|
|
|
|
classificationOptions:[{"fullName":"国内","id":"0"},{"fullName":"国外","id":"1"}],
|
|
|
|
|
classificationProps:{"label":"fullName","value":"id"},
|
|
|
|
|
taxCodeOptions:[{"fullName":"13个点","id":"0"},{"fullName":"9个点","id":"1"},{"fullName":"6个点","id":"2"},{"fullName":"5个点","id":"3"}],
|
|
|
|
|
taxCodeProps:{"label":"fullName","value":"id"},
|
|
|
|
|
isPurchaseOptions:[{"fullName":"否","id":"0"},{"fullName":"是","id":"1"}],
|
|
|
|
|
isPurchaseProps:{"label":"fullName","value":"id"},
|
|
|
|
|
isPaymentOptions:[{"fullName":"否","id":"0"},{"fullName":"是","id":"1"}],
|
|
|
|
|
isPaymentProps:{"label":"fullName","value":"id"},
|
|
|
|
|
statusOptions:[{"fullName":"启用","id":"1"},{"fullName":"停用","id":"2"}],
|
|
|
|
|
statusProps:{"label":"fullName","value":"id"},
|
|
|
|
|
supplierLevelOptions: [{ 'fullName': '一级', 'id': '1' }, { 'fullName': '二级', 'id': '2' }, {
|
|
|
|
|
'fullName': '三级',
|
|
|
|
|
'id': '3'
|
|
|
|
|
}, { 'fullName': '四级', 'id': '4' }],
|
|
|
|
|
supplierLevelProps: { 'label': 'fullName', 'value': 'id' },
|
|
|
|
|
enterpriseOptions: [{ 'fullName': '民营', 'id': '0' }, { 'fullName': '私营', 'id': '1' }],
|
|
|
|
|
enterpriseProps: { 'label': 'fullName', 'value': 'id' },
|
|
|
|
|
classificationOptions: [{ 'fullName': '国内', 'id': '0' }, { 'fullName': '国外', 'id': '1' }],
|
|
|
|
|
classificationProps: { 'label': 'fullName', 'value': 'id' },
|
|
|
|
|
taxCodeOptions: [{ 'fullName': '13个点', 'id': '0' }, { 'fullName': '9个点', 'id': '1' }, {
|
|
|
|
|
'fullName': '6个点',
|
|
|
|
|
'id': '2'
|
|
|
|
|
}, { 'fullName': '5个点', 'id': '3' }],
|
|
|
|
|
taxCodeProps: { 'label': 'fullName', 'value': 'id' },
|
|
|
|
|
isPurchaseOptions: [{ 'fullName': '否', 'id': '0' }, { 'fullName': '是', 'id': '1' }],
|
|
|
|
|
isPurchaseProps: { 'label': 'fullName', 'value': 'id' },
|
|
|
|
|
isPaymentOptions: [{ 'fullName': '否', 'id': '0' }, { 'fullName': '是', 'id': '1' }],
|
|
|
|
|
isPaymentProps: { 'label': 'fullName', 'value': 'id' },
|
|
|
|
|
statusOptions: [{ 'fullName': '启用', 'id': '1' }, { 'fullName': '停用', 'id': '2' }],
|
|
|
|
|
statusProps: { 'label': 'fullName', 'value': 'id' }
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
@ -242,32 +253,32 @@
|
|
|
|
|
this.initData()
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
goDetail(id){
|
|
|
|
|
goDetail(id) {
|
|
|
|
|
this.detailVisible = true
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.$refs.Detail.init(id)
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
sortChange({column, prop, order}) {
|
|
|
|
|
sortChange({ column, prop, order }) {
|
|
|
|
|
this.listQuery.sort = order == 'ascending' ? 'asc' : 'desc'
|
|
|
|
|
this.listQuery.sidx = !order ? '' : prop
|
|
|
|
|
this.initData()
|
|
|
|
|
},
|
|
|
|
|
initData() {
|
|
|
|
|
this.listLoading = true;
|
|
|
|
|
this.listLoading = true
|
|
|
|
|
let _query = {
|
|
|
|
|
...this.listQuery,
|
|
|
|
|
...this.query,
|
|
|
|
|
menuId:this.menuId
|
|
|
|
|
};
|
|
|
|
|
menuId: this.menuId
|
|
|
|
|
}
|
|
|
|
|
request({
|
|
|
|
|
url: `/api/example/Supplier/getList`,
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: _query
|
|
|
|
|
}).then(res => {
|
|
|
|
|
var _list =[];
|
|
|
|
|
for(let i=0;i<res.data.list.length;i++){
|
|
|
|
|
let _data = res.data.list[i];
|
|
|
|
|
var _list = []
|
|
|
|
|
for (let i = 0; i < res.data.list.length; i++) {
|
|
|
|
|
let _data = res.data.list[i]
|
|
|
|
|
_list.push(_data)
|
|
|
|
|
}
|
|
|
|
|
this.list = _list
|
|
|
|
@ -290,10 +301,10 @@
|
|
|
|
|
onClose: () => {
|
|
|
|
|
this.initData()
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleSelectionChange(val) {
|
|
|
|
|
const res = val.map(item => item.id)
|
|
|
|
@ -304,7 +315,7 @@
|
|
|
|
|
this.$message({
|
|
|
|
|
type: 'error',
|
|
|
|
|
message: '请选择一条数据',
|
|
|
|
|
duration: 1500,
|
|
|
|
|
duration: 1500
|
|
|
|
|
})
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
@ -322,7 +333,7 @@
|
|
|
|
|
onClose: () => {
|
|
|
|
|
this.initData()
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
})
|
|
|
|
@ -340,7 +351,7 @@
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
download(data) {
|
|
|
|
|
let query = {...data, ...this.listQuery, ...this.query,menuId:this.menuId}
|
|
|
|
|
let query = { ...data, ...this.listQuery, ...this.query, menuId: this.menuId }
|
|
|
|
|
request({
|
|
|
|
|
url: `/api/example/Supplier/Actions/Export`,
|
|
|
|
|
method: 'GET',
|
|
|
|
@ -356,8 +367,8 @@
|
|
|
|
|
this.listQuery = {
|
|
|
|
|
currentPage: 1,
|
|
|
|
|
pageSize: 20,
|
|
|
|
|
sort: "desc",
|
|
|
|
|
sidx: "creatorTime",
|
|
|
|
|
sort: 'desc',
|
|
|
|
|
sidx: 'creatorTime'
|
|
|
|
|
}
|
|
|
|
|
this.initData()
|
|
|
|
|
},
|
|
|
|
|