喻忠伟 2 years ago
commit cf2e0fe52a
  1. 10
      ant-design-vue-jeecg/src/views/device/ZyDeviceList.vue
  2. 27
      ant-design-vue-jeecg/src/views/device/modules/ZyDeviceForm.vue

@ -162,11 +162,11 @@
return parseInt(index)+1; return parseInt(index)+1;
} }
}, },
// { {
// title:'', title:'设备类型编码',
// align:"center", align:"center",
// dataIndex: 'typeCode' dataIndex: 'typeCode'
// }, },
{ {
title:'设备型号', title:'设备型号',
align:"center", align:"center",

@ -81,14 +81,29 @@
placeholder="设备品牌" ></j-dict-select-tag> placeholder="设备品牌" ></j-dict-select-tag>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<!-- <a-col :span="24">-->
<!-- <a-form-model-item label="类型编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="devicetypeCode ">-->
<!-- <j-popup-->
<!-- v-model="model.code1"-->
<!-- field="code1"-->
<!-- org-fields="model,id"-->
<!-- dest-fields="code1,modelId"-->
<!-- code="zy_devicemodel"-->
<!-- :multi="false"-->
<!-- :param="parm1"-->
<!-- @input="popupCallback"-->
<!-- />-->
<!-- </a-form-model-item>-->
<!-- <a-input v-model="model.modelId" hidden/>-->
<!-- </a-col>-->
<a-col :span="24"> <a-col :span="24">
<a-form-model-item label="类型编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="devicetypeCode "> <a-form-model-item label="类型编号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="typeCode">
<j-popup <j-popup
v-model="model.code1" v-model="model.typeCode"
field="code1" field="typeCode"
org-fields="model,id" org-fields="code"
dest-fields="code1,modelId" dest-fields="typeCode"
code="zy_devicemodel" code="zy_devicetype"
:multi="false" :multi="false"
:param="parm1" :param="parm1"
@input="popupCallback" @input="popupCallback"

Loading…
Cancel
Save