jeecgboot <j-popup
<a-col :span="24"> <a-form-item label=" 规格" :labelCol="labelCol" :wrapperCol="wrapperCol"> <j-popup v-decorator="['skuName']" :trigger-change="true" org-fields="id,name" dest-fields="skuId,skuName" code="mec_sku" @callback="popupCallback"/> </a-form-item> </a-col>
id和名称同时存
popupCallback(row){ this.model.skuId=row.skuId; this.form.setFieldsValue(pick(row,'name','skuName','isFreezed')) },