From e7745f6fe00efea5b14861b36e15fe4f7964e1e3 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Mon, 20 May 2024 15:57:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=BF=85=E5=A1=AB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/goods/brands/brandsAdd.vue | 288 ++++++++-------- .../src/views/goods/category/categoryAdd.vue | 304 ++++++++++------- .../src/views/goods/factory/factoryAdd.vue | 238 ++++++++------ yxt-as-ui/src/views/goods/goods/goodsAdd2.vue | 75 +++-- yxt-as-ui/src/views/goods/unit/unitAdd.vue | 215 +++++------- .../goodsShelves/goodsShelvesAdd.vue | 290 +++++++++------- .../warehouseArea/warehouseAreaAdd.vue | 310 +++++++++++------- .../warehouseAreaTypeAdd.vue | 194 ++++++----- 8 files changed, 1032 insertions(+), 882 deletions(-) diff --git a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue index 1c77572048..4e68570c93 100644 --- a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue +++ b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue @@ -15,6 +15,61 @@
+ + + + + + +
* 品牌名称
+ + + +
+ + +
* 品牌代码
+ + + +
+ + +
* 首字母大写
+ + + +
+ +
+ + + + +
品牌备注
+ + + +
+ +
+ + + + +
品牌Logo
+ + + +
+ +
+ +
+ + - -
品牌Logo: -
- + -->
@@ -96,7 +128,24 @@ }, hideUploadBtn: false, - hideUploadBtn2: false + hideUploadBtn2: false, + rules: { + brandName: [{ + required: true, + message: '品牌名称不能为空', + trigger: 'blur' + }], + brandCode: [{ + required: true, + message: '品牌代码不能为空', + trigger: 'blur' + }], + letter: [{ + required: true, + message: '首字母大写不能为空', + trigger: 'blur' + }], + } } }, created() { @@ -122,48 +171,53 @@ saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) - if (this.formobj.brandName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "品牌名称不能为空" - }) - return - } + // if (this.formobj.brandName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "品牌名称不能为空" + // }) + // return + // } + + // if (this.formobj.brandCode == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "品牌代码不能为空" + // }) + // return + // } + + // if (this.formobj.letter == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "首字母大写不能为空" + // }) + // return + // } + this.$refs['form_obj'].validate((valid) => { + if (valid) { + req.saveBrands(this.formobj) + .then(resp => { + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } else { + // 根据resp.code进行异常情况处理 + } + }) + .catch(() => {}) + } + }) - if (this.formobj.brandCode == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "品牌代码不能为空" - }) - return - } - - if (this.formobj.letter == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "首字母大写不能为空" - }) - return - } - req.saveBrands(this.formobj) - .then(resp => { - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg - }) - this.handleReturn('true') - } else { - // 根据resp.code进行异常情况处理 - } - }) - .catch(() => {}) }, handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') @@ -211,93 +265,37 @@ } } - diff --git a/yxt-as-ui/src/views/goods/category/categoryAdd.vue b/yxt-as-ui/src/views/goods/category/categoryAdd.vue index 8583893cd6..fac57fb20c 100644 --- a/yxt-as-ui/src/views/goods/category/categoryAdd.vue +++ b/yxt-as-ui/src/views/goods/category/categoryAdd.vue @@ -3,7 +3,7 @@
-
类别信息
+
商品类别
保存 @@ -15,7 +15,92 @@
- + + + + +
选择父级类别
+ + + + + +
+ + + +
* 类别名称
+ + + +
+ + +
* 类别编码
+ + + +
+
+ + + + +
提成比例
+ + + +
+ + +
提成金额
+ + + +
+ + +
* 出库规则
+ + + + + +
+ +
+ + + + +
排序
+ + + +
+ + + +
备注
+ + + +
+ +
+ +
+ + +
@@ -96,6 +181,23 @@ }, goodsTypeList: [], outStockRuleList: [], + rules: { + goodsTypeName: [{ + required: true, + message: '类别名称不能为空', + trigger: 'blur' + }], + goodsTypeCode: [{ + required: true, + message: '类别编码不能为空', + trigger: 'blur' + }], + outStockRuleValue: [{ + required: true, + message: '请选择出库规则', + trigger: 'change' + }], + } } }, created() { @@ -126,57 +228,61 @@ saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) - if (this.formobj.goodsTypeName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "类别名称不能为空" - }) - return - } - - if (this.formobj.goodsTypeCode == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "类别编码不能为空" - }) - return - } - - if (this.formobj.outStockRule == '' || this.formobj.outStockRuleValue == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "请选择出库规则" - }) - return - } - - if (this.formobj.sortNo == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "类别排序不能为空" - }) - return - } - - - req.saveTypes(this.formobj) - .then(resp => { - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg + // if (this.formobj.goodsTypeName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "类别名称不能为空" + // }) + // return + // } + + // if (this.formobj.goodsTypeCode == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "类别编码不能为空" + // }) + // return + // } + + // if (this.formobj.outStockRule == '' || this.formobj.outStockRuleValue == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "请选择出库规则" + // }) + // return + // } + + // if (this.formobj.sortNo == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "类别排序不能为空" + // }) + // return + // } + + this.$refs['form_obj'].validate((valid) => { + if (valid) { + req.saveTypes(this.formobj) + .then(resp => { + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } else { + // 根据resp.code进行异常情况处理 + } }) - this.handleReturn('true') - } else { - // 根据resp.code进行异常情况处理 - } - }) - .catch(() => {}) + .catch(() => {}) + } + }) + }, handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') @@ -229,79 +335,37 @@ } } - diff --git a/yxt-as-ui/src/views/goods/factory/factoryAdd.vue b/yxt-as-ui/src/views/goods/factory/factoryAdd.vue index d4c8211ac8..e4c105ff4d 100644 --- a/yxt-as-ui/src/views/goods/factory/factoryAdd.vue +++ b/yxt-as-ui/src/views/goods/factory/factoryAdd.vue @@ -15,7 +15,48 @@
- + + + + + + +
* 厂家名称
+ + + +
+ + +
* 厂家编码
+ + + +
+
+ + + + +
* 排序
+ + + +
+ + +
备注
+ + + +
+
+ +
+ + +
@@ -58,6 +99,23 @@ createOrgSid: window.sessionStorage.getItem('orgSid'), userSid: window.sessionStorage.getItem('userSid'), }, + rules: { + manufacturerName: [{ + required: true, + message: '厂家名称不能为空', + trigger: 'blur' + }], + manufacturerCode: [{ + required: true, + message: '厂家编码不能为空', + trigger: 'blur' + }], + sortNo: [{ + required: true, + message: '排序不能为空', + trigger: 'blur' + }], + } } }, created() {}, @@ -66,47 +124,53 @@ saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) - if (this.formobj.manufacturerName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "厂家名称不能为空" - }) - return - } + // if (this.formobj.manufacturerName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "厂家名称不能为空" + // }) + // return + // } + + // if (this.formobj.manufacturerCode == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "厂家编码不能为空" + // }) + // return + // } + + // if (this.formobj.sortNo == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "厂家排序不能为空" + // }) + // return + // } + + this.$refs['form_obj'].validate((valid) => { + if (valid) { + req.saveFacturer(this.formobj) + .then(resp => { + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } else { + // 根据resp.code进行异常情况处理 + } + }) + .catch(() => {}) + } + }) - if (this.formobj.manufacturerCode == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "厂家编码不能为空" - }) - return - } - if (this.formobj.sortNo == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "厂家排序不能为空" - }) - return - } - - req.saveFacturer(this.formobj) - .then(resp => { - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg - }) - this.handleReturn('true') - } else { - // 根据resp.code进行异常情况处理 - } - }) - .catch(() => {}) }, handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') @@ -139,79 +203,37 @@ } } - diff --git a/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue b/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue index 5c8ea06f1c..2d53731e7a 100644 --- a/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue +++ b/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue @@ -36,14 +36,14 @@ -
商品条形码
+
条形码
-
商品拼音缩写
+
拼音缩写
@@ -95,19 +95,18 @@ -
* 商品品牌
+
* 品牌
- +
-
* 商品厂家
+
* 厂家
- @@ -118,7 +117,8 @@
原厂标志
- + @@ -130,17 +130,18 @@ -
* 商品排序
- - +
* 库存上限
+ +
-
商品备注
- - +
* 库存下限
+ +
@@ -148,22 +149,20 @@ - -
* 库存上限
- - + +
* 排序
+ +
-
* 库存下限
- - +
备注
+ +
-
@@ -171,7 +170,8 @@
锁定销售定价
- + @@ -208,7 +208,7 @@ -
规格图片
+
商品图片
@@ -259,13 +259,13 @@ "brandName": "", "manufacturerSid": "", "manufacturerName": "", - "isOriginalFactory": "", + "isOriginalFactory": "2", "isOriginalFactoryValue": "", "sortNo": "", "skuRemarks": "", "inventoryAlertUpperLimit": "", "inventoryAlertLowerLimit": "", - "isLockingSalesPrice": "", + "isLockingSalesPrice": "2", "isLockingSalesPriceValue": "", "minimumSalesPrice": "", "standardPurchasePrice": "", @@ -329,6 +329,19 @@ this.initData() }, methods: { + + selectIsOriginalFactory(val) { + console.log('selectIsOriginalFactory》》》》', val) + + this.formobj.isOriginalFactoryValue = val == '1' ? '是' : '否' + + }, + selectIsLockingSalesPrice(val) { + console.log('selectIsLockingSalesPrice》》》》', val) + + this.formobj.isLockingSalesPriceValue = val == '1' ? '是' : '否' + + }, initData() { var parpams = { orgPath: window.sessionStorage.getItem('defaultOrgPath'), @@ -397,13 +410,13 @@ "brandName": "", "manufacturerSid": "", "manufacturerName": "", - "isOriginalFactory": "", + "isOriginalFactory": "2", "isOriginalFactoryValue": "", "sortNo": "", "skuRemarks": "", "inventoryAlertUpperLimit": "", "inventoryAlertLowerLimit": "", - "isLockingSalesPrice": "", + "isLockingSalesPrice": "2", "isLockingSalesPriceValue": "", "minimumSalesPrice": "", "standardPurchasePrice": "", diff --git a/yxt-as-ui/src/views/goods/unit/unitAdd.vue b/yxt-as-ui/src/views/goods/unit/unitAdd.vue index ed5787eac8..02c3055a8b 100644 --- a/yxt-as-ui/src/views/goods/unit/unitAdd.vue +++ b/yxt-as-ui/src/views/goods/unit/unitAdd.vue @@ -15,7 +15,27 @@
- + + + + + + +
* 计量单位名称
+ + + +
+ + +
备注
+ + + +
+
+
+ - - - - -
+ -->
@@ -60,8 +54,7 @@ - diff --git a/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue b/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue index ccd7c3dd8b..bb7642b7d2 100644 --- a/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue +++ b/yxt-as-ui/src/views/warehouse/goodsShelves/goodsShelvesAdd.vue @@ -15,7 +15,65 @@
- + + + + + + +
* 选择所属仓库
+ + + + + +
+ + +
* 选择所属库区
+ + + + + +
+ +
+ + + +
* 库位名称
+ + + +
+ + +
* 库位编码
+ + + +
+
+ + + + +
备注
+ + + +
+ +
+ +
+ +
@@ -76,6 +134,28 @@ }, warehouseList: [], warehouseAreaList: [], + rules: { + warehouseName: [{ + required: true, + message: '请选择所属仓库', + trigger: 'change' + }], + locationName: [{ + required: true, + message: '请选择所属库区', + trigger: 'change' + }], + rackName: [{ + required: true, + message: '库位名称不能为空', + trigger: 'blur' + }], + rackCode: [{ + required: true, + message: '库位编码不能为空', + trigger: 'blur' + }] + } } }, created() { @@ -86,7 +166,7 @@ initData() { var parpams = { - orgPath:window.sessionStorage.getItem('defaultOrgPath'), + orgPath: window.sessionStorage.getItem('defaultOrgPath'), } req2.getAllWarehouse(parpams).then(resp => { @@ -123,61 +203,64 @@ saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) - if (this.formobj.warehouseSid == '' || this.formobj.warehouseName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "请选择所属仓库" - }) - return - } - - if (this.formobj.locationSid == '' || this.formobj.locationSid == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "请选择所属库区" - }) - return - } - - - if (this.formobj.rackName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "库位名称不能为空" - }) - return - } - - - if (this.formobj.rackCode == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "库位编码不能为空" - }) - return - } - - - - - req.saveGoodsShelves(this.formobj) - .then(resp => { - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg + // if (this.formobj.warehouseSid == '' || this.formobj.warehouseName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "请选择所属仓库" + // }) + // return + // } + + // if (this.formobj.locationSid == '' || this.formobj.locationSid == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "请选择所属库区" + // }) + // return + // } + + + // if (this.formobj.rackName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "库位名称不能为空" + // }) + // return + // } + + + // if (this.formobj.rackCode == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "库位编码不能为空" + // }) + // return + // } + + + this.$refs['form_obj'].validate((valid) => { + if (valid) { + req.saveGoodsShelves(this.formobj) + .then(resp => { + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } else { + // 根据resp.code进行异常情况处理 + } }) - this.handleReturn('true') - } else { - // 根据resp.code进行异常情况处理 - } - }) - .catch(() => {}) + .catch(() => {}) + } + }) + }, handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') @@ -213,79 +296,38 @@ } } - diff --git a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue index 1b7a1c8313..9943fdd80b 100644 --- a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue +++ b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue @@ -15,7 +15,85 @@
- + + + + + + +
* 选择所属仓库
+ + + + + +
+ + +
* 库区名称
+ + + +
+ + +
* 库区编码
+ + + +
+ +
+ + + + +
* 库区容量
+ + + +
+ + +
* 计量单位
+ + + +
+ + +
* 库区类型
+ + + + + +
+ +
+ + + + +
备注
+ + + +
+ +
+ +
+ + + +
@@ -89,6 +167,29 @@ }, warehouseList: [], warehouseTypeList: [], + rules: { + warehouseName: [{ + required: true, + message: '请选择所属仓库', + trigger: 'change' + }], + + areaName: [{ + required: true, + message: '库区名称不能为空', + trigger: 'blur' + }], + areaCode: [{ + required: true, + message: '库区编码不能为空', + trigger: 'blur' + }], + areaTypeName: [{ + required: true, + message: '请选择库区类型', + trigger: 'change' + }], + } } }, created() { @@ -97,7 +198,7 @@ methods: { initData() { var parpams = { - orgPath:window.sessionStorage.getItem('defaultOrgPath'), + orgPath: window.sessionStorage.getItem('defaultOrgPath'), } req2.getAllWarehouse(parpams).then(resp => { this.warehouseList = resp.data @@ -112,59 +213,64 @@ saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) - if (this.formobj.warehouseSid == '' || this.formobj.warehouseName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "请选择所属仓库" - }) - return - } - - if (this.formobj.areaName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "库区名称不能为空" - }) - return - } - - - if (this.formobj.areaCode == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "库区编码不能为空" - }) - return - } - - - if (this.formobj.areaTypeSid == '' || this.formobj.areaTypeName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "请选择库区类型" - }) - return - } - - - req.saveWarehousearea(this.formobj) - .then(resp => { - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg + // if (this.formobj.warehouseSid == '' || this.formobj.warehouseName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "请选择所属仓库" + // }) + // return + // } + + // if (this.formobj.areaName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "库区名称不能为空" + // }) + // return + // } + + + // if (this.formobj.areaCode == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "库区编码不能为空" + // }) + // return + // } + + + // if (this.formobj.areaTypeSid == '' || this.formobj.areaTypeName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "请选择库区类型" + // }) + // return + // } + + this.$refs['form_obj'].validate((valid) => { + if (valid) { + + req.saveWarehousearea(this.formobj) + .then(resp => { + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } else { + // 根据resp.code进行异常情况处理 + } }) - this.handleReturn('true') - } else { - // 根据resp.code进行异常情况处理 - } - }) - .catch(() => {}) + .catch(() => {}) + } + }) + }, handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') @@ -212,80 +318,38 @@ } } - diff --git a/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue index 8ad0daa42b..2fdae3e5c2 100644 --- a/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue +++ b/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue @@ -15,7 +15,31 @@
- + + + + + +
* 库区类型名称
+ + + +
+ +
+ + + +
库区类型备注
+ + + +
+ +
+
+
@@ -44,40 +68,55 @@ sid: '', warehouseAreaTypeName: '', remarks: '', - useOrgSid: window.sessionStorage.getItem('departmentSid'), - orgPath: window.sessionStorage.getItem('defaultOrgPath'), - createOrgSid: window.sessionStorage.getItem('orgSid'), - userSid: window.sessionStorage.getItem('userSid'), + useOrgSid: window.sessionStorage.getItem('departmentSid'), + orgPath: window.sessionStorage.getItem('defaultOrgPath'), + createOrgSid: window.sessionStorage.getItem('orgSid'), + userSid: window.sessionStorage.getItem('userSid'), }, + + rules: { + warehouseAreaTypeName: [{ + required: true, + message: '库区类型名称不能为空', + trigger: 'blur' + }], + }, + } }, created() {}, methods: { saveOrUpdate() { console.log('>>>>>>>>>saveOrUpdate', this.formobj) - if (this.formobj.warehouseAreaTypeName == '') { - this.$message({ - showClose: true, - type: 'warning', - message: "库区类型名称不能为空" - }) - return - } - req.saveWarehousearea(this.formobj) - .then(resp => { - if (resp.success) { - this.$message({ - showClose: true, - type: 'success', - message: resp.msg + // if (this.formobj.warehouseAreaTypeName == '') { + // this.$message({ + // showClose: true, + // type: 'warning', + // message: "库区类型名称不能为空" + // }) + // return + // } + + this.$refs['form_obj'].validate((valid) => { + if (valid) { + req.saveWarehousearea(this.formobj) + .then(resp => { + if (resp.success) { + this.$message({ + showClose: true, + type: 'success', + message: resp.msg + }) + this.handleReturn('true') + } else { + // 根据resp.code进行异常情况处理 + } }) - this.handleReturn('true') - } else { - // 根据resp.code进行异常情况处理 - } - }) - .catch(() => {}) + .catch(() => {}) + } + }) + }, handleReturn(isreload) { if (isreload === 'true') this.$emit('reloadlist') @@ -85,10 +124,10 @@ sid: '', warehouseAreaTypeName: '', remarks: '', - useOrgSid: window.sessionStorage.getItem('departmentSid'), - orgPath: window.sessionStorage.getItem('defaultOrgPath'), - createOrgSid: window.sessionStorage.getItem('orgSid'), - userSid: window.sessionStorage.getItem('userSid'), + useOrgSid: window.sessionStorage.getItem('departmentSid'), + orgPath: window.sessionStorage.getItem('defaultOrgPath'), + createOrgSid: window.sessionStorage.getItem('orgSid'), + userSid: window.sessionStorage.getItem('userSid'), } this.$emit('doback') }, @@ -107,79 +146,38 @@ } } -