|
@@ -469,7 +469,7 @@
|
|
|
component: 'by-input',
|
|
|
compConfig: {
|
|
|
attr: {
|
|
|
- type: "number",
|
|
|
+ type: "number"
|
|
|
},
|
|
|
}
|
|
|
},
|
|
@@ -538,7 +538,7 @@
|
|
|
let data = {
|
|
|
storehouseId: res.data,
|
|
|
idDelete: 0,
|
|
|
- maxStockNumber: "100000",
|
|
|
+ maxStockNumber: "9999999",
|
|
|
maxStockVolume: "100000",
|
|
|
name: "默认仓位",
|
|
|
organizationId: 1,
|
|
@@ -573,6 +573,7 @@
|
|
|
let query = (this as any).$refs.addFormId2.getValue();
|
|
|
query.storehouseId = this.tableData.id;
|
|
|
query.idDelete = 0;
|
|
|
+ if(query.maxStockNumber>2147483647) return this.$message.warning('库存数量上限不能超过2147483647');
|
|
|
if (this.popTitle === '注册') {
|
|
|
let loading = this.$loading({ target: '.main-container' });
|
|
|
api.saveList(query, 'maindataStoringLocation').then((res : any) => {
|
|
@@ -603,7 +604,7 @@
|
|
|
let data = {
|
|
|
storehouseId: this.tableData.id,
|
|
|
idDelete: 0,
|
|
|
- maxStockNumber: "100000",
|
|
|
+ maxStockNumber: "9999999",
|
|
|
maxStockVolume: "100000",
|
|
|
name: "默认仓位",
|
|
|
organizationId: 1,
|