大件运输联网系统前端代码
guoshilong
2022-12-19 6fd27418225f2d36fc206acdfe6c24fb33ae7590
src/const/application/application.js
@@ -33,6 +33,7 @@
          prop: "name",
          type: "input",
          labelWidth:labelWidth,
          disabled:false,
          rules: [{required: true, message: "请输入经办人姓名", trigger: ['blur','change']}]
        },
        {
@@ -40,6 +41,7 @@
          prop: "idCard",
          type: "input",
          labelWidth:labelWidth,
          disabled:false,
          rules: [{required: true, trigger: ['blur','change'],validator:idCardValidate}]
        },
        {
@@ -49,6 +51,7 @@
          span:12,
          row:true,
          labelWidth:labelWidth,
          disabled:false,
          rules: [{required: true, trigger: ['blur','change'],validator:mobileValidate}]
        },
        {
@@ -57,7 +60,8 @@
          type: "date",
          format:'yyyy-MM-dd',
          valueFormat:'yyyy-MM-dd',
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "通行结束时间",
@@ -65,31 +69,36 @@
          type: "date",
          format:'yyyy-MM-dd',
          valueFormat:'yyyy-MM-dd',
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "起运机构",
          prop: "transportDept",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "途径省份",
          prop: "passProvince",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "出发地",
          prop: "departure",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "目的地",
          prop: "destination",
          type: "input",
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "通行路线",
@@ -97,7 +106,8 @@
          type: "textarea",
          row:true,
          minRows:2,
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
        {
          label: "通行桥涵",
@@ -105,7 +115,8 @@
          type: "textarea",
          row:true,
          minRows:2,
          labelWidth:labelWidth
          labelWidth:labelWidth,
          disabled:false,
        },
      ]
    },
@@ -121,6 +132,7 @@
          type: 'upload',
          loadText: '附件上传中,请稍等',
          span: 24,
          disabled:false,
          propsHttp:propsHttp,
          action: uploadUrl
        },
@@ -130,6 +142,7 @@
          type: 'upload',
          loadText: '附件上传中,请稍等',
          span: 24,
          disabled:false,
          propsHttp:propsHttp,
          action: uploadUrl
        },
@@ -145,12 +158,14 @@
          label: "货物信息",
          prop: "goodsName",
          labelWidth:labelWidth,
          disabled:false,
          type: "input",
        },
        {
          label: "货物分类",
          prop: "goodsCategory",
          labelWidth:labelWidth,
          disabled:false,
          type: "select",
          dicUrl: "/api/blade-system/dict-biz/dictionary?code=goods_category",
          props:{
@@ -162,6 +177,7 @@
          label: "货物类别",
          prop: "goodsType",
          labelWidth:labelWidth,
          disabled:false,
          type: "select",
          dicUrl: "/api/blade-system/dict-biz/dictionary?code=goods_type",
          props:{
@@ -173,12 +189,14 @@
          label: "轴荷分布",
          prop: "axialLoad",
          labelWidth:labelWidth,
          disabled:false,
          type: "input",
          append:'轴',
        },
        {
          label: "货物重量",
          labelWidth:labelWidth,
          disabled:false,
          prop: "weight",
          type: "input",
          append:'吨',
@@ -186,6 +204,7 @@
        {
          label: "车货总重量",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allWeight",
          type: "input",
          append:'吨',
@@ -193,6 +212,7 @@
        {
          label: "货物最大长度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "length",
          type: "input",
          append:'米',
@@ -200,6 +220,7 @@
        {
          label: "货物最大宽度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "width",
          type: "input",
          append:'米',
@@ -207,6 +228,7 @@
        {
          label: "货物最大高度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "height",
          type: "input",
          append:'米',
@@ -216,6 +238,7 @@
        {
          label: "车货最大长度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allLength",
          type: "input",
          append:'米',
@@ -223,6 +246,7 @@
        {
          label: "车货最大宽度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allWidth",
          type: "input",
          append:'米',
@@ -230,6 +254,7 @@
        {
          label: "车货最大高度",
          labelWidth:labelWidth,
          disabled:false,
          prop: "allHeight",
          type: "input",
          append:'米',
@@ -241,6 +266,7 @@
          labelWidth:'10%',
          span: 24,
          minRows:2,
          disabled:false,
        },
      ]
    },