Authored by htoooth

fix

... ... @@ -68,7 +68,7 @@
<script>
import _ from 'lodash';
import {tableCols, tableData, pageData} from './store/list-table';
import {tableCols, tableData} from './store/list-table';
import CreateModal from './components/create-modal';
import InvoiceService from 'services/repository/invoice-service';
... ... @@ -80,7 +80,11 @@
return {
tableCols: tableCols.call(this),
tableData,
pageData,
pageData: {
total: 0,
current: 1,
pageSize: 20
},
filters: {
id: {
label: '入库单号',
... ...
... ... @@ -138,6 +138,7 @@ let tableCols = function() {
value={params.row.num}
onInput={val => (params.row.num = val)}
disabled={disabled}
number={true}
/>
);
}
... ...
... ... @@ -198,14 +198,7 @@ let tableCols = function() {
let tableData = [];
let pageData = {
total: 0,
current: 1,
pageSize: 20
};
export {
tableCols,
tableData,
pageData
};
... ...