Pārlūkot izejas kodu

仓库表注册仓位字段限制数字
仓库表编辑数据绑定问题修复

hcf 1 gadu atpakaļ
vecāks
revīzija
6242a1cb84

+ 1 - 0
src/views/audit/depots/components/ruleForm.vue

@@ -175,6 +175,7 @@
 			// console.log(e);
 			if(e.name){
 				(this as any).ruleForm = e;
+				(this as any).$set((this as any).ruleForm, 'thirdSysName', 'GEEKPLUS');
 				if((this as any).ruleForm.isThird==null){
 					(this as any).ruleForm.isThird = 0
 				};

+ 15 - 0
src/views/audit/depots/index.vue

@@ -455,6 +455,11 @@
 						label: '库存体积',
 						prop: 'stockVolume',
 						component: 'by-input',
+						compConfig: {
+							attr: {
+								type: "number",
+							},
+						}
 					},
 					{
 						labelWidth: '110px',
@@ -462,6 +467,11 @@
 						label: '库存数量上限',
 						prop: 'maxStockNumber',
 						component: 'by-input',
+						compConfig: {
+							attr: {
+								type: "number",
+							},
+						}
 					},
 					{
 						labelWidth: '110px',
@@ -469,6 +479,11 @@
 						label: '库存体积上限',
 						prop: 'maxStockVolume',
 						component: 'by-input',
+						compConfig: {
+							attr: {
+								type: "number",
+							},
+						}
 					},
 				]
 			]