Commit 871a2512 by 王志慧

commit

1 parent ad11d9dd
......@@ -178,11 +178,16 @@ export function purchaseOrderPutIn(params) {
})
}
// 获取下单/入库门店
// export function getMerchantList(data) {
// params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
// data.routerMethod = `${path3}permission.yqMerchant.list`
// return http(data, "post")
// }
export function getMerchantList(params) {
params.method = `scrm.api.boutiquecoupon.rop.router.twoCityTale`
params.routerMethod = `${path3}permission.yqMerchant.list`
return http({
url: 'rop-scrm-boutiquecoupon/router',
method: 'POST',
data: params,
sign: true
})
}
......@@ -193,4 +198,4 @@ export function purchaseOrderPutIn(params) {
// return http(data)
// }
export default { purchaseOrderPutIn,exportExcel, shoppingCarUpdateNumber, purchaseOrderAdd, shoppingCarAdd, shoppingCarRemove, updateSelectedFlag, listGroupByGoodsType, getPurchaseOrderList, purchaseOrderCancelOrCheck, purchaseOrderDetail, listWithPagePurchaseInfo, addressGet, addressSave }
\ No newline at end of file
export default { getMerchantList,purchaseOrderPutIn, exportExcel, shoppingCarUpdateNumber, purchaseOrderAdd, shoppingCarAdd, shoppingCarRemove, updateSelectedFlag, listGroupByGoodsType, getPurchaseOrderList, purchaseOrderCancelOrCheck, purchaseOrderDetail, listWithPagePurchaseInfo, addressGet, addressSave }
\ No newline at end of file
......@@ -136,10 +136,9 @@ export default {
this.goodsDetailComVisible = true
const list = this.$common.utils.deepClone(this.purchaseList)
this.purchaseList = list.map((item, itemIndex) => {
item.active = itemIndex == index
item.active = itemIndex == index
return item
})
},
listWithPagePurchaseInfo() {
......@@ -178,7 +177,10 @@ export default {
this.$apis.purchaseShopping
.addressGet()
.then(result => {
if (result) {
this.addressInfo = result
}
if (this.showOrderCom) {
this.showOrderCom = false
this.$refs.shoppingCartCom.validateGoodsNumber()
......@@ -245,7 +247,7 @@ export default {
padding: 8px 8px 16px;
&.active {
border: 1px solid #185efe;
border: 1px solid #5850ff;
}
.img {
......@@ -268,7 +270,7 @@ export default {
.viewPurchase {
font-size: 14px;
color: #185efe;
color: #5850ff;
}
}
......@@ -314,7 +316,7 @@ export default {
align-items: center;
margin-left: auto;
font-size: 14px;
color: #185efe;
color: #5850ff;
}
.editIcon {
......@@ -367,6 +369,9 @@ export default {
width: 670px !important;
min-width: 670px;
}
/deep/ .name {
width: 20px !important;
}
}
::v-deep.classifyContainer {
......
......@@ -50,7 +50,7 @@
</div>
<!-- <i class="carIcon"></i> -->
</div>
<h3>产品详情</h3>
<h3 style="margin-top:20px;">产品详情</h3>
<div class="goodsDescList">
<div class="goodsDescItem" v-for="(item, index) in goodsInfo.goodsDescList" :key="index">
<img :src="item.content" v-if="item.resType == 1" class="productDetailsImg" alt="" />
......@@ -119,7 +119,7 @@ export default {
watch: {
visible(val) {
if (val) {
this.handleItemInfo.goodsNumber = 1
this.handleItemInfo.goodsNumber = 1
this.getGoodsDetail()
}
}
......@@ -221,6 +221,7 @@ export default {
font-weight: 600;
font-size: 30px;
color: #ee3040;
margin-left:8px;
}
}
......@@ -287,5 +288,10 @@ export default {
.carBtn {
display: flex;
align-items: center;
width: 168px;
height: 40px;
margin-left:18px;
background: #185efe;
border-radius: 4px;
}
</style>
......@@ -419,7 +419,7 @@ li {
width: 52px;
height: 158px;
box-sizing: border-box;
background: #185efe;
background: #5850ff;
box-shadow: 0 9px 28px 8px #0000000d, 0 6px 16px 0 #00000014, 0 3px 6px -4px #0000001f;
border-radius: 4px;
......@@ -440,7 +440,7 @@ li {
height: 14px;
border-radius: 7px;
padding: 1px 4px 0;
color: #185efe;
color: #5850ff;
background: #ffffff;
font-size: 10px;
// width: 100%;
......
......@@ -120,25 +120,25 @@ export default {
type: 'datePicker',
isClear: true,
pickerOptions: 'beforeRangePickerOptions'
},
{
label: '下单门店',
name: 'merchantId',
type: 'select',
optionList: [],
optionId: 'merchantNo',
optionLabel: 'merchantName',
optionsName: 'merchantName'
},
{
label: '入库门店',
name: 'putMerchantId',
type: 'select',
optionList: [],
optionId: 'merchantNo',
optionLabel: 'merchantName',
optionsName: 'merchantName'
}
// {
// label: '下单门店',
// name: 'merchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// },
// {
// label: '入库门店',
// name: 'putMerchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// }
],
// 表格
getListApi: this.$apis.purchaseShopping.getPurchaseOrderList,
......@@ -156,7 +156,8 @@ export default {
prop: 'totalPrice',
formatter: cellValue => {
return '¥' + cellValue.totalPrice
}
},
width: 100
},
{
label: '下单时间',
......@@ -164,35 +165,40 @@ export default {
formatter: cellValue => {
return dayjs(cellValue.orderTime).format('YYYY-MM-DD HH:mm:ss')
},
width: 150
width: 180
},
{
label: '下单门店',
prop: 'merchantName'
prop: 'merchantName',
minWidth: 150
},
{
label: '发货状态',
prop: 'deliveryStatus',
addHtml: 'deliveryStatus'
addHtml: 'deliveryStatus',
width: 120
},
{
label: '承运公司',
prop: 'deliveryCompany',
formatter: cellValue => {
return cellValue.deliveryCompany || '--'
}
},
minWidth: 120
},
{
label: '承运单号',
prop: 'deliveryNumber',
formatter: cellValue => {
return cellValue.deliveryNumber || '--'
}
},
width: 120
},
{
label: '入库状态',
prop: 'putStatus',
addHtml: 'putStatus'
addHtml: 'putStatus',
width: 120
},
{
label: '入库时间',
......@@ -200,11 +206,13 @@ export default {
formatter: cellValue => {
return cellValue.putTime ? dayjs(cellValue.putTime).format('YYYY-MM-DD HH:mm:ss') : '--'
},
width: 150
width: 180
},
{
label: '入库门店',
prop: 'putMerchantName',
line: 1,
width: 150,
formatter: cellValue => {
return cellValue.putMerchantName || '--'
}
......@@ -212,11 +220,12 @@ export default {
{
label: '订单状态',
prop: 'status',
addHtml: 'status'
addHtml: 'status',
width: 120
},
{
{
label: '操作',
width: '220px',
width: '180px',
addHtml: 'auth-button'
}
]
......@@ -226,13 +235,17 @@ export default {
baseData: {
defaultStatusOptions: defaultStatusOptions,
defaultDeliveryStatusOptions: defaultDeliveryStatusOptions,
defaultPutStatusOptions: defaultPutStatusOptions
defaultPutStatusOptions: defaultPutStatusOptions,
merchantName: []
}
}
},
mounted() {
this.getOptionsList('showFormData')
this.$apis.purchaseShopping.getMerchantList({}).then(res => {
this.baseData.merchantName = res
this.getOptionsList('showFormData')
})
},
methods: {
......@@ -395,5 +408,9 @@ export default {
@include dot;
background: $color-gray;
}
.table-btns /deep/.el-button--text {
min-width: 0 !important;
padding: 0;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!