diff --git a/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue b/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue index 91911629..7dc84ccb 100644 --- a/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue +++ b/buyer/src/pages/home/orderCenter/ApplyAfterSale.vue @@ -165,6 +165,7 @@ export default { let params = Object.assign(this.info, this.form) params.images = this.uploadList.toString() params.orderItemSn = this.$route.query.sn + params.reason = this.reasonList.find(item => item.id == params.reason).reason applyAfterSale(params).then(res => { if (res.success) { this.$Message.success('售后申请提交成功,请到售后订单查看!') diff --git a/manager/src/views/goods-unit/index.vue b/manager/src/views/goods-unit/index.vue index 57f1131d..b55c1245 100644 --- a/manager/src/views/goods-unit/index.vue +++ b/manager/src/views/goods-unit/index.vue @@ -220,6 +220,12 @@ export default { this.submitLoading = true; if (this.modalTitle == "添加") { + + if(this.data.find(item=>item.name == this.form.name)){ + this.$Message.error('请勿添加重复计量单位!') + this.submitLoading = false + return + } // 添加 避免编辑后传入id等数据 记得删除 delete this.form.id; addGoodsUnit(this.form).then((res) => { diff --git a/manager/src/views/goods/goods-manage/spec.vue b/manager/src/views/goods/goods-manage/spec.vue index 267e0a37..ce331a27 100644 --- a/manager/src/views/goods/goods-manage/spec.vue +++ b/manager/src/views/goods/goods-manage/spec.vue @@ -264,6 +264,11 @@ export default { if (valid) { this.submitLoading = true; if (this.modalType === 0) { + if(this.data.find(item=>item.specName == this.form.specName)){ + this.$Message.error('请勿添加重复规格名称!') + this.submitLoading = false + return + } // 添加 避免编辑后传入id等数据 delete this.form.id; insertSpec(this.form).then((res) => { diff --git a/manager/src/views/logistics/index.vue b/manager/src/views/logistics/index.vue index 79a49592..65eee380 100644 --- a/manager/src/views/logistics/index.vue +++ b/manager/src/views/logistics/index.vue @@ -13,7 +13,7 @@ > - +

diff --git a/manager/src/views/sys/department-manage/departmentManage.vue b/manager/src/views/sys/department-manage/departmentManage.vue index afc2e4ec..f497b4f3 100644 --- a/manager/src/views/sys/department-manage/departmentManage.vue +++ b/manager/src/views/sys/department-manage/departmentManage.vue @@ -1,4 +1,3 @@ -