zenglf
2023-08-19 8611a1ba1696e76cced04ff5d658ba138a05dafd
src/views/spare/modules/sparePartOutbound/SparePartOutboundModal.vue
@@ -20,6 +20,7 @@
            >
              <a-input
                placeholder="请输申请单编码"
                :disabled="disableSubmit"
                v-decorator="['num', validatorRules.num]"
              />
            </a-form-item>
@@ -32,6 +33,7 @@
            >
              <a-select
                :placeholder="'请选择领用部门'"
                :disabled="disableSubmit"
                :options="this.departs"
                style="width: 100%"
                v-decorator="['departId', validatorRules.departId]"
@@ -85,6 +87,7 @@
    </a-spin>
    <a-button
      type="primary"
      :disabled="disableSubmit"
      :style="{ marginRight: '8px',marginBottom:'8px' }"
      :loading="confirmLoading"
      @click="selectSparePartInventory()"
@@ -106,8 +109,10 @@
        <div :key="col.dataIndex">
          <a-input-number
            :value="text"
            v-if="col.dataIndex == 'outboundMainQuantity'"
            :min="0"
            :disabled="disableSubmit"
            :max="record.mainQuantity"
            @change="(e)=>handleChange(e, record.key, col, index)"
          />
@@ -117,9 +122,12 @@
      <span
        slot="action"
        slot-scope="text, record, index"
      >
        <a-popconfirm
          title="确定删除吗?"
          :disabled="disableSubmit"
          @confirm="() => handleDelete(text,record, index)"
        >
          <a>删除</a>
@@ -136,6 +144,7 @@
      <a-button
        @click="handleOk()"
        :disabled="disableSubmit"
        type="primary"
        :loading="confirmLoading"
      >确定</a-button>
@@ -162,6 +171,7 @@
  },
  data() {
    return {
      disabled:false,
      departs: [],
      columns: [
        {