f7490c5b05906399fe754fecdb1f32172a01170d..b922b12d1dc650df75530cc52af5451a5bbfece1
2025-11-20 zhangback
提交
b922b1 对比 | 目录
2025-11-20 zhangback
提交
06e621 对比 | 目录
10个文件已修改
203 ■■■■ 已修改文件
common/src/main/java/com/ruoyi/common/enums/SystemDataNoEnum.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tms/src/main/java/com/ruoyi/tms/service/impl/TmsConsignorServiceImpl.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
tms/src/main/java/com/ruoyi/tms/service/impl/TmsCustomerInfoServiceImpl.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/collectionTmsFinance/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/otherTmsFinance/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/paymentTmsFinance/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/tmsConsignor/index.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/tmsContract/index.vue 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/tmsCustomerInfo/index.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ui/admin-ui3/src/views/tms/tmsDispatchOrder/index.vue 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
common/src/main/java/com/ruoyi/common/enums/SystemDataNoEnum.java
@@ -24,6 +24,8 @@
    YFD("YFD","YFD","应付详情编号"),
    YSD("YSD","YSD","应收详情编号"),
    OF("OF","OF","其他账单编号"),
    CUST("CUST","CUST","客户编号"),
    ZXH("ZXH","ZXH","装卸货点"),
