zenglf
2023-08-19 8611a1ba1696e76cced04ff5d658ba138a05dafd
src/views/spare/modules/sparePartReceive/SparePartReceiveForm.vue
@@ -60,6 +60,8 @@
        <j-vxe-table
          keep-source
          :ref='refKeys[0]'
          :alwaysEdit='true'
          :bordered='bordered'
          :loading='sparesReceiveDetailTable.loading'
          :columns='sparesReceiveDetailTable.columns'
          :dataSource='sparesReceiveDetailTable.dataSource'
@@ -99,6 +101,7 @@
  },
  data() {
    return {
      bordered:true,
      departs: [],
      labelCol: {
        xs: { span: 24 },
@@ -143,6 +146,7 @@
            title: '备件编码',
            key: 'spareNum',
            fixed: 'left',
            align:'center',
            type: JVXETypes.normal,
            width: '150px',
            placeholder: '请输入${title}',
@@ -154,12 +158,14 @@
            type: JVXETypes.normal,
            fixed: 'left',
            width: '150px',
            align:'center',
            placeholder: '请输入${title}',
            defaultValue: ''
          },
          {
            title: '型号',
            key: 'model',
            align:'center',
            type: JVXETypes.normal,
            width: '150px',
            placeholder: '请输入${title}',
@@ -168,6 +174,7 @@
          {
            title: '规格',
            key: 'specification',
            align:'center',
            type: JVXETypes.normal,
            width: '150px',
            placeholder: '请输入${title}',
@@ -177,6 +184,7 @@
            title: '主单位',
            key: 'mainUnitIdName',
            type: JVXETypes.normal,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -185,6 +193,7 @@
            title: '主单位',
            key: 'mainUnitId',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -193,6 +202,7 @@
            title: '辅单位',
            key: 'auxiliaryUnitIdName',
            type: JVXETypes.normal,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -201,6 +211,7 @@
            title: '辅单位',
            key: 'auxiliaryUnitId',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
@@ -209,6 +220,7 @@
            title: '主数量',
            key: 'mainQuantity',
            type: JVXETypes.normal,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: 0,
@@ -243,6 +255,7 @@
          {
            title: '辅数量',
            key: 'auxiliaryQuantity',
            align:'center',
            type: JVXETypes.normal,
            width: '200px',
            placeholder: '请输入${title}',
@@ -252,6 +265,7 @@
          {
            title: '领用主数量',
            key: 'receiveMainQuantity',
            align:'center',
            type: JVXETypes.inputNumber,
            width: '200px',
            placeholder: '请输入${title}',
@@ -287,6 +301,7 @@
          },
          {
            title: '领用辅数量',
            align:'center',
            key: 'receiveMainQuantity',
            type: JVXETypes.hidden,
            width: '200px',
@@ -300,12 +315,14 @@
            title: '备件id',
            key: 'sparePartId',
            type: JVXETypes.hidden,
            align:'center',
            width: '200px',
            placeholder: '请输入${title}',
            defaultValue: ''
          },
          {
            title: '备件库存id',
            align:'center',
            key: 'sparePartInventoryId',
            type: JVXETypes.hidden,
            width: '200px',