|
@@ -128,12 +128,63 @@ export const useHooks = (t?: any) => {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ field: "spring_mtrl_formula",
|
|
|
+ title: "弹簧总材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 4,
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "spring_hr_formula",
|
|
|
+ title: "弹簧总人工成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 4,
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fabrics1_mtrl_formula",
|
|
|
+ title: "入袋无纺布材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 4,
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fabrics2_mtrl_formula",
|
|
|
+ title: "底面无纺布材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 4,
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "glue_mtrl_formula",
|
|
|
+ title: "胶水材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 4,
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
field: "if_snake_wire",
|
|
|
title: "蛇线",
|
|
|
basicinfo: {
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
span: 1,
|
|
|
+ group: "蛇线",
|
|
|
render: (scope: any) => {
|
|
|
const { column, searchParam } = scope;
|
|
|
|
|
@@ -153,6 +204,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
span: 3,
|
|
|
+ group: "蛇线",
|
|
|
editable: ALLOW_EDIT_STATE
|
|
|
}
|
|
|
},
|
|
@@ -163,6 +215,7 @@ export const useHooks = (t?: any) => {
|
|
|
el: "input",
|
|
|
offset: 1,
|
|
|
span: 3,
|
|
|
+ group: "蛇线",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
@@ -173,6 +226,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
span: 1,
|
|
|
+ group: "四周",
|
|
|
render: (scope: any) => {
|
|
|
const { column, searchParam } = scope;
|
|
|
|
|
@@ -192,6 +246,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
span: 3,
|
|
|
+ group: "四周",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
@@ -203,6 +258,7 @@ export const useHooks = (t?: any) => {
|
|
|
el: "input",
|
|
|
offset: 1,
|
|
|
span: 3,
|
|
|
+ group: "四周",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
@@ -213,6 +269,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
span: 1,
|
|
|
+ group: "四周",
|
|
|
render: (scope: any) => {
|
|
|
const { column, searchParam } = scope;
|
|
|
|
|
@@ -232,6 +289,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
span: 3,
|
|
|
+ group: "四周",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
@@ -243,6 +301,7 @@ export const useHooks = (t?: any) => {
|
|
|
el: "input",
|
|
|
offset: 1,
|
|
|
span: 3,
|
|
|
+ group: "四周",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
@@ -253,6 +312,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
span: 1,
|
|
|
+ group: "边铁",
|
|
|
render: (scope: any) => {
|
|
|
const { column, searchParam } = scope;
|
|
|
|
|
@@ -272,6 +332,7 @@ export const useHooks = (t?: any) => {
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
span: 3,
|
|
|
+ group: "边铁",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
@@ -283,17 +344,368 @@ export const useHooks = (t?: any) => {
|
|
|
el: "input",
|
|
|
offset: 1,
|
|
|
span: 3,
|
|
|
+ group: "边铁",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- field: "glue_mtrl_formula",
|
|
|
- title: "胶水材料成本公式",
|
|
|
+ field: "if_rsorwa",
|
|
|
+ title: "胶条?包角?",
|
|
|
+ basicinfo: {
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ span: 1,
|
|
|
+ group: "胶条?包角?",
|
|
|
+ render: (scope: any) => {
|
|
|
+ const { column, searchParam } = scope;
|
|
|
+
|
|
|
+ return (
|
|
|
+ <>
|
|
|
+ <div class="flx-align-center">
|
|
|
+ <el-checkbox v-model={searchParam[column.field]} true-value={1} false-value={0} />
|
|
|
+ </div>
|
|
|
+ </>
|
|
|
+ );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "rsorwa_mtrl_formula",
|
|
|
+ title: "胶条/包角材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 3,
|
|
|
+ group: "胶条?包角?",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "rsorwa_hr_formula",
|
|
|
+ title: "胶条/包角人工成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "胶条?包角?",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "if_sponge_drilling",
|
|
|
+ title: "海绵打孔?",
|
|
|
+ basicinfo: {
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ span: 1,
|
|
|
+ group: "其他",
|
|
|
+ render: (scope: any) => {
|
|
|
+ const { column, searchParam } = scope;
|
|
|
+ return (
|
|
|
+ <>
|
|
|
+ <div class="flx-align-center">
|
|
|
+ <el-checkbox v-model={searchParam[column.field]} true-value={1} false-value={0} />
|
|
|
+ </div>
|
|
|
+ </>
|
|
|
+ );
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "sponge_drilling_hr_formula",
|
|
|
+ title: "海绵打孔人力成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fork_mtrl_formula",
|
|
|
+ title: "弹叉材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fork_hr_formula",
|
|
|
+ title: "弹叉人力成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "cnail_mtrl_formula",
|
|
|
+ title: "C钉/夹码材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "cnail_hr_formula",
|
|
|
+ title: "C钉/夹码人工成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "sponge_mtrl_formula",
|
|
|
+ title: "海绵包边材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "sponge_hr_formula",
|
|
|
+ title: "海绵包边人工成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "sponge_mtrl_tc_formula",
|
|
|
+ title: "填充海绵成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "edge_mtrl_formula",
|
|
|
+ title: "封边材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "edge_hr_formula",
|
|
|
+ title: "封边人工成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "felt_mtrl_formula",
|
|
|
+ title: "上下垫层成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "felt_hr_formula",
|
|
|
+ title: "上下垫层人力成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "packet_mtrl_formula",
|
|
|
+ title: "包装材料成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "packet_hr_formula",
|
|
|
+ title: "包装人工成本公式",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "其他",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "spring_weight_formula",
|
|
|
+ title: "铁丝重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "side_iron_weight_formula",
|
|
|
+ title: "边铁重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "hard_around_weight_formula",
|
|
|
+ title: "四周加硬重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fabrics1_weight_formula",
|
|
|
+ title: "入袋无纺布重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fabrics2_weight_formula",
|
|
|
+ title: "面底无纺布重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "felt_weight_formula",
|
|
|
+ title: "上下垫层物料重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "cnail_weight_formula",
|
|
|
+ title: "C钉/夹码重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "sponge_weight_formula",
|
|
|
+ title: "海绵包边重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "sponge_weight_tc_formula",
|
|
|
+ title: "填充物料重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "edge_weight_formula",
|
|
|
+ title: "封边物料重量",
|
|
|
+ basicinfo: {
|
|
|
+ el: "input",
|
|
|
+ offset: 1,
|
|
|
+ span: 3,
|
|
|
+ group: "重量",
|
|
|
+ editable: ALLOW_EDIT_STATE,
|
|
|
+ props: { type: "textarea", rows: 3 }
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ field: "fork_weight_formula",
|
|
|
+ title: "弹叉重量",
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
offset: 1,
|
|
|
span: 3,
|
|
|
+ group: "重量",
|
|
|
editable: ALLOW_EDIT_STATE,
|
|
|
props: { type: "textarea", rows: 3 }
|
|
|
}
|