Commit 223e7680 by 王志慧

commit

1 parent a32432a0
......@@ -5,7 +5,7 @@
<img src="@/images/addressIcon.webp" alt="" class="icon" />
<span class="title">{{ paramsObj.merchantName }}</span>
</div>
<div class="address-info">
<div class="address-info" v-if="paramsObj.purchaseType==1">
<span class="name">
收货人:
<span class="label">{{ detailInfo.contactName }}</span>
......@@ -69,7 +69,7 @@ export default {
},
{
label: '商品编码',
prop: 'productCode'
prop: 'type'
},
{
label: '系列',
......
......@@ -16,7 +16,7 @@
<GLTable ref="orderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<template slot="deliveryStatus" slot-scope="scope">
<div>
<span :class="[scope.scope.deliveryStatus == 1 ? 'yellowSpot' : 'greenSpot']"></span>
<span v-if="scope.scope.status" :class="[scope.scope.deliveryStatus == 1 ? 'yellowSpot' : 'greenSpot']"></span>
<span>{{ scope.scope.deliveryStatus | deliveryStatus }}</span>
</div>
</template>
......@@ -422,7 +422,9 @@ export default {
handleDetail(row) {
this.paramsObj = {
orderCode: row.orderCode,
merchantName: row.merchantName
merchantName: row.merchantName,
purchaseType:row.purchaseType
}
this.detailVisible = true
},
......
......@@ -52,7 +52,7 @@ export default {
callback(new Error('请输入数字值'))
} else {
if (value <= 0 || value > 999999) {
callback(new Error('仅支持输出0~999999纯数字'))
callback(new Error('仅支持输入0~999999'))
} else {
callback()
}
......@@ -198,6 +198,7 @@ export default {
data[key] = new BigNumber(data[key]).dp(2).toNumber()
let params = {
upgradePurchasePrice: data => {
data.goodsTotalPrice = new BigNumber(data.upgradePurchasePrice)
.times(data.goodsNumber)
.dp(2)
......@@ -244,5 +245,10 @@ export default {
color: #333333;
margin-bottom: 15px;
}
/deep/ .el-form-item__error {
padding-top: 2px;
z-index: 9999999;
position: static;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!