+
+
@@ -36,8 +37,8 @@ export default {
height: 414px;
overflow: auto;
}
-.ivu-table-wrapper ivu-table-wrapper-with-border{
- height: 300px !important;
+.ivu-table-wrapper ivu-table-wrapper-with-border {
+ height: 300px !important;
}
.list {
margin: 0 1.5%;
diff --git a/manager/src/views/lili-floor-renovation/renovation.vue b/manager/src/views/lili-floor-renovation/renovation.vue
index 48ff7743..a0ec292d 100644
--- a/manager/src/views/lili-floor-renovation/renovation.vue
+++ b/manager/src/views/lili-floor-renovation/renovation.vue
@@ -52,6 +52,8 @@ export default {
pageData: modelForm,
pageShow,
};
+ console.log(this.modelForm);
+
API_floor.updateHome(this.$route.query.id, data).then((res) => {
if (res.success) {
this.$Message.success("保存模板成功");
diff --git a/seller/docker.sh b/seller/docker.sh
index 0ea021cd..c81e65bf 100644
--- a/seller/docker.sh
+++ b/seller/docker.sh
@@ -1 +1 @@
-docker build -t registry.cn-beijing.aliyuncs.com/lili-images/seller-ui-1.0.1:0.0.4 .
+docker build -t registry.cn-beijing.aliyuncs.com/lili-images/seller-ui-4.2.0:0.0.2 .
diff --git a/seller/src/api/order.js b/seller/src/api/order.js
index ce14778d..60872d72 100644
--- a/seller/src/api/order.js
+++ b/seller/src/api/order.js
@@ -12,6 +12,10 @@ export const verificationCode = verificationCode => {
export const downLoadDeliverExcel = params => {
return getRequest(`/orders/downLoadDeliverExcel`, params, 'blob');
};
+// 导出待发货订单
+export const queryExportOrder = params => {
+ return getRequest(`/orders/queryExportOrder`, params);
+};
// 上传待发货的订单列表
diff --git a/seller/src/config/index.js b/seller/src/config/index.js
index 53b93578..8dfd55fa 100644
--- a/seller/src/config/index.js
+++ b/seller/src/config/index.js
@@ -18,10 +18,14 @@ export default {
* @description api请求基础路径
*/
api_dev: {
- common: 'https://common-api.pickmall.cn',
- buyer: 'https://buyer-api.pickmall.cn',
- seller: 'https://store-api.pickmall.cn',
- manager: 'https://admin-api.pickmall.cn',
+ // common: 'https://common-api.pickmall.cn',
+ // buyer: 'https://buyer-api.pickmall.cn',
+ // seller: 'https://store-api.pickmall.cn',
+ // manager: 'https://admin-api.pickmall.cn',
+ common: 'http://192.168.0.109:8890',
+ buyer: 'http://192.168.0.109:8888',
+ seller: 'http://192.168.0.109:8889',
+ manager: 'http://192.168.0.109:8887'
},
api_prod: {
diff --git a/seller/src/views/lili-components/multiple-region.vue b/seller/src/views/lili-components/multiple-region.vue
index fe01cabf..bb9c8bf4 100644
--- a/seller/src/views/lili-components/multiple-region.vue
+++ b/seller/src/views/lili-components/multiple-region.vue
@@ -22,6 +22,11 @@ export default {
this.init();
},
methods: {
+ clear() {
+ this.data = [];
+ this.selectedWay = [];
+ this.init();
+ },
/**
* 关闭
*/
@@ -50,30 +55,66 @@ export default {
// console.warn(this.$store.state.shipTemplate);
// 禁止选中的地址
+
+ let checkData = [];
let disabledData = checkedData.filter((item, i) => {
- return i != index;
+ if (i != index) {
+ return i != index;
+ } else {
+ checkData.push(item);
+ }
});
+ // 选中
+ checkData.forEach((check) => {
+ // 循环出已经选中的地址id
+ check.areaId.split(",").forEach((ids) => {
+ this.data.forEach((item) => {
+ // 如果当前省份下市区全部选中则选中该省份
+ if (check.selectedAll) {
+ check.area.split(",").forEach((area) => {
+ if (area == item.name) {
+ this.$set(item, "checked", true);
+ }
+ });
+ }
+
+ // 将市区继续循环
+ item.children.forEach((child, childIndex) => {
+ // 判断当前市区是否是已选中状态
+ if (item.checked) {
+ this.$set(child, "checked", true);
+ }
+ if (child.id == ids) {
+ this.$set(child, "checked", true);
+ }
+ });
+ });
+ });
+ });
+
+ // 禁用
disabledData.forEach((dis) => {
- console.log(dis)
// 循环出已经选中的地址id
dis.areaId.split(",").forEach((ids) => {
// 循环出省份
this.data.forEach((item) => {
- // 如果当前省份下市区全部选中则选中该省份
-
+ // 如果当前省份下市区全部选中则禁用该省份
if (dis.selectedAll) {
dis.area.split(",").forEach((area) => {
if (area == item.name) {
- console.log(item.name +"选中")
this.$set(item, "disabled", true);
}
});
}
// 将市区继续循环
item.children.forEach((child, childIndex) => {
- // 判断当前市区是否是已选中状态
- if (child.id == ids) {
+ // 判断当前市区是否是已禁用状态
+ if (item.disabled) {
this.$set(child, "disabled", true);
+ } else {
+ if (child.id == ids) {
+ this.$set(child, "disabled", true);
+ }
}
});
});
diff --git a/seller/src/views/order/order/orderDetail.vue b/seller/src/views/order/order/orderDetail.vue
index 4519ad62..57c72e5e 100644
--- a/seller/src/views/order/order/orderDetail.vue
+++ b/seller/src/views/order/order/orderDetail.vue
@@ -63,7 +63,7 @@
发票金额:
-
{{ orderInfo.receipt.receiptPrice ? orderInfo.receipt.receiptPrice : '暂无' | unitPrice('¥')}}
+
¥{{ orderInfo.receipt.receiptPrice ? orderInfo.receipt.receiptPrice : '暂无' | unitPrice}}
diff --git a/seller/src/views/order/order/orderList.vue b/seller/src/views/order/order/orderList.vue
index c577c26c..599dc2cb 100644
--- a/seller/src/views/order/order/orderList.vue
+++ b/seller/src/views/order/order/orderList.vue
@@ -30,8 +30,19 @@
+
+
+
-
+
@@ -43,11 +54,16 @@