<template>
  <div class="addOrderTxt">
    <el-popover
      placement="bottom"
      width="250"
      v-model="snStatus"
      @show="open">
      <el-input slot="reference" size="small" v-model="showSn" v-el-readonly clearable v-bind="$attrs"
                v-on="$listeners" @clear="clear" class="moreInfo"></el-input>
      <div class="pop-textarea">
        <div class="box">
          <el-input type="textarea" :rows="16" v-model="editSn" :placeholder="$t2('请输入', 'components.baseInputBatch.placeholder')" ref="textarea"></el-input>
          <div class="tips">{{ $t2('注: 精确匹配搜索，多个值请用回车键隔开', 'components.baseInputBatch.tip') }}</div>
          <div class="btns">
            <el-button class="button-sty" plain type="primary" @click="cancle">
              <i class="el-icon-close el-icon"></i>{{ $t2('取消', 'system.button.cancel') }}
            </el-button>
            <el-button class="button-sty" type="primary" @click="confirm" ref="confirmBtn">
              <i class="el-icon-check el-icon"></i>{{ $t2('确定', 'system.button.confirm2') }}
            </el-button>
          </div>
        </div>
      </div>
    </el-popover>
  </div>
</template>

<script>
import mixins from "./mixins.js"

export default {
  name: "baseInputBatch",
  mixins: [mixins]
};
</script>

<style lang="scss"></style>
