Commit dc08326a by zhangquan

第二轮bug修复

1 parent 3d40c10a
......@@ -385,6 +385,10 @@
}
}
.el-message.msgHierarchy {
z-index: 5000 !important;
}
.global-title-wrap {
height: 48px;
background: #fff;
......
......@@ -98,7 +98,7 @@ export default {
},
{
label: '单价 (元)',
prop: 'sellPrice'
prop: 'salePrice'
},
{
label: '数量',
......@@ -107,14 +107,14 @@ export default {
{
label: '小计 (元)',
formatter: cell => {
return cell.sellPrice * cell.sellQty
return cell.salePrice * cell.sellQty
}
},
{
label: '实收金额 (元)',
prop: 'orderAmount',
formatter: cell => {
return this.orderInfo.totalOrderAmount || '--'
return this.orderInfo.payPrice || '--'
}
}
]
......
......@@ -243,7 +243,11 @@ export default {
// 确认批量改价弹框
confirmPriceChange(e){
this.batchPrice = e
if(!(+this.batchPrice)) return this.$message.error('请输入大于0的金额')
if(!this.batchPrice && this.batchPrice!==0 && this.batchPrice!=='0') return this.$message({
message:'请输入金额',
type: 'error',
customClass: 'msgHierarchy'
});
this.setPriceFn({}, {}, true)
this.handleClose()
},
......
......@@ -217,8 +217,12 @@ export default {
},
// 确认批量改价弹框
confirmPriceChange(e){
this.batchPrice = e
if(!(+this.batchPrice)) return this.$message.error('请输入大于0的金额')
this.batchPrice = e
if(!this.batchPrice && this.batchPrice!==0 && this.batchPrice!=='0') return this.$message({
message:'请输入金额',
type: 'error',
customClass: 'msgHierarchy'
});
this.setPriceFn({}, {}, true)
this.handleClose()
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!