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'))
      },

 

posted @ 2021-03-11 13:46  longtengdama  阅读(1203)  评论(0编辑  收藏  举报