import { reactive } from 'vue';

export const rulesRef = reactive({
  saleUserName: [
    {
      required: true,
      message: '请选择业务员',
    },
  ],
  invoicingCompany: [
    {
      required: true,
      message: '请输入开票公司',
    },
  ],
  exWarehouse: [
    {
      required: true,
      message: '请选择出货仓库',
    },
  ],
  logisticsMode: [
    {
      required: true,
      message: '请选择发货方式',
    },
  ],
  address: [
    {
      required: true,
      message: '请选择收货地址',
    },
  ],
  receiveName: [
    {
      required: true,
      message: '请输入收货人',
    },
  ],
  receivePhone: [
    {
      required: true,
      message: '请输入联系电话',
    },
  ],
  _hospital: [
    {
      required: true,
      message: '请选择医院',
      type:'object'
    },
  ],
  _doctor:[
    {
      required: true,
      message: '请选择医生',
      type:'object'
    }
  ],
  surgicalTime:[
    {
      required: true,
      message: '请选择手术时间',
    }
  ],
  surgicalName:[
    {
      required: true,
      message: '请输入手术名称',
    }
  ],
  deliveryTime:[
    {
      required: true,
      message: '请选择期望送达时间',
    }
  ]
});
