Commit ccf9d75f by chenwq

商品管理-带货模式-分润比例

1 parent dcb3f720
......@@ -866,7 +866,7 @@ export default {
},
// 分润比例
'editForm.profitRatio'(newValue, oldValue) {
this.editForm.profitRatio = limitPrice(newValue, oldValue, 2, 2)
this.editForm.profitRatio = limitPrice(newValue, oldValue, 3, 0, 0, 100, 'zNumReg')
},
// 会员价
'editForm.memberPrice'(newValue, oldValue) {
......@@ -1304,7 +1304,7 @@ export default {
memberPrice: res.memberPrice ? (res.memberPrice / 100).toFixed(2) : '',
goodsStock: res.goodsStock + '',
supplyPrice: res.supplyPrice ? (res.supplyPrice / 100).toFixed(2) : '',
profitRatio: res.profitRatio ? (res.profitRatio / 100).toFixed(2) : '',
profitRatio: res.profitRatio || '',
describeTxt: '',
relatedCouponId: '',
descImgList: [],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!