- 新建收货地址
-
+ size="mini"
+ @click="handleAddAddress"
+ type="primary"
+ class="primary-lease"
+ >
+ 新建收货地址
+
-
-
-
-
-
-
- {{ `${row.provinceName}${row.cityName}${row.areaName}${row.address}` }}
-
-
-
-
-
- 编辑
-
-
-
-
-
+
+
+
+
+
+
+ {{ `${row.provinceName}${row.cityName}${row.areaName}${row.address}` }}
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
-
-
+
+
{
+ delAddressApi(id).then(res => {
+ this.$message({
+ type: 'success',
+ message: '操作成功!'
+ })
+ this.getLeaseListData()
+ })
+ })
+ },
+
// 编辑地址
async onRepublish(row) {
this.dialogTitle = '编辑收货地址'
@@ -282,7 +311,7 @@ export default {
// 提交表单
async onSubmit(type) {
- this.$refs.addOrEditFormRef.validate(async (valid) => {
+ this.$refs.addOrEditFormRef.validate(async(valid) => {
if (valid) {
const SUBMIT_API = this.dialogTitle === '新增收货地址'
? addAddressInfoApi
@@ -331,19 +360,20 @@ export default {
},
// 区县变化
- async onCountyChange(id) {},
+ async onCountyChange(id) {
+ },
// 审核处理
onAuditing(id, leaseStatus) {
MessageBox.confirm(`是否${leaseStatus === 1 ? '通过' : '驳回'}此次接单申请?`, '温馨提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
- type: 'success',
+ type: 'success'
})
- .then(async () => {
+ .then(async() => {
const res = await maLeaseAuditApi({
id,
- leaseStatus,
+ leaseStatus
})
if (res.code == 200) {
Message({
@@ -354,7 +384,8 @@ export default {
this.getLeaseListData()
}
})
- .catch(() => {})
+ .catch(() => {
+ })
}
},
mounted() {
@@ -368,13 +399,16 @@ export default {
::v-deep .upload-tip .el-form-item__label {
color: transparent;
}
+
.el-pagination {
justify-content: flex-end;
padding: 5px 0;
}
+
::v-deep .el-pagination.is-background .el-pager li.is-active {
background-color: #3cb4a6;
}
+
::v-deep .el-form--inline .el-form-item {
margin-right: 6px;
width: 95%;
@@ -416,10 +450,12 @@ export default {
}
}
}
+
.img-items:hover .mask-img {
visibility: visible;
}
}
+
.app-container-content {
::v-deep .el-dialog {
display: flex !important;
@@ -430,10 +466,12 @@ export default {
left: 50% !important;
transform: translate(-50%, -50%) !important;
max-height: 100vh !important;
+
.el-dialog__body {
flex: 1;
overflow-y: scroll !important;
}
+
.dialog-content {
padding: 20px;
}
@@ -441,30 +479,30 @@ export default {
}
::v-deep .el-table {
- // 启用斑马纹
- &.el-table--striped .el-table__body {
- tr.el-table__row--striped td {
- background-color: #F6FBFA !important; // 浅紫色
- }
- }
-
- .el-table__header {
- background: #E9F0EE;
-
- th {
- background: #E9F0EE !important;
- color: #606266;
- font-weight: 600;
- height: 50px;
- }
- }
-
- &.el-table--striped .el-table__body tr.el-table__row:hover>td.el-table__cell {
- background-color: #CCF1E9 !important;
+ // 启用斑马纹
+ &.el-table--striped .el-table__body {
+ tr.el-table__row--striped td {
+ background-color: #F6FBFA !important; // 浅紫色
}
}
- .content-box {
+ .el-table__header {
+ background: #E9F0EE;
+
+ th {
+ background: #E9F0EE !important;
+ color: #606266;
+ font-weight: 600;
+ height: 50px;
+ }
+ }
+
+ &.el-table--striped .el-table__body tr.el-table__row:hover > td.el-table__cell {
+ background-color: #CCF1E9 !important;
+ }
+}
+
+.content-box {
border-radius: 8px;
height: calc(100vh - 120px);
display: flex;
@@ -504,7 +542,7 @@ export default {
padding-top: 6px;
margin-top: auto;
- ::v-deep .pagination-container {
+ ::v-deep .pagination-container {
padding: 0px 20px !important;
/* margin-bottom: 30px; */
}
@@ -529,7 +567,7 @@ export default {
}
}
- &.el-table--striped .el-table__body tr.el-table__row:hover>td.el-table__cell {
+ &.el-table--striped .el-table__body tr.el-table__row:hover > td.el-table__cell {
background-color: #CCF1E9 !important;
}
}
diff --git a/src/views/business/outbound/details.vue b/src/views/business/outbound/details.vue
index e653a97b..34d9f3f4 100644
--- a/src/views/business/outbound/details.vue
+++ b/src/views/business/outbound/details.vue
@@ -154,9 +154,9 @@
-
-
-
+
+
+
@@ -441,7 +441,7 @@ export default {
},
handleOutAll() {
- this.$confirm('是否确定全部取消出库?', '提示', {
+ this.$confirm('是否确定全部出库?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'