Commit 94d94080 by 前端

Merge branch 'SAAS+V4.41.1' into 'master'

上线合并

See merge request !12
2 parents 308b687c bce1ea18
...@@ -234,11 +234,17 @@ export function checkShipper(params) { ...@@ -234,11 +234,17 @@ export function checkShipper(params) {
returnAll: true returnAll: true
}) })
} }
// 确认发货 // 根据产品id获取产品、规格列表、升级商品详情
// export function purchaseOrderConfirmDelivery(data) { export function getByIdWithSpecification(params) {
// params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale` params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
// data.routerMethod = `${path}purchaseOrder.confirmDelivery` params.routerMethod = `dj.api.goodsinfo.getByIdWithSpecification`
// return http(data) return http({
// } url: 'rop-scrm-boutiquecoupon/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
export default { checkShipper, get4SRefByYqShopList, selectByOrderCode, purchaseOrderDelete, getManageMode, getMerchantList, purchaseOrderPutIn, exportExcel, shoppingCarUpdateNumber, purchaseOrderAdd, shoppingCarAdd, shoppingCarRemove, updateSelectedFlag, listGroupByGoodsType, getPurchaseOrderList, purchaseOrderCancelOrCheck, purchaseOrderDetail, listWithPagePurchaseInfo, addressGet, addressSave } export default { checkShipper, get4SRefByYqShopList, selectByOrderCode, purchaseOrderDelete, getManageMode, getMerchantList, purchaseOrderPutIn, exportExcel, shoppingCarUpdateNumber, purchaseOrderAdd, shoppingCarAdd, shoppingCarRemove, updateSelectedFlag, listGroupByGoodsType, getPurchaseOrderList, purchaseOrderCancelOrCheck, purchaseOrderDetail, listWithPagePurchaseInfo, addressGet, addressSave, getByIdWithSpecification }
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="detail-info"> <div class="detail-info">
<div> <div>
商品名称: 商品名称:
<span>{{ item.upgradeGoodsName }}</span> <span>{{ item.upgradeGoodsName }}&nbsp;&nbsp;&nbsp;&nbsp; {{detailInfo.specificationData}}</span>
</div> </div>
<div> <div>
发货数量: 发货数量:
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<div class="detail-info"> <div class="detail-info">
<div> <div>
商品名称: 商品名称:
<span>{{ detailInfo.upgradeGoodsName }}</span> <span>{{ detailInfo.upgradeGoodsName }}&nbsp;&nbsp; {{detailInfo.specificationData}}</span>
</div> </div>
<div> <div>
发货数量: 发货数量:
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<GLTable ref="orderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"> <GLTable ref="orderRef" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<template slot="putStatus" slot-scope="scope"> <template slot="putStatus" slot-scope="scope">
<div> <div>
<span :class="[scope.scope.putStatus == 1 ? 'ashSpot' :scope.scope.putStatus == 2? 'greenSpot':'yellowSpot']"></span> <span :class="[scope.scope.putStatus == 1 ? 'ashSpot' : scope.scope.putStatus == 2 ? 'greenSpot' : 'yellowSpot']"></span>
<span>{{ scope.scope.putStatus | puStatus }}</span> <span>{{ scope.scope.putStatus | puStatus }}</span>
</div> </div>
</template> </template>
...@@ -180,6 +180,11 @@ export default { ...@@ -180,6 +180,11 @@ export default {
prop: 'type' prop: 'type'
}, },
{ {
label: '规格',
prop: 'specificationData',
width: 100
},
{
label: '系列', label: '系列',
prop: 'goodsName' prop: 'goodsName'
}, },
......
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
收货地址: 收货地址:
<span class="label">{{ detailInfo.provinceName }}{{ detailInfo.cityName }}{{ detailInfo.areaName }}{{ detailInfo.contactAddress }}</span> <span class="label">{{ detailInfo.provinceName }}{{ detailInfo.cityName }}{{ detailInfo.areaName }}{{ detailInfo.contactAddress }}</span>
</span> </span>
<span class="address" v-if="detailInfo.purchaseOrderRemark">
备注:
<span class="label">{{ detailInfo.purchaseOrderRemark }}</span>
</span>
<span class="address" v-if="detailInfo.rejectCause"> <span class="address" v-if="detailInfo.rejectCause">
驳回原因: 驳回原因:
<span class="label">{{ detailInfo.rejectCause }}</span> <span class="label">{{ detailInfo.rejectCause }}</span>
...@@ -88,6 +92,11 @@ export default { ...@@ -88,6 +92,11 @@ export default {
width: 100 width: 100
}, },
{ {
label: '规格',
prop: 'specificationData',
width: 100
},
{
label: '系列', label: '系列',
prop: 'goodsName', prop: 'goodsName',
width: 100, width: 100,
......
...@@ -42,7 +42,8 @@ ...@@ -42,7 +42,8 @@
<div class="right"> <div class="right">
<div class="name one-line-ellipsis">{{ goodsItem.upgradeGoodsName }}</div> <div class="name one-line-ellipsis">{{ goodsItem.upgradeGoodsName }}</div>
<div class="price"> <div class="price">
<span class="label">商品价格:</span> <!-- v-if="goodsItem.specificationType == 2" .replace(';~;', '/')-->
<span class="label" v-if="goodsItem.specificationType == 2">{{ goodsItem.formatSpecificationData }}</span>
¥{{ goodsItem.purchasePrice }} ¥{{ goodsItem.purchasePrice }}
</div> </div>
<div class="num"> <div class="num">
...@@ -62,11 +63,18 @@ ...@@ -62,11 +63,18 @@
</div> </div>
</el-drawer> </el-drawer>
<GLDialog class="addressDialog" mode="big" bigTitle="结算确认" okText="确定结算" :visible.sync="dialogShow" :close-on-click-modal="false" @onOk="handleSubmit" @onCancel="dialogShow = false"> <GLDialog class="addressDialog" mode="big" bigTitle="结算确认" okText="确定结算" :visible.sync="dialogShow" :close-on-click-modal="false" @onOk="handleSubmit" @onCancel="dialogShow = false">
<h4 class="title">确认要结算订单吗?</h4> <h4 class="title">
<img src="@/images/confirm.png" alt="" class="confirm" />
确认要结算订单吗?
</h4>
<div class="info"> <div class="info">
<p class="tips"> <p class="tips">
<span>请核对收货仓信息:</span> <span>请核对收货仓信息</span>
<el-button type="text" @click="editAddress">修改</el-button> <el-button type="text" @click="editAddress">
<!-- <img src="@/images/edit.png" alt="" /> -->
<img src="@/images/edit.png" alt="" class="editIcon" />
修改
</el-button>
</p> </p>
<ul class="orderInfoCom"> <ul class="orderInfoCom">
<li class="item" v-for="(item, index) in addressInfoList" :key="index"> <li class="item" v-for="(item, index) in addressInfoList" :key="index">
...@@ -76,6 +84,17 @@ ...@@ -76,6 +84,17 @@
</li> </li>
</ul> </ul>
</div> </div>
<div class="info">
<p class="tips">
<span>订单备注</span>
</p>
<div class="item-remark orderInfoCom">
<div class="label">备注:</div>
<div class="item-content">
<el-input show-word-limit type="textarea" maxlength="200" :rows="3" placeholder="备注说明" v-model="remarks"></el-input>
</div>
</div>
</div>
</GLDialog> </GLDialog>
</div> </div>
</template> </template>
...@@ -93,6 +112,7 @@ export default { ...@@ -93,6 +112,7 @@ export default {
}, },
data() { data() {
return { return {
remarks: '',
// addressInfo: {}, // addressInfo: {},
throttleSubmit: false, throttleSubmit: false,
membraneTypeList, membraneTypeList,
...@@ -107,23 +127,23 @@ export default { ...@@ -107,23 +127,23 @@ export default {
goodsList: [], goodsList: [],
addressInfoList: [ addressInfoList: [
{ {
label: '店铺名称', label: '店铺名称:',
name: 'yqMerchantName' name: 'yqMerchantName'
}, },
{ {
label: '店铺编号', label: '店铺编号:',
name: 'yqMerchantId' name: 'yqMerchantId'
}, },
{ {
label: '收货人', label: '收货人:',
name: 'contactName' name: 'contactName'
}, },
{ {
label: '收货人电话', label: '收货人电话:',
name: 'contactPhone' name: 'contactPhone'
}, },
{ {
label: '收货地址', label: '收货地址:',
name: 'contactAddress' name: 'contactAddress'
} }
], ],
...@@ -198,7 +218,8 @@ export default { ...@@ -198,7 +218,8 @@ export default {
cityName, cityName,
areaId, areaId,
areaName, areaName,
shoppingCarList: this.selectList shoppingCarList: this.selectList,
remark: this.remarks
} }
if (provinceName === null) { if (provinceName === null) {
this.dialogShow = false this.dialogShow = false
...@@ -263,6 +284,8 @@ export default { ...@@ -263,6 +284,8 @@ export default {
const upgradeGoodsList = item.list.reduce((total, cur, index) => { const upgradeGoodsList = item.list.reduce((total, cur, index) => {
total.push({ total.push({
upgradeGoodsName: cur.upgradeGoods.upgradeGoodsName, upgradeGoodsName: cur.upgradeGoods.upgradeGoodsName,
specificationType: cur.upgradeGoods.specificationType,
formatSpecificationData: cur.upgradeGoods.formatSpecificationData ? cur.upgradeGoods.formatSpecificationData.replaceAll(';~;', '/') : '',
upgradeGoodsId: cur.upgradeGoodsId, upgradeGoodsId: cur.upgradeGoodsId,
selectedFlag: cur.selectedFlag == 'Y', selectedFlag: cur.selectedFlag == 'Y',
goodsNumber: cur.goodsNumber, goodsNumber: cur.goodsNumber,
...@@ -320,7 +343,7 @@ export default { ...@@ -320,7 +343,7 @@ export default {
return item return item
}) })
// 只有有一个选中并且不是全选状态 // 只有有一个选中并且不是全选状态
this.isIndeterminate = checkoutFlag ? false : isIndeterminate this.isIndeterminate = checkoutFlag ? false : isIndeterminate
this.goodsSelectTotalNumber = goodsSelectTotalNumber this.goodsSelectTotalNumber = goodsSelectTotalNumber
this.goodsTotalNumber = goodsTotalNumber this.goodsTotalNumber = goodsTotalNumber
...@@ -559,6 +582,7 @@ li { ...@@ -559,6 +582,7 @@ li {
font-size: 12px; font-size: 12px;
font-weight: normal; font-weight: normal;
color: #666666; color: #666666;
margin-right: 10px;
} }
} }
...@@ -584,24 +608,50 @@ li { ...@@ -584,24 +608,50 @@ li {
.addressDialog { .addressDialog {
.title { .title {
text-align: center; text-align: center;
font-size: 20px;
color: #f8ba37;
margin: 20px 0 40px 0; margin: 20px 0 40px 0;
font-weight: 600;
font-size: 18px;
color: #333333;
.confirm {
width: 24px;
height: 24px;
vertical-align: -6px;
}
} }
.tips { .tips {
height: 40px;
line-height: 40px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
background: #f4f6fc;
border: 1px solid #e5e5e5;
font-weight: 600;
font-size: 14px;
padding: 0px 20px;
color: #333333;
span { span {
margin-bottom: 20px; margin-bottom: 20px;
} }
.editIcon {
width: 16px;
height: 16px;
vertical-align: -3px;
}
} }
.info { .info {
padding: 15px 20px; // padding: 15px 20px;
// padding: ;
box-shadow: 0px 0px 5px 0px rgba(136, 152, 157, 0.3); box-shadow: 0px 0px 5px 0px rgba(136, 152, 157, 0.3);
&.info {
margin-top: 15px;
}
}
.orderInfoCom {
padding: 15px 20px;
} }
.item { .item {
margin-bottom: 15px; margin-bottom: 15px;
} }
...@@ -612,5 +662,17 @@ li { ...@@ -612,5 +662,17 @@ li {
text-align: right; text-align: right;
margin-right: 10px; margin-right: 10px;
} }
.item-remark {
display: flex;
.item-content {
width: 500px;
}
::v-deep .el-input__count {
right: -50px;
bottom: 5px;
font-size: 12px;
color: #999999;
}
}
} }
</style> </style>
...@@ -227,7 +227,7 @@ export default { ...@@ -227,7 +227,7 @@ export default {
type: 'text' type: 'text'
}, },
condition: row => { condition: row => {
return (row.purchaseType == 1 && row.deliveryStatus == 2) || (row.purchaseType == 1 && row.deliveryStatus == 3) return (row.purchaseType == 1 && row.deliveryStatus == 2) || (row.purchaseType == 1 && row.deliveryStatus == 3)||(row.purchaseType == 1 && row.deliveryStatus == 4)
}, },
listeners: { listeners: {
click: this.handleDispatch click: this.handleDispatch
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!