| | |
| | | <div class="leading-20">实际退款:{{ item.totalFee }}</div> |
| | | <div class="leading-20 flex"> |
| | | 申请理由: |
| | | <div class="flex-1 text-overflow-2 w-0">{{ item.reason }}</div> |
| | | <div class="flex-1 text-overflow-2 w-0 break-all"> |
| | | {{ item.reason }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="table-td !flex-none w-120 flex items-center"> |
| | |
| | | return { |
| | | tableConfig: { |
| | | url: 'flower/api/flower/markup/ps/spcg/list', |
| | | newUrl: 'flower/api/flower/markup/ps/spcg/list/save', |
| | | newUrl: 'flower/api/flower/markup/ps/spcg/list/save/batch', |
| | | editUrl: 'flower/api/flower/markup/ps/spcg/list/save', |
| | | onDelete: (row) => { |
| | | return this.$elBusHttp.request( |
| | |
| | | } |
| | | ) |
| | | }, |
| | | ...categoryMarkUpConfig(this.$route, this.$createElement), |
| | | ...categoryMarkUpConfig(this.$route, this.$createElement, true), |
| | | }, |
| | | } |
| | | }, |
| | |
| | | label="结算合计(元)" |
| | | prop="totalAmount" |
| | | ></el-table-column> |
| | | <el-table-column label="质检扣款(元)" prop="checkFee"></el-table-column> |
| | | <el-table-column label="降级扣款(元)" prop="checkFee"></el-table-column> |
| | | <el-table-column label="缺货扣款(元)" prop="lackFee"></el-table-column> |
| | | <el-table-column |
| | | label="补货扣款(元)" |
| | | prop="replaceFee" |
| | | ></el-table-column> |
| | | <el-table-column label="售后理赔(元)" prop="salesFee"></el-table-column> |
| | | <el-table-column |
| | | label="集货站运费(元)" |
| | |
| | | unit: '元', |
| | | }, |
| | | { label: '结算均价:', id: 'price', type: 'input', unit: '元' }, |
| | | { label: '质检扣款:', id: 'checkFee', type: 'input', unit: '元' }, |
| | | { label: '降级扣款:', id: 'checkFee', type: 'input', unit: '元' }, |
| | | { label: '缺货扣款:', id: 'lackFee', type: 'input', unit: '元' }, |
| | | { |
| | | label: '补货扣款:', |
| | | id: 'replaceFee', |
| | | type: 'input', |
| | | unit: '元', |
| | | }, |
| | | { label: '售后理赔:', id: 'salesFee', type: 'input', unit: '元' }, |
| | | { label: '服务费:', id: 'serviceFee', type: 'input', unit: '元' }, |
| | | { |
| | |
| | | { 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 }, |
| | |
| | | } |
| | | } |
| | | |
| | | export const getGoodsCategoryListConfig = (checkStrictly = false) => { |
| | | export const getGoodsCategoryListConfig = ( |
| | | checkStrictly = false, |
| | | multiple = false |
| | | ) => { |
| | | return { |
| | | label: '商品分类:', |
| | | id: 'categoryId', |
| | |
| | | value: 'id', |
| | | emitPath: false, |
| | | checkStrictly, |
| | | multiple, |
| | | }, |
| | | filterable: true, |
| | | clearable: true, |
| | | style: 'width:100%', |
| | | }, |
| | |
| | | getGoodsCategoryListConfig, |
| | | getGoodsListConfig, |
| | | } from '@/utils/form-item-config' |
| | | export const categoryMarkUpConfig = (route, h) => { |
| | | export const categoryMarkUpConfig = (route, h, multiple = false) => { |
| | | return { |
| | | extraQuery: { |
| | | partnerId: route.params.partnerId, |
| | |
| | | ], |
| | | form: [ |
| | | { |
| | | ...getGoodsCategoryListConfig(true), |
| | | ...getGoodsCategoryListConfig(true, multiple), |
| | | rules: { required: true, message: '请选择商品分类' }, |
| | | str: true, |
| | | strKey: 'name', |