1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- 'use strict';
- /**
- * 材料调差
- *
- * @author ELlisran
- * @date 2019/10/20
- * @version
- */
- // 调差类型
- const t_type = [
- { text: '消耗量', value: 1 },
- { text: '费用', value: 2 },
- ];
- // 工料分类
- const m_type = [
- { text: '分类', value: 1 },
- { text: '钢材', value: 2 },
- { text: '地材', value: 3 },
- { text: '油料', value: 4 },
- { text: '水泥', value: 5 },
- { text: '半成品', value: 6 },
- { text: '其他', value: 7 },
- ];
- // 指数调差类型
- const ex_type = [
- { text: '定值', value: 1 },
- { text: '变值', value: 2 },
- ];
- const ex_basic_text = {
- bqht: '所选期合同计量金额',
- bqbg: '所选期变更计量金额',
- bqwc: '所选期完成计量金额',
- zdy: '自定义金额',
- };
- // 金额
- const decimal = {
- up: 3, // 单价
- qty: 3, // 数量
- tp: 2, // 金额
- };
- const ex_calc = [
- {
- code: 'bqht',
- text: '所选期合同计量金额',
- value: '',
- select: false,
- },
- {
- code: 'bqbg',
- text: '所选期变更计量金额',
- value: '',
- select: false,
- },
- {
- code: 'bqwc',
- text: '所选期完成计量金额',
- value: '',
- select: true,
- },
- {
- code: 'zdy',
- text: '自定义金额',
- value: '',
- select: false,
- },
- ];
- const is_summary = {
- yes: 1,
- no: 2,
- };
- module.exports = {
- t_type,
- m_type,
- ex_type,
- is_summary,
- ex_calc,
- ex_basic_text,
- decimal,
- };
|