diff --git a/seller/src/views/shop/ship/logistics.vue b/seller/src/views/shop/ship/logistics.vue
index 386777ee..4737cd4e 100644
--- a/seller/src/views/shop/ship/logistics.vue
+++ b/seller/src/views/shop/ship/logistics.vue
@@ -1,81 +1,45 @@
-
+
是否需要电子面单
-
-
- 需要
-
-
- 不需要
-
-
-
+
+
+
+
+
+
请输入详细信息
-
+
@@ -140,9 +104,9 @@ export default {
sortable: true,
render: (h, params) => {
if (!params.row.selected) {
- return h("div", [h("tag", {props: {color: "volcano"}}, "关闭")]);
+ return h("div", [h("tag", { props: { color: "volcano" } }, "关闭")]);
} else {
- return h("div", [h("tag", {props: {color: "green"}}, "开启")]);
+ return h("div", [h("tag", { props: { color: "green" } }, "开启")]);
}
}
},
@@ -215,19 +179,25 @@ export default {
},
],
data: [], // 表单数据
- onpenText: false,
+ openText: false,
};
},
+ watch: {
+ 'faceSheetForm.faceSheetFlag'(val) {
+ this.openText = val ? true : false
+ console.log(this.openText )
+ }
+ },
methods: {
//获取状态
getfaceSheetFlag(e) {
-
+ console.log(e);
if (e === true) {
-
- this.onpenText = true;
+ console.log("打开");
+ this.openText = true;
} else {
-
- this.onpenText = false;
+ console.log("关闭");
+ this.openText = false;
}
},
// 初始化数据
@@ -245,7 +215,7 @@ export default {
});
this.loading = false;
},
- cancelModal(){
+ cancelModal() {
this.faceSheetFlag = false;
this.faceSheetForm.faceSheetFlag = false;
},
@@ -255,9 +225,9 @@ export default {
this.openModal = true;
this.searchForm.faceSheetFlag = "false"; //开弹框 等于v
if (this.searchForm.faceSheetFlag == "true") {
- this.onpenText = true;
+ this.openText = true;
} else {
- this.onpenText = false;
+ this.openText = false;
}
},
//修改
@@ -270,10 +240,10 @@ export default {
// this.searchForm = res.result.recordes;
this.faceSheetForm.faceSheetFlag = res.result.faceSheetFlag; //开弹框 等于v
if (this.faceSheetForm.faceSheetFlag === true) {
- this.onpenText = true;
+ this.openText = true;
} else {
this.faceSheetForm.faceSheetFlag = false
- this.onpenText = false;
+ this.openText = false;
}
this.faceSheetForm.customerName = res.result.customerName;
this.faceSheetForm.customerPwd = res.result.customerPwd;
@@ -303,7 +273,7 @@ export default {
},
submit() {
- if ( !this.row.selected) {
+ if (!this.row.selected) {
API_Shop.logisticsChecked(
this.row.logisticsId,
this.faceSheetForm
@@ -349,7 +319,7 @@ export default {
diff --git a/seller/src/views/shop/shopSetting.vue b/seller/src/views/shop/shopSetting.vue
index 85aa5d25..2f0ccc1a 100644
--- a/seller/src/views/shop/shopSetting.vue
+++ b/seller/src/views/shop/shopSetting.vue
@@ -272,8 +272,6 @@ import liliMap from "@/views/my-components/map/index";
import regionMap from "@/views/lili-components/region";
import * as RegExp from "@/libs/RegExp.js";
import Cookies from "js-cookie";
-import {editDeliverAddress, getDeliverAddress} from "../../api/shops";
-
export default {
name: "shopSetting",
components: {
@@ -298,7 +296,7 @@ export default {
},
//库存预警form
stockWarningForm: {
- stockWarning: "", // 库存预警数量
+ stockWarning: 0, // 库存预警数量
},
//im form
udeskForm: {
@@ -458,7 +456,7 @@ export default {
Cookies.set("userInfoSeller", JSON.stringify(res.result));
//库存预警数赋值
this.$nextTick(() => {
- this.stockWarningForm.stockWarning = res.result.stockWarning + "";
+ this.stockWarningForm.stockWarning = res.result.stockWarning;
});
if (res.result.merchantEuid) {
//赋予坐席id
@@ -479,7 +477,6 @@ export default {
API_Shop.getDeliverAddress().then(res=>{
if(res.success){
if(res.result!= '' && res.result != null){
- console.log(89898999998)
this.addressGoods = res.result;
this.regionGoods = res.result.salesConsignorAddressPath;
this.regionIdS = res.result.salesConsignorAddressId;