Pārlūkot izejas kodu

设备新加字段

LLL 1 gadu atpakaļ
vecāks
revīzija
924d85766d

+ 45 - 0
src/views/module_tpm/equipment/EquipmentList.vue

@@ -217,6 +217,51 @@
             dataIndex: 'spaceid_dictText'
           },
           {
+            title:'周期',
+            align:"center",
+            dataIndex: 'equipmentCycle'
+          },
+          {
+            title:'周期单位',
+            align:"center",
+            dataIndex: 'cycleUnit_dictText'
+          },
+          {
+            title:'出厂编号',
+            align:"center",
+            dataIndex: 'factoryNo'
+          },
+          {
+            title:'出厂日期',
+            align:"center",
+            dataIndex: 'productDate'
+          },
+          {
+            title:'启用日期',
+            align:"center",
+            dataIndex: 'activeDate'
+          },
+          {
+            title:'责任部门',
+            align:"center",
+            dataIndex: 'responseDepartment'
+          },
+          {
+            title:'负责人',
+            align:"center",
+            dataIndex: 'responsePerson'
+          },
+          {
+            title:'领用人',
+            align:"center",
+            dataIndex: 'recipient'
+          },
+          {
+            title:'管理状态',
+            align:"center",
+            dataIndex: 'manageStatus_dictText'
+          },
+          {
             title: '操作',
             dataIndex: 'action',
             align:"center",

+ 45 - 0
src/views/module_tpm/equipment/modules/EquipmentForm.vue

@@ -59,6 +59,51 @@
               </j-tree-select>
             </a-form-model-item>
           </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="周期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="equipmentCycle">
+              <a-input-number v-model="model.equipmentCycle" placeholder="请输入周期" style="width: 100%" />
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="周期单位" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cycleUnit">
+              <j-dict-select-tag type="list" v-model="model.cycleUnit" dictCode="cycle_unit" placeholder="请选择周期单位(0年、1月、2日)" />
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="出厂编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="factoryNo">
+              <a-input v-model="model.factoryNo" placeholder="请输入出厂编号"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="出厂日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="productDate">
+              <j-date placeholder="请选择出厂日期"  v-model="model.productDate" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="启用日期" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="activeDate">
+              <j-date placeholder="请选择启用日期"  v-model="model.activeDate" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" />
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="责任部门" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="responseDepartment">
+              <a-input v-model="model.responseDepartment" placeholder="请输入责任部门"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="负责人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="responsePerson">
+              <a-input v-model="model.responsePerson" placeholder="请输入负责人"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="领用人" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="recipient">
+              <a-input v-model="model.recipient" placeholder="请输入领用人"  ></a-input>
+            </a-form-model-item>
+          </a-col>
+          <a-col :span="24">
+            <a-form-model-item label="管理状态" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="manageStatus">
+              <j-dict-select-tag type="list" v-model="model.manageStatus" dictCode="manage_status" placeholder="请选择管理状态(0送检中、1在用、2限用、3禁用)" />
+            </a-form-model-item>
+          </a-col>
         </a-row>
       </a-form-model>
     </j-form-container>