export const rules = {
    supplierNo: [{ required: true, message: '请选择销售方公司', trigger: 'change' }],
    companyNo: [{ required: true, message: '请选择购买方公司', trigger: 'change' }],
    goodSource: [{ required: true, message: '请选择商品来源', trigger: 'change' }],
    spuCode: [{ required: true, message: '请输入商品编号', trigger: 'change' }],
    goodType: [{ required: true, message: '请选择订单商品类型', trigger: 'change' }],
    is_combind: [{ required: true, message: '请选择组合类型', trigger: 'change' }],
    goodName: [{ required: true, message: '请输入订单商品名称', trigger: 'change' }],
    invGoodName: [{ required: true, message: '请输入发票商品名称', trigger: 'change' }],
    beforeTaxPrice: [{ required: true, message: '请输入成本税前单价', trigger: 'change' }],
    unit: [{ required: true, message: '请选择单位', trigger: 'change' }],
    weight: [{ required: true, message: '请选择重量', trigger: 'change' }],
    afterTaxPrice: [{ required: true, message: '请输入成本税后单价', trigger: 'change' }],
    in_code: [{ required: true, message: '请选择进项类目', trigger: 'change' }],
    invType: [{ required: true, message: '请选择发票类型', trigger: 'change' }],
    in_tax: [{ required: true, message: '请选择进项税率', trigger: 'change' }],
    in_cost_status: [{ required: true, message: '请选择进项成本类型', trigger: 'change' }]
}