import { setStore, getStore } from '@/utils/store';
export default {
  columnBtn:false,
  sortable: false,
  addBtn: false,
  editBtn: false,
  addRowBtn: false,
  cellBtn: false,
  cancelBtn: false,
  deleteBtn: false,
  menuWidth: 100,
  menu: true,
  column: {
    qrCode:{
      label: "产品二维码",
      prop: "qrCode",
      type: "input",
      cell: true,
      rules: [{
        required: true,
        message: "请填写产品二维码",
        trigger: "blur"
      }]
    },
    newQrCode:{
      label: "新产品二维码",
      prop: "newQrCode",
      type: "input",
      hide:true,
      cell: true
    },
    waterCooling:{
      label: "水冷",
      prop: "waterCooling",
      type: "number",
      cell: true,
      min:-20,
      max:45,
      rules: [{
        required: true,
        message: "请填写水冷",
        trigger: "blur"
      }]
    },
    airtight:{
      label: "气密",
      prop: "airtight",
      type: "number",
      cell: true,
      min:-2,
      max:6,
      rules: [{
        required: true,
        message: "请填写气密",
        trigger: "blur"
      }]
    },
    // {
    //   label: "订单号",
    //   prop: "orderNo",
    //   type: "input",
    //   cell: true,
    //   rules: [{
    //     required: true,
    //     message: "请填写订单号",
    //     trigger: "blur"
    //   }]
    // },
    // {
    //   label: "出货批次",
    //   prop: "shipmentBatch",
    //   type: "input",
    //   cell: true,
    //   rules: [{
    //     required: true,
    //     message: "请填写出货批次",
    //     trigger: "blur"
    //   }]
    // },
    coldQrCode:{
      label: "冷板二维码",
      prop: "coldQrCode",
      type: "input",
      cell: true,
      rules: [{
        required: true,
        message: "请填写冷板二维码",
        trigger: "blur"
      }]
    },
  }
}
