Browse Source

完善仓库

master
guoxing 11 months ago
parent
commit
9741bcf5ea
  1. 34
      yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue
  2. 4
      yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue

34
yxt-as-ui/src/views/warehouse/warehouse/warehouseAdd.vue

@ -188,7 +188,7 @@
formobj: { formobj: {
sid: '', sid: '',
warehouseName: '', warehouseName: '',
warehouseCode: '由系统自动生成', warehouseCode: '由系统自动生成',
warehouseTypeKey: '', warehouseTypeKey: '',
warehouseTypeValue: '', warehouseTypeValue: '',
contacts: "", contacts: "",
@ -198,7 +198,7 @@
managerSid: '', managerSid: '',
longitude: '', longitude: '',
latitude: '', latitude: '',
usageStatus: "", usageStatus: "1",
address: '', address: '',
squareMeter: '', squareMeter: '',
sortNo: '', sortNo: '',
@ -268,19 +268,19 @@
}).then((res) => { }).then((res) => {
if (res.success) { if (res.success) {
this.formobj.createOrgSid = res.data this.formobj.createOrgSid = res.data
req.selMangerByRole({
createOrgSid: res.data
})
.then(resp => {
if (resp.success) {
this.managerList = resp.data
}
})
.catch(e => {})
} }
}) })
req.selMangerByRole({
useOrgSid: window.sessionStorage.getItem('departmentSid')
})
.then(resp => {
if (resp.success) {
this.managerList = resp.data
}
})
.catch(e => {})
}, },
selectWarehouseTypeChange(val) { selectWarehouseTypeChange(val) {
@ -318,7 +318,7 @@
this.formobj = { this.formobj = {
sid: '', sid: '',
warehouseName: '', warehouseName: '',
warehouseCode: '', warehouseCode: '由系统自动生成',
warehouseTypeKey: '', warehouseTypeKey: '',
warehouseTypeValue: '', warehouseTypeValue: '',
contacts: "", contacts: "",
@ -327,7 +327,7 @@
manager: '', manager: '',
longitude: '', longitude: '',
latitude: '', latitude: '',
usageStatus: "", usageStatus: "1",
address: '', address: '',
squareMeter: '', squareMeter: '',
sortNo: '', sortNo: '',
@ -401,4 +401,10 @@
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
} }
.formaddcopy02 .el-row .el-col /deep/ .el-form-item .el-radio-group {
display: inline;
line-height: 1px;
vertical-align: middle;
}
</style> </style>

4
yxt-as-ui/src/views/warehouse/warehouseArea/warehouseAreaAdd.vue

@ -152,7 +152,7 @@
formobj: { formobj: {
sid: '', sid: '',
areaName: '', areaName: '',
areaCode: '由系统自动生成', areaCode: '由系统自动生成',
volume: '', volume: '',
unit: '', unit: '',
remarks: '', remarks: '',
@ -273,7 +273,7 @@
this.formobj = { this.formobj = {
sid: '', sid: '',
areaName: '', areaName: '',
areaCode: '', areaCode: '由系统自动生成',
volume: '', volume: '',
unit: '', unit: '',
remarks: '', remarks: '',

Loading…
Cancel
Save