
export default {
  tableFormThis: {
    type_code: [
      {
        required: false,
        message: "",
        trigger: "blur",
      },
    ],
    good_name: [
      {
        required: false,
        message: "",
        trigger: "blur",
      },
    ],
    usable_num: [
      {
        required: false,
        message: "",
        trigger: "blur",
      },
    ],
    allot_num: [
      {
        required: false,
        message: "",
        trigger: "blur",
      },
    ],
    error_num: [
      {
        required: false,
        message: "",
        trigger: "blur",
      },
    ],
    error_code: [
      {
        required: false,
        message: "",
        trigger: "change",
      },
    ],
    error_remark: [
      {
        required: false,
        message: "",
        trigger: "blur",
      },
    ],
  },
  columns: [
    // 表格 - 列参数
    
    {
      prop: "bnCode",
      label: "批次号",
      width: "160",
      show: true,
      type:"text"
    },
    {
      prop: "spuCode",
      label: "商品编号",
      width: "160",
      show: true,
      type:"text"
    },
    {
      prop: "good_name",
      label: "调拨商品名称",
      minWidth: "180",
      show: true,
      type:"text"
    },
    {
      prop: "origin_price",
      label: "批次成本价",
      width: "110",
      show: true,
      type:"text"
    },
    
    {
      prop: "usable_num",
      label: "批次可用数量",
      width: "100",
      show: true,
      type:"text"
    },
    // { 
    //   prop: "balance_num",
    //   label: "批次库存数",
    //   width: "100",
    //   show: true,
    //   type:"text"
    // },
    {
      prop: "allot_num",
      label: "调拨总数量",
      width: "100",
      show: true,
      type:"text"
    },
    {
      prop: "error_num",
      label: "异常数量",
      width: "100",
      show: false,
      type:"text"
    },
    {
      prop: "error_code",
      label: "异常原因",
      width: "100",
      show: false,
      type:"text"
    },
    {
      prop: "error_remark",
      label: "异常原因备注",
      width: "100",
      show: false,
      type:"text"
    },
    {
      prop: "stock_num",
      label: "入库数量",
      width: "100",
      show: false,
      type:"text"
    },
  ]

}
