<script setup>
import { shippingTemplate, afterSalesPolicy } from '@/utils/dictionary'
const form = inject('form')
</script>

<template>
  <div>
    <el-form-item label="运费模板" prop="info.shipping_template" :rules="[{ required: true, message: '请选择' }]">
      <el-select v-model="form.info.shipping_template" style="width: 300px">
        <el-option v-for="item in shippingTemplate" :key="item.value" v-bind="item"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="售后政策" prop="info.after_sales_policy" :rules="[{ required: true, message: '请选择' }]">
      <el-select v-model="form.info.after_sales_policy" style="width: 300px" multiple>
        <el-option v-for="item in afterSalesPolicy" :key="item.value" v-bind="item"></el-option>
      </el-select>
    </el-form-item>
  </div>
</template>
