“linengliang”
2023-10-08 56d9c88deb00626a312bc06a7243f9be14eec1df
src/views/eam/EquipmentListOfProduct.vue
ÎļþÃû´Ó src/views/eam/EquipmentList.vue ÐÞ¸Ä
@@ -1,5 +1,5 @@
<template>
  <a-card :bordered="false">
  <a-card :bordered="false" title="生产设备">
    <!-- æŸ¥è¯¢åŒºåŸŸ -->
    <div class="table-page-search-wrapper">
      <a-form layout="inline" @keyup.enter.native="searchQuery">
@@ -10,8 +10,8 @@
            :labelCol="labelCol"
            :wrapperCol="wrapperCol"
            >
              <j-search-select-tag
                dict="mom_eam_equipment_category,name,id"
              <j-dict-select-tag
                dictCode="mom_eam_equipment_category,name,id,equipment_category_uda1 = 'producter'"
                placeholder="请输入搜索条件并选择"
                v-model="queryParam.equipmentCategoryId"
              />
@@ -25,10 +25,10 @@
            :wrapperCol="wrapperCol"
            label="统一编码"
            >
              <j-input
              <a-input
                placeholder="请输入设备统一编码查询"
                v-model="queryParam.num"
              ></j-input>
              ></a-input>
            </a-form-item>
          </a-col>
          <a-col
@@ -39,10 +39,10 @@
            :wrapperCol="wrapperCol"
            label="设备名称"
            >
              <j-input
              <a-input
                placeholder="请输入设备名称查询"
                v-model="queryParam.name"
              ></j-input>
              ></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="5">
@@ -51,10 +51,10 @@
              :labelCol="labelCol"
            :wrapperCol="wrapperCol"
            >
            <j-input
            <a-input
                v-model="queryParam.model"
                placeholder="请输入型号"
            ></j-input>
            ></a-input>
            </a-form-item>
          </a-col>
          <a-col :span="4">
@@ -451,7 +451,7 @@
        <equipment-update-warranty-list :mainId="selectedMainId" />
      </a-tab-pane>
    </a-tabs>
    <equipment-modal ref="modalForm" @ok="modalFormOk"></equipment-modal>
    <equipment-modal ref="modalForm" @ok="modalFormOk" :caytegoryParam="caytegoryParam"></equipment-modal>
    <process-edit-model ref ="processEditModel"></process-edit-model>
    <precision-edit-model ref ="precisionEditModel"></precision-edit-model>
    <aBC-update-edit-model @ok="modalFormOk" :updateList="selectionRows" ref="updateABC"></aBC-update-edit-model>
@@ -502,6 +502,7 @@
    data () {
      return {
        description: '设备台账管理页面',
        caytegoryParam:'producter',
        // è¡¨å¤´
        columns: [
        {
@@ -807,6 +808,7 @@
          this.ipagination.current = 1;
        }
        this.onClearSelected()
        this.queryParam.equipmentCategoryUda1 = this.caytegoryParam;
        var params = this.getQueryParams();//查询条件
        this.loading = true;
        getAction(this.url.list, params).then((res) => {