tms/src/main/java/com/ruoyi/tms/service/impl/TmsConsignorServiceImpl.java
@@ -2,12 +2,15 @@
import java.util.List;
import com.ruoyi.common.enums.SystemDataNoEnum;
import com.ruoyi.common.utils.DateUtils;
import javax.annotation.Resource;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.system.service.ISystemDataNoService;
import com.ruoyi.tms.domain.TmsCustomerInfo;
import com.ruoyi.tms.mapper.TmsCustomerInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.stereotype.Service;
import org.springframework.scheduling.annotation.Async;
@@ -40,6 +43,8 @@
    @Resource
    private TmsCustomerInfoMapper tmsCustomerInfoMapper;
    @Autowired
    ISystemDataNoService systemDataNoService;
    /**
@@ -109,6 +114,7 @@
    @Override
    public int insertTmsConsignor(TmsConsignor tmsConsignor)
    {
        tmsConsignor.setConsignorCode(systemDataNoService.getNoByKey(SystemDataNoEnum.ZXH));
        tmsConsignor.setCreateBy(SecurityUtils.getUsername());
        tmsConsignor.setCreateTime(DateUtils.getNowDate());
        return tmsConsignorMapper.insertTmsConsignor(tmsConsignor);
tms/src/main/java/com/ruoyi/tms/service/impl/TmsCustomerInfoServiceImpl.java
@@ -2,8 +2,12 @@
import java.util.List;
import com.ruoyi.common.enums.SystemDataNoEnum;
import com.ruoyi.common.utils.DateUtils;
import javax.annotation.Resource;
import com.ruoyi.system.service.ISystemDataNoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.stereotype.Service;
import org.springframework.scheduling.annotation.Async;
@@ -33,7 +37,8 @@
    protected final Logger logger = LoggerFactory.getLogger(getClass());
    @Resource
    private TmsCustomerInfoMapper tmsCustomerInfoMapper;
    @Autowired
    ISystemDataNoService systemDataNoService;
    /**
     * 查询客户信息
@@ -102,6 +107,7 @@
    @Override
    public int insertTmsCustomerInfo(TmsCustomerInfo tmsCustomerInfo)
    {
        tmsCustomerInfo.setCustomerCode(systemDataNoService.getNoByKey(SystemDataNoEnum.CUST));
        tmsCustomerInfo.setCreateTime(DateUtils.getNowDate());
        return tmsCustomerInfoMapper.insertTmsCustomerInfo(tmsCustomerInfo);
    }
ui/admin-ui3/src/views/tms/collectionTmsFinance/index.vue
@@ -272,11 +272,7 @@
      accept:'string',dataType: 'string',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
    feeCreateTime: {
      label: '费用创建时间',minWidth: 180,
ui/admin-ui3/src/views/tms/otherTmsFinance/index.vue
@@ -276,11 +276,7 @@
      accept:'string',dataType: 'string',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
    feeCreateTime: {
      label: '费用创建时间',minWidth: 180,
ui/admin-ui3/src/views/tms/paymentTmsFinance/index.vue
@@ -272,11 +272,7 @@
      accept:'string',dataType: 'string',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
    feeCreateTime: {
      label: '费用创建时间',minWidth: 180,
ui/admin-ui3/src/views/tms/tmsConsignor/index.vue
@@ -101,8 +101,8 @@
      prop: 'jcxx',
      column:{
        consignorCode: {
          label: '收发货人编码',minWidth: 150,
          addDisplay: true,
          label: '装卸货点编码',minWidth: 150,
          addDisplay: false, disabled: true,
          editDisplay: true,
          viewDisplay: true,
          hide: false,
@@ -110,12 +110,12 @@
          rules: [
            {
              required: true,
              message: "收发货人编码不能为空", trigger: "blur"
              message: "装卸货点编码不能为空", trigger: "blur"
            }
          ],
        },
        consignorName: {
          label: '收发货人名称',minWidth: 150,
          label: '装卸货点名称',minWidth: 150,
          addDisplay: true,
          editDisplay: true,
          viewDisplay: true,
@@ -124,7 +124,7 @@
          rules: [
            {
              required: true,
              message: "收发货人名称不能为空", trigger: "blur"
              message: "装卸货点名称不能为空", trigger: "blur"
            }
          ],
        },
@@ -228,7 +228,7 @@
          ],
        },
        consignorType: {
          label: '收发货人类型',minWidth: 150,
          label: '装卸货点类型',minWidth: 150,
          type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/consignor_type',
          addDisplay: true,
          editDisplay: true,
@@ -238,7 +238,7 @@
          rules: [
            {
              required: true,
              message: "收发货人类型不能为空", trigger: "change"
              message: "装卸货点类型不能为空", trigger: "change"
            }
          ],
        },
@@ -497,13 +497,13 @@
  column: {
    consignorCode: {
      label: '收发货人编码',minWidth: 150,
      label: '装卸货点编码',minWidth: 150,
      display: false,
      hide: false,
      search: true,
    },
    consignorName: {
      label: '收发货人名称',minWidth: 150,
      label: '装卸货点名称',minWidth: 150,
      display: false,
      hide: false,
      search: true,
@@ -522,7 +522,7 @@
      disabled: true,
    },
    consignorType: {
      label: '收发货人类型',minWidth: 150,
      label: '装卸货点类型',minWidth: 150,
      type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/consignor_type',
      display: false,
      hide: false,
ui/admin-ui3/src/views/tms/tmsContract/index.vue
@@ -217,7 +217,7 @@
          type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/contract_status',
          addDisplay: true,
          editDisplay: true,
          viewDisplay: true,
          viewDisplay: true,value: '0',
          rules: [
            {
              required: true,
@@ -440,19 +440,19 @@
            }
          ],
        },
        paymentMethod: {
          label: '付款方式',
          type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/payment_method',
          addDisplay: true,
          editDisplay: true,
          viewDisplay: true,
          rules: [
            {
              required: true,
              message: "付款方式不能为空", trigger: "change"
            }
          ],
        },
        // paymentMethod: {
        //   label: '付款方式',
        //   type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/payment_method',
        //   addDisplay: true,
        //   editDisplay: true,
        //   viewDisplay: true,
        //   rules: [
        //     {
        //       required: true,
        //       message: "付款方式不能为空", trigger: "change"
        //     }
        //   ],
        // },
        paymentCycle: {
          label: '付款周期',
          addDisplay: true,
@@ -529,7 +529,7 @@
        //   viewDisplay: true,
        // },
        attachmentPath: {
          label: '附件路径',
          label: '附件',
          addDisplay: true,
          editDisplay: true,
          viewDisplay: true,span: 24,
@@ -540,6 +540,12 @@
            home:'url',
            name:'newFileName',
          },
          rules: [
            {
              required: true,
              message: "请上传附件", trigger: "change"
            }
          ],
        },
        // uploadedBy: {
        //   label: '上传人',
@@ -679,13 +685,13 @@
      hide: false,minWidth:150,
      search: false,
    },
    paymentMethod: {
      label: '付款方式',
      type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/payment_method',
      display: false,
      hide: false,minWidth:150,
      search: true,
    },
    // paymentMethod: {
    //   label: '付款方式',
    //   type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/payment_method',
    //   display: false,
    //   hide: false,minWidth:150,
    //   search: true,
    // },
    invoiceStatus: {
      label: '发票状态',
ui/admin-ui3/src/views/tms/tmsCustomerInfo/index.vue
@@ -100,11 +100,25 @@
      label: '基本信息',
      prop: 'jbxx',
      column:{
        customerCode: {
          label: '客户编号',
          addDisplay: false, minWidth: 120,
          editDisplay: true,disabled: true,
          viewDisplay: true,
          hide: false,
          search: true,
          rules: [
            {
              required: true,
              message: "客户编号不能为空", trigger: "blur"
            }
          ],
        },
        customerType: {
          label: '客户类型', minWidth: 120,
          type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/customer_type',
          addDisplay: true,
          editDisplay: true,
          editDisplay: true,value: '1',
          viewDisplay: true,
          hide: false,
          search: true,
@@ -126,20 +140,6 @@
            {
              required: true,
              message: "客户简称不能为空", trigger: "blur"
            }
          ],
        },
        customerCode: {
          label: '客户编号',
          addDisplay: true, minWidth: 120,
          editDisplay: true,
          viewDisplay: true,
          hide: false,
          search: true,
          rules: [
            {
              required: true,
              message: "客户编号不能为空", trigger: "blur"
            }
          ],
        },
ui/admin-ui3/src/views/tms/tmsDispatchOrder/index.vue
@@ -1025,11 +1025,11 @@
      }
    },
    {
      label: '收发货人信息',
      label: '收装货点信息',
      prop: 'shffxrxx',
      column: {
        shipperId: {
          label: '发货人',dataType:'string',
          label: '装货点',dataType:'string',
          display: true,
          change: (val: any) => {
            const table = crudRef.value?.getPropRef?.('shipperId')?.$refs?.temp;
@@ -1067,7 +1067,7 @@
          rules: [
            {
              required: true,
              message: "发货人不能为空", trigger: "change"
              message: "装货点不能为空", trigger: "change"
            }
          ],
          type: 'table', suffixIcon: 'search',
@@ -1077,15 +1077,15 @@
            searchMenuSpan: 5,
            column: {
              consignorCode: {
                label: '收发货人编码', minWidth: 130,
                label: '收装货点编码', minWidth: 130,
                search: true,
              },
              consignorName: {
                label: '收发货人名称', minWidth: 130,
                label: '收装货点名称', minWidth: 130,
                search: true,
              },
              consignorType: {
                label: '收发货人类型', minWidth: 80,
                label: '收装货点类型', minWidth: 80,
                type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/consignor_type',
                display: false,
                hide: false,
@@ -1138,25 +1138,25 @@
        },
        shipperRegionLabel: {
          label: '发货人行政区域',
          label: '装货点行政区域',
          display: true, disabled: true
        },
        shipperAddress: {
          label: '发货人详细地址',
          label: '装货点详细地址',
          display: true, disabled: true
        },
        shipperMobile: {
          label: '发货人联系方式',
          label: '装货点联系方式',
          display: true, disabled: true
        },
        receiverId: {
          label: '收货人',
          label: '卸货点',
          display: true, dataType:'string',
          rules: [
            {
              required: true,
              message: "收货人不能为空", trigger: "change"
              message: "卸货点不能为空", trigger: "change"
            }
          ],
          change: (val: any) => {
@@ -1201,15 +1201,15 @@
            searchMenuSpan: 5,
            column: {
              consignorCode: {
                label: '收发货人编码', minWidth: 130,
                label: '收装货点编码', minWidth: 130,
                search: true,
              },
              consignorName: {
                label: '收发货人名称', minWidth: 130,
                label: '收装货点名称', minWidth: 130,
                search: true,
              },
              consignorType: {
                label: '收发货人类型', minWidth: 80,
                label: '收装货点类型', minWidth: 80,
                type: 'select', dataType: 'string', dicUrl: '/system/dict/data/type/consignor_type',
                display: false,
                hide: false,
@@ -1262,15 +1262,15 @@
        },
        receiverRegionLabel: {
          label: '收货人行政区域',
          label: '卸货点行政区域',
          display: true, disabled: true
        },
        receiverAddress: {
          label: '收货人详细地址',
          label: '卸货点详细地址',
          display: true, disabled: true
        },
        receiverMobile: {
          label: '收货人联系方式',
          label: '卸货点联系方式',
          display: true, disabled: true
        },
        transportLine: {
@@ -1449,12 +1449,12 @@
    },
    shipperName: {
      label: '发货人名称',
      label: '装货点名称',
      display: false, minWidth: 120,
      search: true,
    },
    receiverName: {
      label: '收货人名称', minWidth: 120,
      label: '卸货点名称', minWidth: 120,
      display: false,
      search: true,
    },
@@ -1569,15 +1569,10 @@
    voucherUrl: {
      label: '行程凭证',
      display: true,
      span: 24,
      accept:'string',dataType: 'string',
      span: 24,dataType: 'string',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
    dataSource: {
      label: '数据来源',
@@ -1633,11 +1628,7 @@
      span: 24,dataType: 'string',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
  }
@@ -1676,11 +1667,7 @@
      accept:'string',dataType: 'string',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
    dataSource: {
      label: '数据来源',
@@ -1728,11 +1715,7 @@
      accept:'string',dataType: 'object',
      type: 'upload',
      action: '/common/upload2',
      propsHttp:{
        url: 'url',
        name: 'name',
        res: 'data',
      },
    },
  }
@@ -1771,11 +1754,11 @@
      display: false,
    },
    shipperName: {
      label: '发货人名称',
      label: '装货点名称',
      display: false, minWidth: 120,
    },
    receiverName: {
      label: '收货人名称', minWidth: 120,
      label: '卸货点名称', minWidth: 120,
      display: false,
    },
    transportLine: {