|
@@ -2548,7 +2548,7 @@ export const useHooks = (t?: any) => {
|
|
|
state.initParams.arg_deptid = val;
|
|
|
}
|
|
|
},
|
|
|
- order: 1
|
|
|
+ order: 2
|
|
|
},
|
|
|
basicinfo: {
|
|
|
// el: "select",
|
|
@@ -2603,7 +2603,7 @@ export const useHooks = (t?: any) => {
|
|
|
props: {
|
|
|
placeholder: "唯一码/编码/名称"
|
|
|
},
|
|
|
- order: 0
|
|
|
+ order: 1
|
|
|
},
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
@@ -2645,7 +2645,7 @@ export const useHooks = (t?: any) => {
|
|
|
state.vxeTableRef.refresh();
|
|
|
}
|
|
|
},
|
|
|
- order: 2,
|
|
|
+ order: 3,
|
|
|
render: scope => {
|
|
|
// let _keys = Object.keys(scope);
|
|
|
// let _data = _keys.includes("row") ? scope.row : _keys.includes("searchParam") ? scope.searchParam : scope;
|
|
@@ -2799,6 +2799,17 @@ export const useHooks = (t?: any) => {
|
|
|
title: "床垫高/CM",
|
|
|
basicinfo: {
|
|
|
el: "input-number",
|
|
|
+ props: {
|
|
|
+ onChange: (val: any) => {
|
|
|
+ const $table = state.subSpecsRef?.element;
|
|
|
+ if ($table) {
|
|
|
+ const { visibleData } = $table.getTableData();
|
|
|
+ visibleData.forEach((o: any) => {
|
|
|
+ o.mattress_height = val;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
editable: ALLOW_EDIT_STATE
|
|
|
}
|
|
|
},
|