Commit 2e4cae78 by wangql

提交代码

1 parent 9ab6674f
import request from './request'
const path = 'dj.api.smartcarlife.'
//出库订单查询
export function getIssueOrder(data) {
data.method = `${path}goodsOrder.getIssueOrder`
return request(data, 'post')
}
//erp订单查询
export function getErpOrderDetail(data) {
data.method = `${path}goodsOrder.getErpOrderDetail`
return request(data, 'post')
}
//替换升级产品查询
export function getReplaceUpgrade(data) {
data.method = `${path}goodsOrder.getReplaceUpgrade`
return request(data, 'post')
}
//erp销售升级订单
export function ErpUpgradeSales(data) {
data.method = `${path}goodsOrder.ErpUpgradeSales`
return request(data, 'post')
}
...@@ -145,6 +145,10 @@ ...@@ -145,6 +145,10 @@
<!-- <span style="position: absolute; right: 41px; top: 42px; z-index: 999;"> --> <!-- <span style="position: absolute; right: 41px; top: 42px; z-index: 999;"> -->
<el-button type="primary" <el-button type="primary"
size="mini" size="mini"
style="padding:0px 13px;height:30px;margin-top:6px"
@click="exWarehouse">出库</el-button>&nbsp;
<el-button type="primary"
size="mini"
icon="el-icon-download" icon="el-icon-download"
style="padding:0px 13px;height:30px;margin-top:6px" style="padding:0px 13px;height:30px;margin-top:6px"
v-if="userInfo.beSuper" v-if="userInfo.beSuper"
...@@ -867,8 +871,9 @@ export default { ...@@ -867,8 +871,9 @@ export default {
}, },
exWarehouse(row) { exWarehouse(row) {
// this.orderId = row.orderCode
this.orderId = '2203150922321960'
this.warehouseVisible = true this.warehouseVisible = true
this.orderId = row.orderCode
}, },
handleDrawerClose(isExamineOp) { handleDrawerClose(isExamineOp) {
......
<!-- 查看详情 --> <!-- 查看详情 -->
<template> <template>
<el-drawer size="60%" <el-drawer size="60%"
class="drawerContainer"
:with-header="false" :with-header="false"
:visible.sync="drawerDetailVisible" :visible.sync="drawerDetailVisible"
:before-close="handleDrawerClose"> :before-close="handleDrawerClose">
...@@ -221,86 +222,87 @@ export default { ...@@ -221,86 +222,87 @@ export default {
} }
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.el-drawer__body { ::v-deep.drawerContainer {
.el-drawer__body {
overflow: scroll; overflow: scroll;
} }
.d2-drawer-content .close-icon { .d2-drawer-content .close-icon {
font-size: 24px; font-size: 24px;
height: 22px; height: 22px;
line-height: 22px; line-height: 22px;
cursor: pointer; cursor: pointer;
} }
.d2-drawer-content .d2-drawer-block { .d2-drawer-content .d2-drawer-block {
border-bottom: 1px solid #e7eaec; border-bottom: 1px solid #e7eaec;
padding: 0 20px 20px; padding: 0 20px 20px;
margin-bottom: 20px; margin-bottom: 20px;
background: #ffffff; background: #ffffff;
} }
.d2-drawer-content .d2-drawer-block.title-block { .d2-drawer-content .d2-drawer-block.title-block {
position: relative; position: relative;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 20px 20px; padding: 20px 20px;
background: #ffffff; background: #ffffff;
} }
.d2-drawer-block .d2-drawer-item { .d2-drawer-block .d2-drawer-item {
width: 47%; width: 47%;
margin-bottom: 0; margin-bottom: 0;
} }
.d2-drawer-block .d2-drawer-row { .d2-drawer-block .d2-drawer-row {
width: 100%; width: 100%;
margin-bottom: 0; margin-bottom: 0;
} }
.parentGoods { .parentGoods {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
font-size: 18px; font-size: 18px;
color: #333333; color: #333333;
line-height: 28px; line-height: 28px;
font-weight: 600; font-weight: 600;
} }
.parent-type { .parent-type {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 16px; font-size: 16px;
color: #666666; color: #666666;
line-height: 24px; line-height: 24px;
font-weight: 400; font-weight: 400;
padding-left: 15px; padding-left: 15px;
} }
.car-txt .examineP { .car-txt .examineP {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 16px; font-size: 16px;
margin-left: auto; margin-left: auto;
margin-right: 40px; margin-right: 40px;
padding: 3px; padding: 3px;
} }
.d2-drawer-content .child-drawer-block { .d2-drawer-content .child-drawer-block {
border-bottom: 1px solid #e7eaec; border-bottom: 1px solid #e7eaec;
padding: 20px 20px 20px; padding: 20px 20px 20px;
margin-bottom: 20px; margin-bottom: 20px;
background: #ffffff; background: #ffffff;
margin: 10px 8px 0 10px; margin: 10px 8px 0 10px;
} }
.child-drawer-block .d2-drawer-item { .child-drawer-block .d2-drawer-item {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 14px; font-size: 14px;
color: #333333; color: #333333;
font-weight: 400; font-weight: 400;
width: 30%; width: 30%;
margin: 0 0 0 0; margin: 0 0 0 0;
} }
/* .child-drawer-block .d2-drawer-row { /* .child-drawer-block .d2-drawer-row {
width: 100%; width: 100%;
margin-bottom: 0; margin-bottom: 0;
} */ } */
.child-drawer-block .car-sub-head { .child-drawer-block .car-sub-head {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
font-size: 16px; font-size: 16px;
color: #333333; color: #333333;
line-height: 24px; line-height: 24px;
font-weight: 600; font-weight: 600;
} }
.timeline-item_wrapper { .timeline-item_wrapper {
.el-form-item__content { .el-form-item__content {
width: calc(100% - 110px); width: calc(100% - 110px);
} }
...@@ -313,18 +315,19 @@ export default { ...@@ -313,18 +315,19 @@ export default {
.el-timeline-item__timestamp.is-bottom { .el-timeline-item__timestamp.is-bottom {
margin-top: 0; margin-top: 0;
} }
} }
.timeline-item_wrapper .el-timeline-item__tail { .timeline-item_wrapper .el-timeline-item__tail {
position: absolute; position: absolute;
left: 4px; left: 4px;
height: 100%; height: 100%;
top: 8px; top: 8px;
border-left: 2px solid #e4e7ed; border-left: 2px solid #e4e7ed;
} }
.timeline-item_wrapper .el-timeline-item__node--normal { .timeline-item_wrapper .el-timeline-item__node--normal {
left: -1px; left: -1px;
top: 8px; top: 8px;
width: 12px; width: 12px;
height: 12px; height: 12px;
}
} }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!