Commit 8bb3aa03 by 李伟康

Merge branch 'master' into v3.5.0-0227

2 parents 14f3cb60 8a903384
...@@ -173,4 +173,17 @@ const getMerchantStaff = params => { ...@@ -173,4 +173,17 @@ const getMerchantStaff = params => {
}) })
} }
export default { getMerchantGoodsListApi, getGoodsListApi, uploadImgApi, uploadMusicApi, uploadVideoApi, uploadFundingVideoApi, getMerchantList, getSimpleMerchantList, getZoneListApi, getClassifyListApi, pictureUpload, querylabeltree, getCrowdTreeListApi, getStaffFollowerListApi, getMerchantInfoApi, getMerchantStaff } /**众筹活动订单配置开关(SAAS)【控制众筹订单列表部分字段0:展示;1:隐藏;】 */
const getCrowdfundingOrderConfig = (params = {}) => {
params.method = 'scrm.api.shopmall.crowd.funding.order.config'
params.requestType = 1 //0:门店;1:运营版
return http({
url: '/rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
export default { getMerchantGoodsListApi, getGoodsListApi, uploadImgApi, uploadMusicApi, uploadVideoApi, uploadFundingVideoApi, getMerchantList, getSimpleMerchantList, getZoneListApi, getClassifyListApi, pictureUpload, querylabeltree, getCrowdTreeListApi, getStaffFollowerListApi, getMerchantInfoApi, getMerchantStaff, getCrowdfundingOrderConfig }
...@@ -199,4 +199,16 @@ const importCrowdFundingOrder = params => { ...@@ -199,4 +199,16 @@ const importCrowdFundingOrder = params => {
}) })
} }
export default { getInstallInfo, orderVerfication, signerOrder, getListApi, getCountApi, getOrderDetailApi, orderExportApi, writeOffApi, crowdFundWriteOffApi, crowdFundRefundApi, addDeliveryApi, examineDetailApi, examineAllowApi, confirmReceiptGoodsApi, updateOrderType, batchRefundOrder, importCrowdFundingOrder } /**营销状态设为已完结 */
const finishOrderStatus = params => {
params.method = 'scrm.api.shopmall.weapp.order.status.finish'
return http({
url: '/rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true,
returnAll: true
})
}
export default { getInstallInfo, orderVerfication, signerOrder, getListApi, getCountApi, getOrderDetailApi, orderExportApi, writeOffApi, crowdFundWriteOffApi, crowdFundRefundApi, addDeliveryApi, examineDetailApi, examineAllowApi, confirmReceiptGoodsApi, updateOrderType, batchRefundOrder, importCrowdFundingOrder, finishOrderStatus }
...@@ -22,7 +22,12 @@ ...@@ -22,7 +22,12 @@
</el-popover> </el-popover>
</div> </div>
<div slot="linkText" slot-scope="scope"> <div slot="linkText" slot-scope="scope">
<p class="cursor-pointer" @click="handleDetail(scope)">{{ scope.scope[scope.prop] || 0 }}</p> <template v-if="scope.scope.incrementFlag == 'Y'">
{{scope.scope[scope.prop] || 0 }}
</template>
<template v-else>
<p class="cursor-pointer" @click="handleDetail(scope)">{{ scope.scope[scope.prop] || 0 }}</p>
</template>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
......
...@@ -1205,6 +1205,7 @@ export default { ...@@ -1205,6 +1205,7 @@ export default {
selectVehicleTypeFlag: 2, selectVehicleTypeFlag: 2,
selectPhoneNumberFlag: 2, selectPhoneNumberFlag: 2,
businessType: 2, //业务场景 businessType: 2, //业务场景
orderEndDays: 30, //订单完结时间天数
formDescribeCheck: ['selectCarNumberFlag', 'selectVehicleTypeFlag', 'selectPhoneNumberFlag'], formDescribeCheck: ['selectCarNumberFlag', 'selectVehicleTypeFlag', 'selectPhoneNumberFlag'],
activityServices: [], activityServices: [],
activityCommoditys: [], activityCommoditys: [],
...@@ -1393,6 +1394,18 @@ export default { ...@@ -1393,6 +1394,18 @@ export default {
addHtml: 'goodsHtml' addHtml: 'goodsHtml'
}, },
{ {
label: '订单完结时间天数',
name: 'orderEndDays',
type: 'select',
optionList: [
{ confId: 30, confName: '30天' },
{ confId: 60, confName: '60天' },
{ confId: 90, confName: '90天' },
],
optionId: 'confId',
optionLabel: 'confName',
},
{
label: '关联产品类目项', label: '关联产品类目项',
name: 'goodsCategory', name: 'goodsCategory',
type: 'select', type: 'select',
...@@ -2109,7 +2122,7 @@ export default { ...@@ -2109,7 +2122,7 @@ export default {
// this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].forbidEdit() // this.$refs.configEditFormRef.$refs.activityDetailTextBox[0].forbidEdit()
this.isDisabled = this.routeInfo.addOrEdit != 'add' this.isDisabled = this.routeInfo.addOrEdit != 'add'
this.editFormData.map(item => { this.editFormData.map(item => {
if (!['activityName', 'activityImg', 'promotion'].includes(item.name)) this.changeFormAttr('editFormData', 'isDisabled', [item.label], true) if (!['activityName', 'activityImg', 'promotion','orderEndDays'].includes(item.name)) this.changeFormAttr('editFormData', 'isDisabled', [item.label], true)
}) })
this.changeFormAttr('configEditFormData', 'isDisabled', ['账户类型', '定金收款账户'], true) this.changeFormAttr('configEditFormData', 'isDisabled', ['账户类型', '定金收款账户'], true)
} }
...@@ -2774,7 +2787,6 @@ export default { ...@@ -2774,7 +2787,6 @@ export default {
}) })
}, },
getCouponInfoParams () { getCouponInfoParams () {
var _this = this var _this = this
var param = this.$common.utils.deepClone(this.editForm) var param = this.$common.utils.deepClone(this.editForm)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!