1613bb1b308f5cd5e2647eab0c36ce9060023c0a..9b954fa954805e25d9c6d31b9cb1a8586168b75f
2024-09-04 mayf
结算修改
9b954f 对比 | 目录
2024-09-04 mayf
结算修改
839ef9 对比 | 目录
2024-09-03 mayf
fix售后换行
a71eaa 对比 | 目录
2024-09-03 mayf
合伙人分类加价多选加价
d2df0d 对比 | 目录
已修改6个文件
39 ■■■■ 文件已修改
components/order/after-sale-table.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/mark-up/partner/_partnerId/category.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/settlement/list/_id.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/settlement/list/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
utils/form-item-config.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
utils/mark-up-config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/order/after-sale-table.vue
@@ -46,7 +46,9 @@
          <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">
pages/mark-up/partner/_partnerId/category.vue
@@ -10,7 +10,7 @@
    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(
@@ -23,7 +23,7 @@
            }
          )
        },
        ...categoryMarkUpConfig(this.$route, this.$createElement),
        ...categoryMarkUpConfig(this.$route, this.$createElement, true),
      },
    }
  },
pages/settlement/list/_id.vue
@@ -22,7 +22,12 @@
          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="集货站运费(元)"
@@ -56,7 +61,14 @@
              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: '元' },
            {
pages/settlement/list/index.vue
@@ -38,7 +38,9 @@
          { 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 },
utils/form-item-config.js
@@ -93,7 +93,10 @@
  }
}
export const getGoodsCategoryListConfig = (checkStrictly = false) => {
export const getGoodsCategoryListConfig = (
  checkStrictly = false,
  multiple = false
) => {
  return {
    label: '商品分类:',
    id: 'categoryId',
@@ -105,7 +108,9 @@
        value: 'id',
        emitPath: false,
        checkStrictly,
        multiple,
      },
      filterable: true,
      clearable: true,
      style: 'width:100%',
    },
utils/mark-up-config.js
@@ -2,7 +2,7 @@
  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,
@@ -64,7 +64,7 @@
    ],
    form: [
      {
        ...getGoodsCategoryListConfig(true),
        ...getGoodsCategoryListConfig(true, multiple),
        rules: { required: true, message: '请选择商品分类' },
        str: true,
        strKey: 'name',