zenglf
2023-08-19 8611a1ba1696e76cced04ff5d658ba138a05dafd
src/views/spare/modules/sparePartScrapRequirement/SparePartScrapRequirementForm.vue
@@ -51,7 +51,9 @@
          :dataSource='sparesScrapRequirementDetailTable.dataSource'
          :maxHeight='300'
          :disabled='formDisabled'
          :alwaysEdit='true'
          :rowNumber='true'
          :bordered='bordered'
          :rowSelection='true'
          :toolbar='true'
          :toolbarConfig='toolbarConfig'
@@ -92,6 +94,7 @@
  },
  data() {
    return {
      bordered:true,
      departs: [],
      labelCol: {
        xs: { span: 24 },
@@ -133,6 +136,7 @@
            title: '备件编码',
            key: 'spareNum',
            fixed: 'left',
            align:'center',
            type: JVXETypes.normal,
            width: '200px',
            placeholder: '请输入${title}',
@@ -141,6 +145,7 @@
          {
            title: '备件名称',
            key: 'spareName',
            align:'center',
            fixed: 'left',
            type: JVXETypes.normal,
            width: '200px',
@@ -151,6 +156,7 @@
            title: '型号',
            key: 'model',
            type: JVXETypes.normal,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -159,6 +165,7 @@
            title: '规格',
            key: 'specification',
            type: JVXETypes.normal,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -168,6 +175,7 @@
            title: '主单位',
            key: 'mainUnitIdName',
            type: JVXETypes.normal,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -176,6 +184,7 @@
            title: '主单位',
            key: 'mainUnitId',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -183,6 +192,7 @@
          {
            title: '辅单位',
            key: 'auxiliaryUnitIdName',
            align:'center',
            type: JVXETypes.normal,
            width: '200px',
            placeholder: '请输入${title}',
@@ -192,6 +202,7 @@
            title: '辅单位',
            key: 'auxiliaryUnitId',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -200,6 +211,7 @@
            title: '主数量',
            key: 'mainQuantity',
            type: JVXETypes.inputNumber,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: 0,
@@ -236,6 +248,7 @@
            key: 'auxiliaryQuantity',
            type: JVXETypes.normal,
            width: '200px',
            align:'center',
            placeholder: '请输入${title}',
            defaultValue: 0
          },
@@ -243,6 +256,7 @@
            title: '备件id',
            key: 'sparePartId',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -251,6 +265,7 @@
            title: '换算比例',
            key: 'conversionRatio',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -260,6 +275,7 @@
            title: '需求日期',
            key: 'requirementTime',
            type: JVXETypes.date,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: '',