| | |
| | | hasNew: false, |
| | | hasEdit: false, |
| | | hasDelete: false, |
| | | hasExport: true, |
| | | exportUrl: 'flower/api/settlement/export', |
| | | onResetView: (row) => { |
| | | this.$router.push(`${this.$route.path}/${row.id}`) |
| | | }, |
| | |
| | | { label: '商品数量', prop: 'flowerNum', minWidth: 100 }, |
| | | { label: '结算合计(元)', prop: 'totalAmount', minWidth: 120 }, |
| | | { label: '结算均价(元)', prop: 'price', minWidth: 120 }, |
| | | { label: '质检扣款(元)', prop: 'checkFee', minWidth: 120 }, |
| | | { label: '降级扣款(元)', prop: 'checkFee', minWidth: 120 }, |
| | | { label: '缺货扣款(元)', prop: 'lackFee', minWidth: 120 }, |
| | | { label: '补货扣款(元)', prop: 'replaceFee', minWidth: 120 }, |
| | | { label: '售后理赔(元)', prop: 'salesFee', minWidth: 120 }, |
| | | { label: '服务费(元)', prop: 'serviceFee', minWidth: 120 }, |
| | | { label: '集货站运费(元)', prop: 'stationFee', minWidth: 120 }, |
| | |
| | | commonFormatProps: ['dateType', 'startDateStr', 'endDateStr'], |
| | | span: 24, |
| | | }, |
| | | { label: '结算人:', id: 'userName', type: 'input' }, |
| | | ], |
| | | }, |
| | | ], |
| | | extraButtons: [ |
| | | { |
| | | text: '结算', |
| | | show: (row) => row.status === 'PENDING', |
| | | show: (row) => row.status === 'PENDING' || row.status === 'FAILED', |
| | | atClick: async (row) => { |
| | | try { |
| | | await this.$elBusUtil.confirm('确定要结算吗?') |
| | |
| | | <style lang="scss" scoped> |
| | | ::v-deep { |
| | | .el-bus-crud__filter__action { |
| | | display: none; |
| | | //display: none; |
| | | } |
| | | } |
| | | </style> |