Merge branch 'master' of http://47.96.225.205:8888/r/operation_pc-v2
| | |
| | | return `${row.usageTimeNum}${row.usageTimeTypeName}` |
| | | }, |
| | | }, |
| | | { label: '库存:', id: 'couponAmount' }, |
| | | { label: '发放数量:', id: 'couponAmount' }, |
| | | { label: '已兑换:', id: 'getNum' }, |
| | | { label: '库存:', id: 'unGetNum' }, |
| | | { label: '积分数量:', id: 'point' }, |
| | | ], |
| | | }, |
| | |
| | | }, |
| | | ...couponColumn(), |
| | | { label: '状态', prop: 'statusName', minWidth: 120 }, |
| | | { label: '库存', prop: 'couponAmount', minWidth: 120 }, |
| | | { label: '发放数量', prop: 'couponAmount', minWidth: 120 }, |
| | | { label: '已兑换', prop: 'getNum', minWidth: 120 }, |
| | | { label: '库存', prop: 'unGetNum', minWidth: 120 }, |
| | | { label: '所需积分', prop: 'point', minWidth: 120 }, |
| | | ], |
| | | searchForm: [ |
| | |
| | | }, |
| | | }, |
| | | { |
| | | label: '库存:', |
| | | label: '发放数量:', |
| | | id: 'couponAmount', |
| | | type: 'input-number', |
| | | el: { |
| | |
| | | max: 99999999, |
| | | controls: false, |
| | | }, |
| | | rules: { required: true, message: '请输入库存', trigger: 'blur' }, |
| | | rules: [ |
| | | { required: true, message: '请输入发放数量', trigger: 'blur' }, |
| | | { |
| | | type: 'number', |
| | | min: 1, |
| | | message: '发放数量必须大于0', |
| | | trigger: 'blur', |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: '积分数量:', |
| | |
| | | max: 99999999, |
| | | controls: false, |
| | | }, |
| | | rules: { required: true, message: '请输入库存', trigger: 'blur' }, |
| | | rules: [ |
| | | { required: true, message: '请输入库存', trigger: 'blur' }, |
| | | { |
| | | type: 'number', |
| | | min: 1, |
| | | message: '库存必须大于0', |
| | | trigger: 'blur', |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: '商品图片:', |
| | |
| | | { label: '级别:', id: 'flowerLevelStr' }, |
| | | { label: '颜色:', id: 'flowerColor' }, |
| | | { label: '规格:', id: 'flowerUnit' }, |
| | | { label: '商品价格(元):', id: 'price' }, |
| | | { label: '原价(元):', id: 'price' }, |
| | | { label: '券后单价(元):', id: 'realPrice' }, |
| | | { label: '供应商价格(元):', id: 'supplierPrice' }, |
| | | { label: '合伙人加价(元):', id: 'markupPartner' }, |
| | | { label: '申请数量:', id: 'num' }, |
| | |
| | | items: [ |
| | | { label: '商品名称:', id: 'flowerName', type: 'input' }, |
| | | { label: '合伙人加价(元):', id: 'markupPartner', type: 'input' }, |
| | | { label: '商品价格(元):', id: 'price', type: 'input' }, |
| | | { label: '原价(元):', id: 'price', type: 'input' }, |
| | | { label: '券后单价(元):', id: 'realPrice', type: 'input' }, |
| | | { label: '供应商价格(元):', id: 'supplierPrice', type: 'input' }, |
| | | { label: '商品数量:', id: 'flowerNum', type: 'input' }, |
| | | { label: '申请售后数量:', id: 'num', type: 'input' }, |