export const rules = {
    seller_code: [{ required: true, message: '请选择销售方公司', trigger: 'change' }],
    buyer_code: [{ required: true, message: '请选择购买方公司', trigger: 'change' }],
    good_source: [{ required: true, message: '请选择商品来源', trigger: 'change' }],
    skuCode: [{ required: true, message: '请输入商品编号', trigger: 'change' }],
    good_type: [{ required: true, message: '请选择订单商品类型', trigger: 'change' }],
    is_combind: [{ required: true, message: '请选择组合类型', trigger: 'change' }],
    goodName: [{ required: true, message: '请输入订单商品名称', trigger: 'change' }],
    inv_good_name: [{ required: true, message: '请输入发票商品名称', trigger: 'change' }],
    unit_price: [{ required: true, message: '请输入成本税前单价', trigger: 'change' }],
    unit: [{ required: true, message: '请选择单位', trigger: 'change' }],
    unit_weight: [{ required: true, message: '请选择重量', trigger: 'change' }],
    subunit_price: [{ required: true, message: '请输入成本税后单价', trigger: 'change' }],
    cat_code: [{ required: true, message: '请选择进项类目', trigger: 'change' }],
    inv_type: [{ required: true, message: '请选择发票类型', trigger: 'change' }],
    cat_tax: [{ required: true, message: '请选择进项税率', trigger: 'change' }],
    basic_status: [{ required: true, message: '请选择进项成本类型', trigger: 'change' }]
}