From 2610537e28ba340d8d1903a310a5acd18e81ef39 Mon Sep 17 00:00:00 2001
From: guoxing <1369478551@qq.com>
Date: Tue, 14 May 2024 16:20:51 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=B5=8B=E8=AF=95=E9=81=87?=
=?UTF-8?q?=E5=88=B0=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
yxt-as-ui/src/api/goods/brand.js | 17 +-
yxt-as-ui/src/api/goods/category.js | 13 +
yxt-as-ui/src/api/goods/factory.js | 12 +
yxt-as-ui/src/api/goods/goods.js | 12 +
yxt-as-ui/src/api/goods/unit.js | 11 +
yxt-as-ui/src/api/storage/deliveryNotice.js | 10 +
yxt-as-ui/src/api/storage/receivingGoods.js | 2 +-
yxt-as-ui/src/api/warehouse/goodsShelves.js | 12 +
yxt-as-ui/src/api/warehouse/warehouse.js | 27 +-
yxt-as-ui/src/api/warehouse/warehouseArea.js | 32 +-
.../src/api/warehouse/warehouseAreaType.js | 14 +-
.../src/components/uploadFile/uploadImg.vue | 1 +
yxt-as-ui/src/router/index.js | 2 +-
.../src/views/goods/brands/brandsAdd.vue | 6 +
yxt-as-ui/src/views/goods/brands/index.vue | 95 ++--
.../src/views/goods/category/categoryAdd.vue | 42 +-
yxt-as-ui/src/views/goods/category/index.vue | 438 +++++++++------
.../src/views/goods/factory/factoryAdd.vue | 13 +-
yxt-as-ui/src/views/goods/factory/index.vue | 390 ++++++-------
yxt-as-ui/src/views/goods/goods/goodsAdd2.vue | 526 ++++++++++++++++++
.../src/views/goods/goods/goodsInfo2.vue | 335 +++++++++++
yxt-as-ui/src/views/goods/goods/index.vue | 179 ++++--
yxt-as-ui/src/views/goods/unit/index.vue | 104 ++--
yxt-as-ui/src/views/goods/unit/unitAdd.vue | 13 +-
.../views/storage/deliveryNotice/index.vue | 6 +-
.../storage/deliveryNotice/receiptAdd.vue | 84 ++-
.../storage/deliveryNotice/receiptInfo.vue | 54 +-
.../receivingGoods/receivingGoodsAdd.vue | 18 +-
.../goodsShelves/goodsShelvesAdd.vue | 64 ++-
.../views/warehouse/goodsShelves/index.vue | 455 ++++++++-------
.../src/views/warehouse/warehouse/index.vue | 423 ++++++++------
.../warehouse/warehouse/warehouseAdd.vue | 330 ++++++-----
.../warehouse/warehouse/warehouseInfo.vue | 265 +++++++++
.../views/warehouse/warehouseArea/index.vue | 459 ++++++++-------
.../warehouseArea/warehouseAreaAdd.vue | 10 +-
.../warehouse/warehouseAreaType/index.vue | 391 ++++++-------
.../warehouseAreaTypeAdd.vue | 11 +-
37 files changed, 3391 insertions(+), 1485 deletions(-)
create mode 100644 yxt-as-ui/src/views/goods/goods/goodsAdd2.vue
create mode 100644 yxt-as-ui/src/views/goods/goods/goodsInfo2.vue
create mode 100644 yxt-as-ui/src/views/warehouse/warehouse/warehouseInfo.vue
diff --git a/yxt-as-ui/src/api/goods/brand.js b/yxt-as-ui/src/api/goods/brand.js
index 169ea82ca7..b1b4546fdf 100644
--- a/yxt-as-ui/src/api/goods/brand.js
+++ b/yxt-as-ui/src/api/goods/brand.js
@@ -14,7 +14,7 @@ export default {
})
},
- // 类别查询
+ // 品牌查询
getAllBrand: function(params) {
return request({
url: '/yxtbase/apiadmin/base/basegoodsbrand/listAll',
@@ -52,4 +52,19 @@ export default {
},
+
+ // 品牌-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/yxtbase/apiadmin/base/basegoodsbrand/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
+
+
}
diff --git a/yxt-as-ui/src/api/goods/category.js b/yxt-as-ui/src/api/goods/category.js
index 4c4156f338..bdf5d958d6 100644
--- a/yxt-as-ui/src/api/goods/category.js
+++ b/yxt-as-ui/src/api/goods/category.js
@@ -58,4 +58,17 @@ export default {
},
+
+ // 类别-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/yxtbase/apiadmin/base/basegoodstype/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
}
diff --git a/yxt-as-ui/src/api/goods/factory.js b/yxt-as-ui/src/api/goods/factory.js
index 71facdeb5b..51b5174603 100644
--- a/yxt-as-ui/src/api/goods/factory.js
+++ b/yxt-as-ui/src/api/goods/factory.js
@@ -50,5 +50,17 @@ export default {
});
},
+ // 厂家-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/yxtbase/apiadmin/base/basemanufacturer/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
}
diff --git a/yxt-as-ui/src/api/goods/goods.js b/yxt-as-ui/src/api/goods/goods.js
index 1dd709d78d..4af8b77831 100644
--- a/yxt-as-ui/src/api/goods/goods.js
+++ b/yxt-as-ui/src/api/goods/goods.js
@@ -42,4 +42,16 @@ export default {
},
+ // 商品-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/yxtbase/apiadmin/base/basegoodsspu/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
}
diff --git a/yxt-as-ui/src/api/goods/unit.js b/yxt-as-ui/src/api/goods/unit.js
index 732f5d9f27..b3ed2b060b 100644
--- a/yxt-as-ui/src/api/goods/unit.js
+++ b/yxt-as-ui/src/api/goods/unit.js
@@ -51,5 +51,16 @@ export default {
});
},
+ // 单位-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/yxtbase/apiadmin/base/basegoodsunit/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
}
diff --git a/yxt-as-ui/src/api/storage/deliveryNotice.js b/yxt-as-ui/src/api/storage/deliveryNotice.js
index 9034309b71..e585c69b28 100644
--- a/yxt-as-ui/src/api/storage/deliveryNotice.js
+++ b/yxt-as-ui/src/api/storage/deliveryNotice.js
@@ -51,4 +51,14 @@ export default {
});
},
+ // 选择供应商
+ choiceSupplier: function(params) {
+ return request({
+ url: '/pms/v1/pmssupplierinfo/choiceSupplierInfo',
+ method: 'post',
+ data: params,
+ })
+ },
+
+
}
diff --git a/yxt-as-ui/src/api/storage/receivingGoods.js b/yxt-as-ui/src/api/storage/receivingGoods.js
index cc6e999c85..40e9ac02a1 100644
--- a/yxt-as-ui/src/api/storage/receivingGoods.js
+++ b/yxt-as-ui/src/api/storage/receivingGoods.js
@@ -67,7 +67,7 @@ export default {
// 选择供应商
choiceSupplier: function(params) {
return request({
- url: '/wms/apiadmin/base/basesupplierinfo/choiceSupplierInfo',
+ url: '/pms/v1/pmssupplierinfo/choiceSupplierInfo',
method: 'post',
data: params,
})
diff --git a/yxt-as-ui/src/api/warehouse/goodsShelves.js b/yxt-as-ui/src/api/warehouse/goodsShelves.js
index c7b64fa867..7e312d35a1 100644
--- a/yxt-as-ui/src/api/warehouse/goodsShelves.js
+++ b/yxt-as-ui/src/api/warehouse/goodsShelves.js
@@ -44,4 +44,16 @@ export default {
},
+ // 库位-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehouserack/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
}
diff --git a/yxt-as-ui/src/api/warehouse/warehouse.js b/yxt-as-ui/src/api/warehouse/warehouse.js
index 875d9917ee..b6b15ee20d 100644
--- a/yxt-as-ui/src/api/warehouse/warehouse.js
+++ b/yxt-as-ui/src/api/warehouse/warehouse.js
@@ -8,7 +8,9 @@ export default {
url: '/wms/apiadmin/base/wmswarehouseinfo/listPage',
method: 'post',
data: params,
- headers: { 'Content-Type': 'application/json' }
+ headers: {
+ 'Content-Type': 'application/json'
+ }
})
},
@@ -25,10 +27,10 @@ export default {
// 修改是否可用状态
- updateIsEnable: function(sid,isEnable) {
- return request({
- url: '/wms/apiadmin/base/wmswarehouseinfo/updateStatus/'+sid+"/"+isEnable
- });
+ updateIsEnable: function(sid, isEnable) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehouseinfo/updateStatus/' + sid + "/" + isEnable
+ });
},
@@ -38,7 +40,9 @@ export default {
url: '/wms/apiadmin/base/wmswarehouseinfo/saveOrUpdate',
method: 'post',
data: data,
- headers: { 'Content-Type': 'application/json' }
+ headers: {
+ 'Content-Type': 'application/json'
+ }
});
},
@@ -50,5 +54,16 @@ export default {
});
},
+ // 仓库-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehouseinfo/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
}
diff --git a/yxt-as-ui/src/api/warehouse/warehouseArea.js b/yxt-as-ui/src/api/warehouse/warehouseArea.js
index 9a9f2c477b..809d310c92 100644
--- a/yxt-as-ui/src/api/warehouse/warehouseArea.js
+++ b/yxt-as-ui/src/api/warehouse/warehouseArea.js
@@ -26,11 +26,23 @@ export default {
},
+ // 根据仓库sid查询库区
+ getAllWarehouseareaBysid: function(params) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehousearea/selectAll?ckSid='+params,
+ method: 'get',
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
+
// 修改是否可用状态
- updateIsEnable: function(sid,isEnable) {
- return request({
- url: '/wms/apiadmin/base/wmswarehousearea/updateIsEnable/'+sid+"/"+isEnable
- });
+ updateIsEnable: function(sid, isEnable) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehousearea/updateIsEnable/' + sid + "/" + isEnable
+ });
},
@@ -55,4 +67,16 @@ export default {
},
+ // 库区-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehouseinfo/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
}
diff --git a/yxt-as-ui/src/api/warehouse/warehouseAreaType.js b/yxt-as-ui/src/api/warehouse/warehouseAreaType.js
index f147b7ea4e..a106b6606a 100644
--- a/yxt-as-ui/src/api/warehouse/warehouseAreaType.js
+++ b/yxt-as-ui/src/api/warehouse/warehouseAreaType.js
@@ -15,7 +15,7 @@ export default {
})
},
- // 库位查询
+ // 库去类型查询
getAllWarehouseareatype: function(params) {
return request({
url: '/wms/apiadmin/base/wmswarehouseareatype/listAll',
@@ -55,6 +55,18 @@ export default {
});
},
+ // 库区类型-- 删除
+ deleteBySids: function(data) {
+ return request({
+ url: '/wms/apiadmin/base/wmswarehouseareatype/delBySids',
+ method: 'DELETE',
+ data: data,
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+ },
+
}
diff --git a/yxt-as-ui/src/components/uploadFile/uploadImg.vue b/yxt-as-ui/src/components/uploadFile/uploadImg.vue
index 0b256516d6..384d5207da 100644
--- a/yxt-as-ui/src/components/uploadFile/uploadImg.vue
+++ b/yxt-as-ui/src/components/uploadFile/uploadImg.vue
@@ -147,6 +147,7 @@ export default {
imgFiles.push(o.url)
})
this.$emit('fileChange', this.files)
+ this.$emit('change', this.files)
},
handleRemove(file, fileList) {
console.log('file:' + JSON.stringify(file))
diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js
index 38ea46bfe1..3fdca81e6a 100644
--- a/yxt-as-ui/src/router/index.js
+++ b/yxt-as-ui/src/router/index.js
@@ -171,7 +171,7 @@ export const constantRoutes = [{
path: '/unit/index',
component: () => import('@/views/goods/unit/index.vue'),
name: 'Unit',
- meta: { title: '单位管理', noCache: true }
+ meta: { title: '计量单位', noCache: true }
}
]
},
diff --git a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue
index 526e4c6beb..fe7f30f1ac 100644
--- a/yxt-as-ui/src/views/goods/brands/brandsAdd.vue
+++ b/yxt-as-ui/src/views/goods/brands/brandsAdd.vue
@@ -88,6 +88,9 @@
remarks: '',
letter: '',
image: "",
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
},
hideUploadBtn: false,
@@ -140,6 +143,9 @@
remarks: '',
letter: '',
image: "",
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
}
this.$emit('doback')
},
diff --git a/yxt-as-ui/src/views/goods/brands/index.vue b/yxt-as-ui/src/views/goods/brands/index.vue
index a63f06b1aa..b9176ff028 100644
--- a/yxt-as-ui/src/views/goods/brands/index.vue
+++ b/yxt-as-ui/src/views/goods/brands/index.vue
@@ -27,10 +27,11 @@
-
-
+
+
-
+
编辑
@@ -101,6 +102,13 @@
btnKey: 'toAdd',
btnLabel: '新增'
},
+ {
+ type: 'danger',
+ size: 'small',
+ icon: 'plus',
+ btnKey: 'doDel',
+ btnLabel: '删除'
+ },
{
type: 'info',
size: 'small',
@@ -117,7 +125,8 @@
name: ''
}
},
- sids: []
+ sids: [],
+ selectionList: []
}
},
mounted() {
@@ -127,6 +136,17 @@
this.loadList()
},
methods: {
+ selectionLineChangeHandle(val) {
+ console.log("val", val);
+
+ this.selectionList = val
+
+ const aa = []
+ val.forEach(element => {
+ aa.push(element.sid)
+ })
+ this.sids = aa
+ },
// 搜索条件效果
clicksearchShow() {
this.isSearchShow = !this.isSearchShow
@@ -141,6 +161,9 @@
case 'toAdd':
this.toAdd()
break
+ case 'doDel':
+ this.doDel()
+ break
case 'doClose':
this.doClose()
break
@@ -200,35 +223,43 @@
this.viewState = 3
this.$refs['divadd'].showEdit(row)
},
- toRelevancyInfo(row) {
- const tip = '请确认是否删除所选品牌?'
- this.$confirm(tip, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- const loading = this.$loading({
- lock: true,
- text: 'Loading',
- spinner: 'el-icon-loading',
- background: 'rgba(0, 0, 0, 0.7)'
- })
- req.deleteGoods(row.sid).then((resp) => {
- loading.close()
- if (resp.success) {
- this.$message({
- type: 'success',
- message: resp.msg,
- showClose: true
- })
- this.loadList()
- } else {
- // 根据resp.code进行异常情况处理
- }
- }).catch(e => {
- loading.close()
+ doDel() {
+
+ if (this.sids.length > 0) {
+ const tip = '请确认是否删除所选 ' + this.sids.length + ' 条记录?'
+ this.$confirm(tip, '提示', {
+ confirmButtonText: '确定',
+ cancelButtonText: '取消',
+ type: 'warning'
+ }).then(() => {
+ const loading = this.$loading({
+ lock: true,
+ text: 'Loading',
+ spinner: 'el-icon-loading',
+ background: 'rgba(0, 0, 0, 0.7)'
+ })
+ req.deleteBySids(this.sids).then((resp) => {
+ loading.close()
+ if (resp.success) {
+ this.$message({
+ type: 'success',
+ message: resp.msg,
+ showClose: true
+ })
+ this.loadList()
+ } else {
+ // 根据resp.code进行异常情况处理
+ }
+ }).catch(e => {
+ loading.close()
+ })
+ }).catch(() => {})
+ } else {
+ this.$message({
+ showClose: true,
+ message: '请至少选择一条记录进行删除操作'
})
- }).catch(() => {})
+ }
},
resetState() {
this.viewState = 1
diff --git a/yxt-as-ui/src/views/goods/category/categoryAdd.vue b/yxt-as-ui/src/views/goods/category/categoryAdd.vue
index 4fe3f2a1e0..b57f9044e6 100644
--- a/yxt-as-ui/src/views/goods/category/categoryAdd.vue
+++ b/yxt-as-ui/src/views/goods/category/categoryAdd.vue
@@ -41,7 +41,12 @@
-
+
+ 出库规则:
+
+
+
+
类别排序:
import req from '@/api/goods/category.js'
+ import {
+ typeValues
+ } from '@/api/Common/dictcommons.js'
export default {
components: {},
data() {
@@ -72,13 +80,19 @@
goodsTypeCode: '',
percentageRate: '',
percentageAmount: '',
+ outStockRuleKey: '',
+ outStockRuleValue: '',
sids: '',
pname: '',
sortNo: '',
remarks: '',
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
},
goodsTypeList: [],
+ outStockRuleList: [],
}
},
created() {
@@ -86,10 +100,21 @@
},
methods: {
initData() {
- console.log('>>>>>>>>>initData')
+ console.log('>>>>>>>>>initData')
req.getAllType().then(resp => {
this.goodsTypeList = resp.data
})
+
+ var params = {
+ type: "goodsOutRule",
+ psid: '0'
+ }
+
+ typeValues(params).then(resp => {
+ console.log('>>>>>>>>>typeValues', resp)
+ this.outStockRuleList = resp.data
+ }).catch(() => {})
+
},
saveOrUpdate() {
console.log('>>>>>>>>>saveOrUpdate', this.formobj)
@@ -116,10 +141,15 @@
goodsTypeCode: '',
percentageRate: '',
percentageAmount: '',
+ outStockRuleKey: '',
+ outStockRuleValue: '',
sids: '',
pname: '',
sortNo: '',
remarks: '',
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
}
this.$emit('doback')
},
@@ -138,10 +168,16 @@
selectGoodsTypeChange(val) {
const choose = this.goodsTypeList.filter((item) => item.sid == val)
- console.log('>>>>>>>>>selectGoodsTypeChange', choose)
+ console.log('>>>>>>>>>selectGoodsTypeChange', choose)
this.formobj.sids = choose[0].sid
this.formobj.pName = choose[0].goodsTypeName
},
+ selectOutStockRuleChange(val){
+ const choose = this.outStockRuleList.filter((item) => item.sid == val)
+ console.log('>>>>>>>>>selectOutStockRuleChange', choose)
+ this.formobj.outStockRuleKey = choose[0].dictKey
+ this.formobj.outStockRuleValue = choose[0].dictValue
+ },
}
}
diff --git a/yxt-as-ui/src/views/goods/category/index.vue b/yxt-as-ui/src/views/goods/category/index.vue
index 710a106e4f..6721e5448a 100644
--- a/yxt-as-ui/src/views/goods/category/index.vue
+++ b/yxt-as-ui/src/views/goods/category/index.vue
@@ -12,21 +12,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
- 查询
- 重置
+ 查询
+ 重置
@@ -37,22 +43,23 @@
-
-
+
+
-
+
编辑
-
+
-
+
@@ -63,20 +70,15 @@
+
@@ -87,165 +89,233 @@
diff --git a/yxt-as-ui/src/views/goods/factory/factoryAdd.vue b/yxt-as-ui/src/views/goods/factory/factoryAdd.vue
index 6cbabb4b99..597cd466ad 100644
--- a/yxt-as-ui/src/views/goods/factory/factoryAdd.vue
+++ b/yxt-as-ui/src/views/goods/factory/factoryAdd.vue
@@ -26,7 +26,8 @@
厂家排序:
-
+
厂家备注:
@@ -51,7 +52,10 @@
manufacturerName: '',
manufacturerCode: '',
sortNo: '',
- remarks: ""
+ remarks: "",
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
},
}
},
@@ -82,7 +86,10 @@
manufacturerName: '',
manufacturerCode: '',
sortNo: '',
- remarks: ""
+ remarks: "",
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
}
this.$emit('doback')
},
diff --git a/yxt-as-ui/src/views/goods/factory/index.vue b/yxt-as-ui/src/views/goods/factory/index.vue
index 7bd36663ad..23f78ab616 100644
--- a/yxt-as-ui/src/views/goods/factory/index.vue
+++ b/yxt-as-ui/src/views/goods/factory/index.vue
@@ -15,18 +15,8 @@
- 查询
- 重置
+ 查询
+ 重置
@@ -37,21 +27,21 @@
-
-
+
-
+
编辑
-
-
-
-
-
+
+
+
+
+
@@ -61,14 +51,8 @@
@@ -79,165 +63,195 @@
diff --git a/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue b/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue
new file mode 100644
index 0000000000..2fc6337c6a
--- /dev/null
+++ b/yxt-as-ui/src/views/goods/goods/goodsAdd2.vue
@@ -0,0 +1,526 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 商品名称
+
+
+
+
+
+
+ 商品编码
+
+
+
+
+
+
+ 商品条形码
+
+
+
+
+
+ 商品拼音缩写
+
+
+
+
+
+
+
+
+
+
+ 商品单位
+
+
+
+
+
+
+
+
+ 商品类别
+
+
+
+
+
+
+
+
+
+ 规格
+
+
+
+
+
+
+ 保质期(天)
+
+
+
+
+
+
+
+
+
+
+ 商品品牌
+
+
+
+
+
+
+
+
+ 商品厂家
+
+
+
+
+
+
+
+
+ 原厂标志
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+ 商品排序
+
+
+
+
+
+
+ 商品备注
+
+
+
+
+
+
+
+
+
+
+ 库存上限
+
+
+
+
+
+
+ 库存下限
+
+
+
+
+
+
+
+
+
+
+ 锁定销售定价
+
+
+ 是
+ 否
+
+
+
+
+
+ 销售底价
+
+
+
+
+
+
+ 三包价格
+
+
+
+
+
+
+ 首保价格
+
+
+
+
+
+
+
+
+
+
+ 规格图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue b/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue
new file mode 100644
index 0000000000..e120205426
--- /dev/null
+++ b/yxt-as-ui/src/views/goods/goods/goodsInfo2.vue
@@ -0,0 +1,335 @@
+template>
+
+
+
+
+
+
+
+
+
+
+
+ 商品名称
+
+ {{formobj.goodsName}}
+
+
+
+
+ 商品编码
+
+ {{formobj.goodsCode}}
+
+
+
+
+ 商品条形码
+
+ {{formobj.barCode}}
+
+
+
+ 商品拼音缩写
+
+ {{formobj.goodsPY}}
+
+
+
+
+
+
+
+
+ 商品单位
+
+ {{formobj.goodsUnitName}}
+
+
+
+
+ 商品类别
+
+ {{formobj.typeName}}
+
+
+
+
+ 规格
+
+ {{formobj.shelfLife}}
+
+
+
+
+ 保质期(天)
+
+ {{formobj.shelfLife}}
+
+
+
+
+
+
+
+
+ 商品品牌
+
+ {{formobj.brandName}}
+
+
+
+
+ 商品厂家
+
+ {{formobj.manufacturerName}}
+
+
+
+
+ 原厂标志
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+ 商品排序
+
+ {{formobj.sortNo}}
+
+
+
+
+ 商品备注
+
+ {{formobj.remarks}}
+
+
+
+
+
+
+
+
+ 库存上限
+
+ {{formobj.externalCode}}
+
+
+
+
+ 库存下限
+
+ {{formobj.nationalStandardCode}}
+
+
+
+
+
+
+
+
+ 锁定销售定价
+
+
+ 是
+ 否
+
+
+
+
+
+ 销售底价
+
+ {{formobj.nationalStandardCode}}
+
+
+
+
+ 三包价格
+
+ {{formobj.externalCode}}
+
+
+
+
+ 首保价格
+
+ {{formobj.nationalStandardCode}}
+
+
+
+
+
+
+
+
+ 规格图片
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/yxt-as-ui/src/views/goods/goods/index.vue b/yxt-as-ui/src/views/goods/goods/index.vue
index a1d9415088..01de6cd1d3 100644
--- a/yxt-as-ui/src/views/goods/goods/index.vue
+++ b/yxt-as-ui/src/views/goods/goods/index.vue
@@ -9,9 +9,37 @@
@@ -29,29 +57,43 @@
-
-
-
+
+
+
详情
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
-
-
-
-
-
-
-
-
-
@@ -67,18 +109,21 @@
-
+
diff --git a/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue b/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue
index af7f9b2607..7ebcb21365 100644
--- a/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue
+++ b/yxt-as-ui/src/views/warehouse/goodsShelves/index.vue
@@ -12,21 +12,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
- 查询
- 重置
+ 查询
+ 重置
@@ -37,21 +44,22 @@
-
-
+
+
-
+
编辑
-
-
-
-
-
+
+
+
+
+
@@ -62,14 +70,8 @@
@@ -80,165 +82,242 @@
diff --git a/yxt-as-ui/src/views/warehouse/warehouse/index.vue b/yxt-as-ui/src/views/warehouse/warehouse/index.vue
index 9a4851724f..304474b587 100644
--- a/yxt-as-ui/src/views/warehouse/warehouse/index.vue
+++ b/yxt-as-ui/src/views/warehouse/warehouse/index.vue
@@ -12,21 +12,17 @@
+
+
+
+
+
+
- 查询
- 重置
+ 查询
+ 重置
@@ -37,12 +33,14 @@
-
-
+
+
- 编辑
+ 详情
+
@@ -57,7 +55,7 @@
-
+
@@ -65,183 +63,242 @@
+
diff --git a/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue b/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue
index 7331b206f2..ee181ec874 100644
--- a/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue
+++ b/yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue
@@ -15,67 +15,150 @@
-
-
- 仓库名称:
-
-
-
- 仓库编码:
-
-
-
- 仓库联系人:
-
-
-
- 手机号码:
-
-
-
- 仓库主管:
-
-
-
- 联系电话:
-
-
-
-
- 占地面积:
-
-
-
- 仓库经度:
-
-
-
- 仓库纬度:
-
-
-
- 具体地址:
-
-
-
- 使用状态:
-
- 正常
- 停用
-
-
-
-
- 仓库排序:
-
-
-
- 仓库备注:
-
-
-
+
+
+
+
+
+ 仓库编码
+
+
+
+
+
+
+ 仓库名称
+
+
+
+
+
+
+
+
+
+
+ 仓库类型
+
+
+
+
+
+
+
+
+
+ 仓库面积
+
+
+
+
+
+
+ 仓库管理员
+
+
+
+
+
+
+
+
+
+
+ 仓库地址
+
+
+
+
+
+
+
+
+
+
+ 经度
+
+
+
+
+
+
+ 纬度
+
+
+
+
+
+
+
+
+
+
+ 联系人
+
+
+
+
+
+
+ 手机号码
+
+
+
+
+
+
+ 联系电话
+
+
+
+
+
+
+
+
+
+
+ 排序
+
+
+
+
+
+
+ 使用状态
+
+
+ 正常
+ 停用
+
+
+
+
+
+
+
+
+
+ 备注
+
+
+
+
+
+
+
+
@@ -84,6 +167,9 @@
-
diff --git a/yxt-as-ui/src/views/warehouse/warehouse/warehouseInfo.vue b/yxt-as-ui/src/views/warehouse/warehouse/warehouseInfo.vue
new file mode 100644
index 0000000000..4426d60327
--- /dev/null
+++ b/yxt-as-ui/src/views/warehouse/warehouse/warehouseInfo.vue
@@ -0,0 +1,265 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 仓库编码
+
+ {{formobj.warehouseCode}}
+
+
+
+
+ 仓库名称
+
+ {{formobj.warehouseName}}
+
+
+
+
+
+
+
+
+ 仓库类型
+
+ {{formobj.warehouseTypeValue}}
+
+
+
+
+ 仓库面积
+
+ {{formobj.squareMeter}}
+
+
+
+
+ 仓库管理员
+
+ {{formobj.manager}}
+
+
+
+
+
+
+
+
+ 仓库地址
+
+ {{formobj.address}}
+
+
+
+
+
+
+
+
+ 经度
+
+ {{formobj.longitude}}
+
+
+
+
+ 纬度
+
+ {{formobj.latitude}}
+
+
+
+
+
+
+
+
+ 联系人
+
+ {{formobj.contacts}}
+
+
+
+
+ 手机号码
+
+ {{formobj.mob}}
+
+
+
+
+ 联系电话
+
+ {{formobj.telephone}}
+
+
+
+
+
+
+
+
+ 排序
+
+ {{formobj.sortNo}}
+
+
+
+
+ 使用状态
+
+
+ 正常
+ 停用
+
+
+
+
+
+
+
+
+
+ 备注
+
+ {{formobj.remarks}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue b/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue
index 8f81b6f152..b0b55bea9f 100644
--- a/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue
+++ b/yxt-as-ui/src/views/warehouse/warehouseArea/index.vue
@@ -12,21 +12,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 查询
- 重置
+ 查询
+ 重置
@@ -37,21 +45,22 @@
-
-
+
+
-
+
编辑
-
-
-
-
-
+
+
+
+
+
@@ -64,14 +73,8 @@
@@ -82,165 +85,245 @@
diff --git a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue
index 775b3823e2..e04dd2db98 100644
--- a/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue
+++ b/yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue
@@ -80,7 +80,10 @@
warehouseName: '',
warehouseSid: '',
areaTypeSid: "",
- areaTypeName: ""
+ areaTypeName: "",
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
},
warehouseList: [],
@@ -129,7 +132,10 @@
unit: '',
remarks: '',
areaTypeSid: "",
- areaTypeName: ""
+ areaTypeName: "",
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
}
this.$emit('doback')
diff --git a/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue b/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue
index aded094c30..e9d37774df 100644
--- a/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue
+++ b/yxt-as-ui/src/views/warehouse/warehouseAreaType/index.vue
@@ -15,18 +15,8 @@
- 查询
- 重置
+ 查询
+ 重置
@@ -37,21 +27,22 @@
-
-
+
+
-
+
编辑
-
-
-
-
-
+
+
+
+
+
@@ -61,14 +52,8 @@
@@ -79,165 +64,195 @@
diff --git a/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue b/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue
index 40249cb071..cb7d41f3d4 100644
--- a/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue
+++ b/yxt-as-ui/src/views/warehouse/warehouseAreaType/warehouseAreaTypeAdd.vue
@@ -44,6 +44,9 @@
sid: '',
warehouseAreaTypeName: '',
remarks: '',
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
},
}
@@ -70,8 +73,12 @@
handleReturn(isreload) {
if (isreload === 'true') this.$emit('reloadlist')
this.formobj = {
- sid: '',
- remarks: '',
+ sid: '',
+ warehouseAreaTypeName: '',
+ remarks: '',
+ useOrgSid: window.sessionStorage.getItem('departmentSid'),
+ createOrgSid: window.sessionStorage.getItem('orgSid'),
+ userSid: window.sessionStorage.getItem('userSid'),
}
this.$emit('doback')
},