SET NAMES utf8;

SET FOREIGN_KEY_CHECKS=0;

CREATE TABLE IF NOT EXISTS `t_customized` (
  `customized_id` int(11) NOT NULL AUTO_INCREMENT,
  `customized_name` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `customized_shortname` varchar(255) COLLATE utf8_bin DEFAULT '',
  `customized_title` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `customized_class` varchar(255) COLLATE utf8_bin DEFAULT '',
  `customized_content` varchar(255) COLLATE utf8_bin DEFAULT '',
  `customized_type` tinyint(1) DEFAULT NULL,
  `permission` tinyint(1) DEFAULT 0,
  `user_ids` text COLLATE utf8_bin DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `customized_other` text COLLATE utf8_bin DEFAULT NULL,
  PRIMARY KEY (`customized_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for t_fast_input
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_fast_input` (
  `fast_input_id` int(11) NOT NULL AUTO_INCREMENT,
  `customized_id` int(11) NOT NULL,
  `fast_input_number` varchar(50) COLLATE utf8_bin NOT NULL DEFAULT '',
  `fast_input_state` tinyint(1) DEFAULT 0,
  `fast_input_data_ids` text COLLATE utf8_bin NOT NULL,
  `fast_input_content` text COLLATE utf8_bin DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`fast_input_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for t_inventory_price_record
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_inventory_price_record` (
  `inventory_price_record_id` int(11) NOT NULL AUTO_INCREMENT,
  `inventory_id` int(11) NOT NULL,
  `record_time` datetime NOT NULL,
  `inventory_price` double(22,2) NOT NULL,
  `notes` text DEFAULT NULL,
  `status` int(2) DEFAULT 99,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`inventory_price_record_id`),
  KEY `inventory_id` (`inventory_id`),
  CONSTRAINT `t_inventory_price_record_ibfk_1` FOREIGN KEY (`inventory_id`) REFERENCES `t_inventory` (`inventory_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for t_machine_pause
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_machine_pause` (
  `machine_id` int(11) NOT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `permission` tinyint(1) DEFAULT 1,
  `pause_user_ids` text DEFAULT NULL,
  PRIMARY KEY (`machine_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Table structure for t_machine_stop_reason
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_machine_stop_reason` (
  `stop_reason_id` int(11) NOT NULL AUTO_INCREMENT,
  `stop_reason_name` varchar(255) NOT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `permission` tinyint(1) DEFAULT 1,
  `stop_reason_user_ids` text DEFAULT NULL,
  PRIMARY KEY (`stop_reason_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Table structure for t_offer_cost_float
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_offer_cost_float` (
  `offer_cost_float_id` int(11) NOT NULL AUTO_INCREMENT,
  `offer_cost_float_number` double(13,2) DEFAULT 0.00,
  `product_ids` text DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  PRIMARY KEY (`offer_cost_float_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Table structure for t_offer_price
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_offer_price` (
  `offer_price_id` int(11) NOT NULL AUTO_INCREMENT,
  `offer_price_des` varchar(255) NOT NULL,
  `offer_price_number` double(13,2) DEFAULT 0.00,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `permission` tinyint(1) DEFAULT 1,
  `see_user_ids` text DEFAULT NULL,
  PRIMARY KEY (`offer_price_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

-- ----------------------------
-- Table structure for t_user_report_password
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_user_report_password` (
  `user_id` int(11) NOT NULL,
  `report_password` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
  `report_password_type` tinyint(1) NOT NULL DEFAULT 0,
  `report_password_interval` int(11) DEFAULT 0,
  `use_time` datetime DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  PRIMARY KEY (`user_id`) USING BTREE,
  CONSTRAINT `t_user_report_password_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `t_user` (`user_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;

ALTER TABLE `t_machine_calculation`
ADD COLUMN IF NOT EXISTS `stop_reason_id`  int(11) NULL AFTER `public_note`;

ALTER TABLE `t_machine`
ADD COLUMN IF NOT EXISTS `pause_affair_data_id`  varchar(25) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' AFTER `affair_data_id`;

ALTER TABLE `t_rule_new`
ADD COLUMN IF NOT EXISTS `machine_modular_pause`  tinyint(1) NULL DEFAULT 0 AFTER `machine_modular_wait`;


ALTER TABLE `t_rule_new`
ADD COLUMN IF NOT EXISTS `product_modular_internal_price`  tinyint(1) NULL DEFAULT 0 AFTER `documentary_modular_remove`,
ADD COLUMN IF NOT EXISTS `product_cost_accounting`  tinyint(1) NULL DEFAULT 0 AFTER `product_modular_internal_price`,
ADD COLUMN IF NOT EXISTS `product_cost_view`  tinyint(1) NULL DEFAULT 0 AFTER `product_cost_accounting`;


ALTER TABLE `t_inventory_calculation`
ADD COLUMN IF NOT EXISTS `offer_price`  decimal(22,3) NULL DEFAULT -1 AFTER `from_data_id`,
ADD COLUMN IF NOT EXISTS `offer_product_total_cost`  decimal(22,6) NULL AFTER `offer_price`,
ADD COLUMN IF NOT EXISTS `calculation_ctime`  datetime NULL DEFAULT NULL AFTER `offer_product_total_cost`;


ALTER TABLE `t_inventory`
ADD COLUMN IF NOT EXISTS `inventory_price_unit`  tinyint(1) NULL AFTER `utime`;

ALTER TABLE `t_process_in_calculation`
ADD COLUMN IF NOT EXISTS `user_id`  int(11) NOT NULL AFTER `tag_numbers`;

ALTER TABLE `t_process_out_calculation`
ADD COLUMN IF NOT EXISTS `user_id`  int(11) NOT NULL AFTER `tag_numbers`;

ALTER TABLE `t_statement_calculation`
ADD COLUMN IF NOT EXISTS `bill_ids` text NULL AFTER `tag_numbers`;

ALTER TABLE `t_tag_list_rel`
ADD COLUMN IF NOT EXISTS `ctime` datetime(0) NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP AFTER `tag_id`;

REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (238, 0, 9, 9, '胚布价格', 'public_embryo_price', '[{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);

REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (338, 0, 6, 10, '同步数量', 'synchronous_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);

ALTER TABLE `t_rule_new`
ADD COLUMN IF NOT EXISTS `image_search`  tinyint(1) NULL DEFAULT 0 AFTER `inventory_modular_edit`;

ALTER TABLE `t_product`
ADD COLUMN IF NOT EXISTS `search_id` int(11) NULL AFTER `product_public_notes`,
ADD COLUMN IF NOT EXISTS `search_status` int(11) NULL AFTER `search_id`;

ALTER TABLE `t_collection`
ADD COLUMN IF NOT EXISTS `search_id` int(11) NULL AFTER `recv_result`,
ADD COLUMN IF NOT EXISTS `search_status` int(11) NULL AFTER `search_id`;

ALTER TABLE `t_customer_group`
ADD COLUMN IF NOT EXISTS `permission`  tinyint(1) NULL DEFAULT 1 AFTER `deleteAt`,
ADD COLUMN IF NOT EXISTS `user_ids`  text CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `permission`;

ALTER TABLE `t_rule_new`
ADD COLUMN IF NOT EXISTS `product_confidential_set`  tinyint(1) NULL DEFAULT 0 AFTER `product_cost_view`,
ADD COLUMN IF NOT EXISTS `product_confidential_use`  tinyint(1) NULL DEFAULT 0 AFTER `product_confidential_set`;

ALTER TABLE `t_product`
ADD COLUMN IF NOT EXISTS  `product_cabinet_id`  int(11) NULL AFTER `search_status`;

ALTER TABLE `t_product` ADD FOREIGN KEY (`product_cabinet_id`) REFERENCES `t_confidential_cabinet` (`cabinet_id`) ON DELETE SET NULL ON UPDATE CASCADE;

-- ----------------------------
-- Table structure for t_confidential_cabinet
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_confidential_cabinet` (
  `cabinet_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '公司单号ID',
  `cabinet_name` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `permission` tinyint(1) DEFAULT 0,
  `user_ids` text COLLATE utf8_bin DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  PRIMARY KEY (`cabinet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for t_confidential_lock
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_confidential_lock` (
  `lock_id` int(11) NOT NULL AUTO_INCREMENT,
  `lock_name` varchar(20) COLLATE utf8_bin NOT NULL DEFAULT '',
  `lock_password` varchar(50) COLLATE utf8_bin NOT NULL DEFAULT '',
  `lock_time` varchar(25) COLLATE utf8_bin DEFAULT '',
  `user_id` int(11) DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  PRIMARY KEY (`lock_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for t_confidential_relation
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_confidential_relation` (
  `relation_id` int(11) NOT NULL AUTO_INCREMENT,
  `lock_id` int(11) NOT NULL,
  `cabinet_id` int(11) NOT NULL,
  PRIMARY KEY (`relation_id`),
  KEY `lock_id` (`lock_id`),
  KEY `cabinet_id` (`cabinet_id`),
  CONSTRAINT `t_confidential_relation_ibfk_1` FOREIGN KEY (`lock_id`) REFERENCES `t_confidential_lock` (`lock_id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `t_confidential_relation_ibfk_2` FOREIGN KEY (`cabinet_id`) REFERENCES `t_confidential_cabinet` (`cabinet_id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

-- ----------------------------
-- Table structure for t_product_share_error
-- ----------------------------
CREATE TABLE IF NOT EXISTS `t_product_share_error` (
  `error_id` int(11) NOT NULL AUTO_INCREMENT,
  `error_ip` varchar(30) COLLATE utf8_bin NOT NULL DEFAULT '',
  `error_number` tinyint(1) DEFAULT NULL,
  `error_time` datetime DEFAULT NULL,
  PRIMARY KEY (`error_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

ALTER TABLE `t_product_share`
ADD COLUMN IF NOT EXISTS `hits` int(11) NULL DEFAULT 0 AFTER `share_password`;

ALTER TABLE `t_rule_new`
ADD COLUMN IF NOT EXISTS `customer_modular_group_secrecy`  tinyint(1) NULL DEFAULT 0 AFTER `product_confidential_use`;

ALTER TABLE `t_inventory`
ADD COLUMN IF NOT EXISTS `warehouse_other_description`  varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' AFTER `inventory_quantity_unit`;

REPLACE INTO `t_affair_system_column_group` (`group_id`, `group_name`) VALUES ('10', '成本');
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (332, 0, 8, 31, '暂停时间', 'suspended_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', 6, '', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (333, 0, 8, 31, '启动时间', 'activate_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', 6, '', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (334, 221, 6, 999910, '其他描述', 'warehouse_other_description', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', 1, '{\"regex\":\"\",\"tips\":\"设置其他描述\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (17, 15, 2, 9999, '手机号码', 'sale_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', 0, '{\"regex\":\"/^1\\d{10}$/\",\"tips\":\"填入11位手机号码\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (235, 221, 6, 999912, '库存数量', 'warehouse_inventory_quantity', '[]', '{\"key\":\"string\",\"value\":\"255\"}', -1, '{\"regex\":\"\",\"tips\":\"\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (247, 0, 7, 2, '账户', 'account_category', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', 35, '{\"regex\":\"\",\"tips\":\"请选择账户\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (331, 0, 5, 12, '停机事由', 'stop_reason_name', '[{\"key\":\"stop_reason_id\"}]', '{\"key\":\"stop_reason_id\",\"value\":\"stop_reason_name\"}', 39, '{\"regex\":\"\",\"tips\":\"选择暂停事由\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (4, 0, 1, 9, '出码率', 'product_weight', '[{\"key\":\"yard/kg\",\"value\":\"码/公斤\"},{\"key\":\"one/kg\",\"value\":\"条/公斤\"},{\"key\":\"m/kg\",\"value\":\"米/公斤\"},{\"key\":\"slice/kg\",\"value\":\"片/公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (12, 0, 3, 1, '销售价格', 'sale_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (14, 0, 3, 3, '销售数量', 'sale_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (26, 0, 3, 8, '采购价格', 'purchase_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (28, 0, 3, 10, '采购数量', 'purchase_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (40, 0, 4, 2, '加工价格', 'machining_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (42, 0, 4, 4, '加工数量', 'machining_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (146, 0, 6, 2, '入库数量', 'in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (147, 0, 6, 5, '出库数量', 'out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (148, 0, 6, 6, '库存数量', 'inventory_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (157, 0, 3, 5, '退货价格', 'sale_refund_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (159, 0, 3, 4, '退货数量', 'sale_refund_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (163, 0, 9, 10, '数量', 'public_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (217, 0, 9, 5, '价格', 'public_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (231, 0, 6, 3, '要求入库数量', 'requirement_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (232, 0, 6, 4, '实际入库数量', 'actual_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (233, 0, 6, 7, '要求出库数量', 'requirement_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (234, 0, 6, 8, '实际出库数量', 'actual_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (237, 0, 9, 7, '成品价格', 'public_finished_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (238, 0, 9, 9, '胚布价格', 'public_embryo_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (258, 0, 4, 5, '要求进仓数量', 'requirement_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (259, 0, 4, 6, '实际进仓数量', 'actual_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (260, 0, 4, 7, '出仓数量', 'out_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (335, 0, 9, 15, '核对数量', 'check_amount', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 1, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (336, 0, 8, 32, '确认时间', 'confirm_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', 6, '', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (337, 0, 8, 33, '收到时间', 'received_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', 6, '', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (238, 0, 9, 9, '胚布价格', 'public_embryo_price', '[{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (338, 0, 6, 10, '同步数量', 'synchronous_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);

REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (4, 0, 1, 9, '出码率', 'product_weight', '[{\"key\":\"yard/kg\",\"value\":\"码/公斤\"},{\"key\":\"one/kg\",\"value\":\"条/公斤\"},{\"key\":\"m/kg\",\"value\":\"米/公斤\"},{\"key\":\"slice/kg\",\"value\":\"片/公斤\"},{\"key\":\"pcs/kg\",\"value\":\"粒/公斤\"},{\"key\":\"jin/kg\",\"value\":\"斤/公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (12, 0, 3, 1, '销售价格', 'sale_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (14, 0, 3, 3, '销售数量', 'sale_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (26, 0, 3, 8, '采购价格', 'purchase_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (28, 0, 3, 10, '采购数量', 'purchase_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (40, 0, 4, 2, '加工价格', 'machining_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (42, 0, 4, 4, '加工数量', 'machining_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (146, 0, 6, 2, '入库数量', 'in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (147, 0, 6, 5, '出库数量', 'out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (148, 0, 6, 6, '库存数量', 'inventory_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (157, 0, 3, 5, '退货价格', 'sale_refund_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (159, 0, 3, 4, '退货数量', 'sale_refund_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (163, 0, 9, 10, '数量', 'public_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (217, 0, 9, 5, '价格', 'public_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (231, 0, 6, 3, '要求入库数量', 'requirement_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (232, 0, 6, 4, '实际入库数量', 'actual_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (233, 0, 6, 7, '要求出库数量', 'requirement_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (234, 0, 6, 8, '实际出库数量', 'actual_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (237, 0, 9, 7, '成品价格', 'public_finished_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (258, 0, 4, 5, '要求进仓数量', 'requirement_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (259, 0, 4, 6, '实际进仓数量', 'actual_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (260, 0, 4, 7, '出仓数量', 'out_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (335, 0, 9, 15, '核对数量', 'check_amount', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 1, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (338, 0, 6, 10, '同步数量', 'synchronous_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},\r\n{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);

ALTER TABLE `t_inventory_record`
ADD COLUMN IF NOT EXISTS `user_id`  int(11) NULL AFTER `utime`;

ALTER TABLE `t_documentary_step`
ADD COLUMN IF NOT EXISTS `tag_ids` text CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL AFTER `utime`;

ALTER TABLE `t_affair_system_column`
MODIFY COLUMN `column_unit` varchar(500) CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT '[]' AFTER `column_name`;

REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (4, 0, 1, 9, '出码率', 'product_weight', '[{\"key\":\"yard/kg\",\"value\":\"码/公斤\"},{\"key\":\"one/kg\",\"value\":\"条/公斤\"},{\"key\":\"m/kg\",\"value\":\"米/公斤\"},{\"key\":\"slice/kg\",\"value\":\"片/公斤\"},{\"key\":\"pcs/kg\",\"value\":\"粒/公斤\"},{\"key\":\"jin/kg\",\"value\":\"斤/公斤\"},{\"key\":\"set/kg\",\"value\":\"套/公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (12, 0, 3, 1, '销售价格', 'sale_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (14, 0, 3, 3, '销售数量', 'sale_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (26, 0, 3, 8, '采购价格', 'purchase_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (28, 0, 3, 10, '采购数量', 'purchase_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (40, 0, 4, 2, '加工价格', 'machining_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (42, 0, 4, 4, '加工数量', 'machining_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (146, 0, 6, 2, '入库数量', 'in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (147, 0, 6, 5, '出库数量', 'out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (148, 0, 6, 6, '库存数量', 'inventory_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (157, 0, 3, 5, '退货价格', 'sale_refund_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (159, 0, 3, 4, '退货数量', 'sale_refund_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (163, 0, 9, 10, '数量', 'public_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, 'PriceQuantity', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (217, 0, 9, 5, '价格', 'public_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, 'PriceQuantity', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (231, 0, 6, 3, '要求入库数量', 'requirement_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (232, 0, 6, 4, '实际入库数量', 'actual_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (233, 0, 6, 7, '要求出库数量', 'requirement_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (234, 0, 6, 8, '实际出库数量', 'actual_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (237, 0, 9, 7, '成品价格', 'public_finished_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (238, 0, 9, 9, '胚布价格', 'public_embryo_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', 0, '', 2, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (258, 0, 4, 5, '要求进仓数量', 'requirement_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (259, 0, 4, 6, '实际进仓数量', 'actual_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (260, 0, 4, 7, '出仓数量', 'out_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 0, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 1, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (335, 0, 9, 15, '核对数量', 'check_amount', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', 1, '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', 0, '', 0, NULL);
REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `status`) VALUES (338, 0, 6, 10, '同步数量', 'synchronous_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', 13, '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', 0, '', 1, NULL);

ALTER TABLE `t_machine_calculation`
ADD COLUMN IF NOT EXISTS `object_key`  varchar(25) NULL AFTER `stop_reason_id`,
ADD COLUMN IF NOT EXISTS `calculation_value`  decimal(22,2) NULL AFTER `object_key`,
ADD COLUMN IF NOT EXISTS `needle_position`  int(11) NULL AFTER `calculation_value`,
ADD COLUMN IF NOT EXISTS `net_needle`  int(11) NULL AFTER `needle_position`,
ADD COLUMN IF NOT EXISTS `product_specification`  varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' AFTER `net_needle`,
ADD COLUMN IF NOT EXISTS `machine_production_state`  tinyint(1) NULL DEFAULT 0 AFTER `product_specification`;

ALTER TABLE `t_product`
ADD COLUMN IF NOT EXISTS  `product_partially`  text CHARACTER SET utf8mb4 NULL AFTER `product_cabinet_id`;

CREATE TABLE IF NOT EXISTS `t_product_watermark` (
  `watermark_id` int(11) NOT NULL AUTO_INCREMENT,
  `product_id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `ctime` datetime DEFAULT NULL,
  `utime` datetime DEFAULT NULL,
  `watermark_name` varchar(50) COLLATE utf8_bin DEFAULT '',
  `logo_image_id` int(11) DEFAULT NULL,
  `watermark_title` varchar(50) COLLATE utf8_bin DEFAULT '',
  `font_type` tinyint(1) DEFAULT 0,
  `watermark_colour` varchar(50) COLLATE utf8_bin DEFAULT '',
  `transparency` int(11) DEFAULT 0,
  `font_szie` int(11) DEFAULT 0,
  `row_number` int(11) DEFAULT 0,
  `row_spacing` int(11) DEFAULT 0,
  `column_number` int(11) DEFAULT 0,
  `column_spacing` int(11) DEFAULT 0,
  `angle` int(11) DEFAULT 0,
  PRIMARY KEY (`watermark_id`,`product_id`),
  UNIQUE KEY `watermark_id` (`watermark_id`) USING BTREE,
  UNIQUE KEY `product_id` (`product_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=utf8 COLLATE=utf8_bin ROW_FORMAT=DYNAMIC;

ALTER TABLE `t_rule_new`
ADD COLUMN IF NOT EXISTS `product_watermark`  tinyint(1) NULL DEFAULT 0 AFTER `customer_modular_group_secrecy`;

UPDATE `t_affair_system_column` SET `column_unit`='[{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]' WHERE (`column_id`='238') AND (`column_name`='public_embryo_price') LIMIT 1;

ALTER TABLE `t_bill`
ADD COLUMN IF NOT EXISTS `bill_use_template` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL AFTER `bill_set_explain`;

ALTER TABLE `t_bill_order`
ADD COLUMN IF NOT EXISTS `order_first_time` datetime NULL AFTER `bill_pnames`,
ADD COLUMN IF NOT EXISTS `order_last_time` datetime NULL AFTER `order_first_time`;

ALTER TABLE `t_bill_order`
MODIFY COLUMN IF EXISTS `bill_order_number`  varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' AFTER `user_name`,
ADD UNIQUE INDEX (`bill_order_number`) USING BTREE;

ALTER TABLE `t_customized`
ADD COLUMN IF NOT EXISTS `view_permission`  tinyint(1) NULL DEFAULT 2 AFTER `customized_other`,
ADD COLUMN IF NOT EXISTS `view_user_ids`  text CHARACTER SET utf8 COLLATE utf8_bin NULL AFTER `view_permission`;

ALTER TABLE `t_affair_system_column`
ADD COLUMN IF NOT EXISTS `column_calculation` text COLLATE utf8_bin DEFAULT NULL AFTER `column_detachable`;

REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('1', '0', '1', '1', '产品型号', 'product_pname', '[{\"key\":\"product_id\"}]', '{\"key\":\"product_id\",\"value\":\"product_pname\"}', '7', '{\"regex\":\"\",\"tips\":\"选择产品型号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('2', '0', '1', '3', '花高', 'product_height', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('3', '0', '1', '6', '花宽', 'product_width', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('4', '0', '1', '9', '出码率', 'product_weight', '[{\"key\":\"yard/kg\",\"value\":\"码/公斤\"},{\"key\":\"one/kg\",\"value\":\"条/公斤\"},{\"key\":\"m/kg\",\"value\":\"米/公斤\"},{\"key\":\"slice/kg\",\"value\":\"片/公斤\"},{\"key\":\"pcs/kg\",\"value\":\"粒/公斤\"},{\"key\":\"jin/kg\",\"value\":\"斤/公斤\"},{\"key\":\"set/kg\",\"value\":\"套/公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('5', '0', '1', '5', '净拉花高', 'product_freeheight', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('6', '0', '1', '10', '弹力类型', 'product_elasticity', '[{\"key\":\"1\",\"value\":\"有弹\"},{\"key\":\"2\",\"value\":\"无弹\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择弹力类型单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('7', '0', '1', '2', '产品类型', 'product_type', '[{\"key\":\"1\",\"value\":\"面料\"},{\"key\":\"2\",\"value\":\"小边\"},{\"key\":\"3\",\"value\":\"大边\"},{\"key\":\"4\",\"value\":\"睫毛\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择产品类型单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('8', '0', '1', '11', '颜色', 'product_color', '[{\"key\":\"all\",\"value\":\"胚布,本白,黑,红,黄\",\"acq\":\"胚布\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"产品颜色\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('9', '0', '1', '13', '色牢度', 'product_color_fastness', '[{\"key\":\"1\",\"value\":\"2级\"},{\"key\":\"2\",\"value\":\"2.5级\"},{\"key\":\"3\",\"value\":\"3级\"},{\"key\":\"4\",\"value\":\"3.5级\"},{\"key\":\"5\",\"value\":\"4级\"},{\"key\":\"6\",\"value\":\"4.5级\"},{\"key\":\"7\",\"value\":\"5级\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择色牢度单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('10', '0', '1', '14', '材质', 'product_material', '[{\"key\":\"all\",\"value\":\"锦氨,涤氨,全棉,全涤,人造丝,棉\",\"acq\":\"锦氨\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"产品材质\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('11', '0', '1', '15', '开机密度', 'boot_density', '[{\"key\":\"eye\",\"value\":\"眼\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('12', '0', '3', '1', '销售价格', 'sale_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', 'PriceQuantity', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('13', '0', '3', '2', '销售总额', 'sale_total_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('14', '0', '3', '3', '销售数量', 'sale_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('15', '0', '2', '1', '销售对象', 'sale_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('16', '15', '2', '9999', '客户姓名', 'sale_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('17', '15', '2', '9999', '手机号码', 'sale_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^1\\d{10}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('18', '15', '2', '9999', '客户QQ', 'sale_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('19', '15', '2', '9999', '客户邮箱', 'sale_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('20', '15', '2', '9999', '公司名称', 'sale_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('21', '15', '2', '9999', '公司地址', 'sale_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('22', '15', '2', '9999', '公司固话', 'sale_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('23', '15', '2', '9999', '公司邮箱', 'sale_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('24', '15', '2', '9999', '公司传真', 'sale_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('25', '15', '2', '9999', '公司QQ', 'sale_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('26', '0', '3', '8', '采购价格', 'purchase_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', 'PriceQuantity', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('27', '0', '3', '9', '采购总额', 'purchase_total_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('28', '0', '3', '10', '采购数量', 'purchase_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('29', '0', '2', '2', '采购对象', 'purchase_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('30', '29', '2', '9999', '客户姓名', 'purchase_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('31', '29', '2', '9999', '手机号码', 'purchase_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('32', '29', '2', '9999', '客户QQ', 'purchase_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('33', '29', '2', '9999', '客户邮箱', 'purchase_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('34', '29', '2', '9999', '公司名称', 'purchase_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('35', '29', '2', '9999', '公司地址', 'purchase_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('36', '29', '2', '9999', '公司固话', 'purchase_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('37', '29', '2', '9999', '公司邮箱', 'purchase_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('38', '29', '2', '9999', '公司传真', 'purchase_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('39', '29', '2', '9999', '公司QQ', 'purchase_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('40', '0', '4', '2', '加工价格', 'machining_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', 'PriceQuantity', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('41', '0', '4', '3', '加工总额', 'machining_total_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('42', '0', '4', '4', '加工数量', 'machining_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('43', '0', '2', '3', '加工对象', 'machining_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('44', '43', '2', '9999', '客户姓名', 'machining_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('45', '43', '2', '9999', '手机号码', 'machining_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/ \",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('46', '43', '2', '9999', '客户QQ', 'machining_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('47', '43', '2', '9999', '客户邮箱', 'machining_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('48', '43', '2', '9999', '公司名称', 'machining_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('49', '43', '2', '9999', '公司地址', 'machining_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('50', '43', '2', '9999', '公司固话', 'machining_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('51', '43', '2', '9999', '公司邮箱', 'machining_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('52', '43', '2', '9999', '公司传真', 'machining_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('53', '43', '2', '9999', '公司QQ', 'machining_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('54', '0', '4', '1', '加工类别', 'machining_type', '[{\"key\":\"all\",\"value\":\"割边,染色,绣花\",\"acq\":\"割边\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"加工类别\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('55', '0', '2', '7', '割边店', 'coped_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('56', '55', '2', '9999', '客户姓名', 'coped_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('57', '55', '2', '9999', '手机号码', 'coped_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('58', '55', '2', '9999', '客户QQ', 'coped_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('59', '55', '2', '9999', '客户邮箱', 'coped_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('60', '55', '2', '9999', '公司名称', 'coped_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('61', '55', '2', '9999', '公司地址', 'coped_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('62', '55', '2', '9999', '公司固话', 'coped_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('63', '55', '2', '9999', '公司邮箱', 'coped_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('64', '55', '2', '9999', '公司传真', 'coped_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('65', '55', '2', '9999', '公司QQ', 'coped_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('66', '0', '2', '6', '染厂', 'dyeing_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('67', '66', '2', '9999', '客户姓名', 'dyeing_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('68', '66', '2', '9999', '手机号码', 'dyeing_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('69', '66', '2', '9999', '客户QQ', 'dyeing_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('70', '66', '2', '9999', '客户邮箱', 'dyeing_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('71', '66', '2', '9999', '公司名称', 'dyeing_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('72', '66', '2', '9999', '公司地址', 'dyeing_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('73', '66', '2', '9999', '公司固话', 'dyeing_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('74', '66', '2', '9999', '公司邮箱', 'dyeing_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('75', '66', '2', '9999', '公司传真', 'dyeing_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('76', '66', '2', '9999', '公司QQ', 'dyeing_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('77', '0', '2', '8', '刺绣店', 'embroidery_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('78', '77', '2', '9999', '客户姓名', 'embroidery_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('79', '77', '2', '9999', '手机号码', 'embroidery_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('80', '77', '2', '9999', '客户QQ', 'embroidery_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('81', '77', '2', '9999', '客户邮箱', 'embroidery_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('82', '77', '2', '9999', '公司名称', 'embroidery_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('83', '77', '2', '9999', '公司地址', 'embroidery_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('84', '77', '2', '9999', '公司固话', 'embroidery_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('85', '77', '2', '9999', '公司邮箱', 'embroidery_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('86', '77', '2', '9999', '公司传真', 'embroidery_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('87', '77', '2', '9999', '公司QQ', 'embroidery_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('88', '0', '3', '11', '物流价格', 'logistics_price', '[{\"key\":\"yuan/piece\",\"value\":\"元/件\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', 'logistics', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('89', '0', '3', '12', '物流数量', 'logistics_quantity', '[{\"key\":\"piece\",\"value\":\"件\"},{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'logistics', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('90', '0', '2', '11', '物流公司', 'logistics_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('91', '90', '2', '9999', '客户姓名', 'logistics_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('92', '90', '2', '9999', '手机号码', 'logistics_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('93', '90', '2', '9999', '客户QQ', 'logistics_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('94', '90', '2', '9999', '客户邮箱', 'logistics_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('95', '90', '2', '9999', '公司名称', 'logistics_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('96', '90', '2', '9999', '公司地址', 'logistics_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('97', '90', '2', '9999', '公司固话', 'logistics_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('98', '90', '2', '9999', '公司邮箱', 'logistics_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('99', '90', '2', '9999', '公司传真', 'logistics_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('100', '90', '2', '9999', '公司QQ', 'logistics_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('101', '0', '2', '4', '送货对象', 'delivery_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('102', '101', '2', '9999', '客户姓名', 'delivery_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('103', '101', '2', '9999', '手机号码', 'delivery_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('104', '101', '2', '9999', '客户QQ', 'delivery_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('105', '101', '2', '9999', '客户邮箱', 'delivery_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('106', '101', '2', '9999', '公司名称', 'delivery_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('107', '101', '2', '9999', '公司地址', 'delivery_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('108', '101', '2', '9999', '公司固话', 'delivery_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('109', '101', '2', '9999', '公司邮箱', 'delivery_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('110', '101', '2', '9999', '公司传真', 'delivery_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('111', '101', '2', '9999', '公司QQ', 'delivery_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('112', '0', '5', '1', '机台选择', 'machine_number', '[{\"key\":\"machine_id\"}]', '{\"key\":\"machine\",\"value\":\"machine_number\"}', '9', '{\"regex\":\"\",\"tips\":\"填写机台编号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('113', '0', '5', '2', '机型', 'model_name', '[{\"key\":\"model_id\"}]', '{\"key\":\"model_id\",\"value\":\"model_name\"}', '10', '{\"regex\":\"\",\"tips\":\"填写机型编号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('114', '0', '5', '9', '生产数量', 'production_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('115', '0', '5', '10', '计划生产数量', 'plan_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('116', '0', '5', '11', '实际生产数量', 'reality_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('117', '0', '1', '16', '成品密度', 'finished_density', '[{\"key\":\"eye\",\"value\":\"眼\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('118', '0', '1', '19', '捻度', 'twist', '[{\"key\":\"rpm\",\"value\":\"转\"}]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('119', '0', '1', '20', '梳节数', 'combing_amount', '[{\"key\":\"hold\",\"value\":\"把\"}]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('120', '0', '1', '21', '纱数', 'yarn_amount', '[{\"key\":\"pcs\",\"value\":\"粒\"}]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('121', '0', '1', '22', '净针', 'net_needle', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('122', '0', '1', '17', '原料成分', 'material_composition', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"原料\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('123', '0', '1', '18', '原料规格', 'product_specification', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"规格\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('124', '0', '2', '5', '原料厂', 'material_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('125', '124', '2', '9999', '客户姓名', 'material_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('126', '124', '2', '9999', '手机号码', 'material_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('127', '124', '2', '9999', '客户QQ', 'material_customer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('128', '124', '2', '9999', '客户邮箱', 'material_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('129', '124', '2', '9999', '公司名称', 'material_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('130', '124', '2', '9999', '公司地址', 'material_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('131', '124', '2', '9999', '公司固话', 'material_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('132', '124', '2', '9999', '公司邮箱', 'material_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('133', '124', '2', '9999', '公司传真', 'material_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('134', '124', '2', '9999', '公司QQ', 'material_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('135', '0', '8', '10', '要求交货时间', 'requirement_delivery_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('136', '0', '8', '11', '实际发货时间', 'actual_delivery_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('137', '0', '8', '12', '交货周期', 'delivery_cycle', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('138', '0', '8', '13', '验货时间', 'inspection_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('139', '0', '8', '30', '时间', 'data_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('140', '0', '8', '8', '入库时间', 'in_warehouse_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('141', '0', '8', '9', '出库时间', 'out_warehouse_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('142', '0', '8', '14', '开始时间', 'start_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('143', '0', '8', '15', '结束时间', 'end_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('144', '0', '8', '5', '停机时间', 'stop_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('145', '0', '8', '4', '开机时间', 'boot_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('146', '0', '6', '2', '入库数量', 'in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('147', '0', '6', '5', '出库数量', 'out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('148', '0', '6', '6', '库存数量', 'inventory_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('149', '0', '6', '9', '存放区域', 'storage_area', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"存放区域\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('150', '0', '9', '2', '图片', 'public_image', '[]', '{\"key\":\"strip\",\"value\":\"6\"}', '4', '{\"regex\":\"\",\"tips\":\"最多6张图片\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('151', '0', '9', '1', '语音', 'public_voice', '[]', '{\"key\":\"strip\",\"value\":\"6\"}', '5', '{\"regex\":\"\",\"tips\":\"最多6条语音\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('152', '0', '4', '11', '前处理', 'dyeing_pretreatment', '[{\"key\":\"1\",\"value\":\"是\"},{\"key\":\"2\",\"value\":\"否\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"是否\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('153', '0', '4', '12', '手感', 'dyeing_feel', '[{\"key\":\"all\",\"value\":\"软,平滑,白糊,树胶\",\"acq\":\"软\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '11', '{\"regex\":\"\",\"tips\":\"\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('154', '0', '8', '2', '销售时间', 'sale_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('155', '0', '8', '19', '付款时间', 'payment_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('156', '0', '8', '18', '收款时间', 'receivables_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('157', '0', '3', '5', '退货价格', 'sale_refund_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', 'PriceQuantity', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('158', '0', '3', '6', '退货总额', 'sale_refund_total_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('159', '0', '3', '4', '退货数量', 'sale_refund_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('160', '0', '7', '8', '收取现金', 'sale_collect_cash', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('161', '0', '7', '9', '支出现金', 'purchase_pay_cash', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('162', '0', '9', '4', '金额', 'public_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('163', '0', '9', '10', '数量', 'public_quantity', '[{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('164', '0', '2', '15', '公司客户', 'public_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('165', '164', '2', '9999', '客户姓名', 'public_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('166', '164', '2', '9999', '手机号码', 'public_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('167', '164', '2', '9999', '客户QQ', 'public_ustomer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('168', '164', '2', '9999', '客户邮箱', 'public_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('169', '164', '2', '9999', '公司名称', 'public_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('170', '164', '2', '9999', '公司地址', 'public_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('171', '164', '2', '9999', '公司固话', 'public_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('172', '164', '2', '9999', '公司邮箱', 'public_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('173', '164', '2', '9999', '公司传真', 'public_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('174', '164', '2', '9999', '公司QQ', 'public_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('175', '0', '2', '13', '收款对象', 'receivables_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('176', '175', '2', '9999', '客户姓名', 'receivables_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('177', '175', '2', '9999', '手机号码', 'receivables_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('178', '175', '2', '9999', '客户QQ', 'receivables_ustomer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('179', '175', '2', '9999', '客户邮箱', 'receivables_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('180', '175', '2', '9999', '公司名称', 'receivables_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('181', '175', '2', '9999', '公司地址', 'receivables_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('182', '175', '2', '9999', '公司固话', 'receivables_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('183', '175', '2', '9999', '公司邮箱', 'receivables_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('184', '175', '2', '9999', '公司传真', 'receivables_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('185', '175', '2', '9999', '公司QQ', 'receivables_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('186', '0', '7', '1', '收款金额', 'receivables_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('187', '0', '2', '12', '付款对象', 'payment_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('188', '187', '2', '9999', '客户姓名', 'payment_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('189', '187', '2', '9999', '手机号码', 'payment_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/ \",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('190', '187', '2', '9999', '客户QQ', 'payment_ustomer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('191', '187', '2', '9999', '客户邮箱', 'payment_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('192', '187', '2', '9999', '公司名称', 'payment_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('193', '187', '2', '9999', '公司地址', 'payment_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('194', '187', '2', '9999', '公司固话', 'payment_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('195', '187', '2', '9999', '公司邮箱', 'payment_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('196', '187', '2', '9999', '公司传真', 'payment_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('197', '187', '2', '9999', '公司QQ', 'payment_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('198', '0', '7', '3', '付款金额', 'payment_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('199', '0', '9', '3', '备注', 'public_note', '[]', '{\"key\":\"string\",\"value\":\"500\"}', '1', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('200', '0', '7', '7', '银行卡号', 'public_bank_number', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"30\"}', '11', '{\"regex\":\"/^[0-9\\\\s]{8,24}$/\",\"tips\":\" 请填入正确的银行卡号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('201', '0', '9', '11', '粒数', 'public_grain', '[]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('202', '0', '1', '4', '胚布花高', 'product_cloth_height', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('203', '0', '1', '7', '胚布花宽', 'product_cloth_width', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('204', '0', '1', '8', '净拉花宽', 'product_freewidtht', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('205', '0', '4', '10', '预定型', 'predetermined_type', '[{\"key\":\"1\",\"value\":\"是\"},{\"key\":\"2\",\"value\":\"否\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"是否\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('206', '0', '5', '5', '针位', 'needle_position', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('207', '0', '5', '6', '匹数', 'machine_horse', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('208', '0', '5', '7', '单匹重量', 'single_weight', '[{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('209', '0', '5', '8', '管重量', 'pipe_weight', '[{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('210', '0', '7', '6', '银行名称', 'public_bank_name', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('211', '0', '8', '1', '订单时间', 'order_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('212', '0', '8', '3', '采购时间', 'purchase_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('213', '0', '8', '6', '计划开机时间', 'plan_boot_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('214', '0', '8', '7', '计划停机时间', 'plan_stop_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('215', '0', '8', '16', '延长时间', 'expand_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('216', '0', '8', '17', '缩短时间', 'shorten_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('217', '0', '9', '5', '价格', 'public_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', 'PriceQuantity', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('218', '0', '9', '6', '总额', 'public_total', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('219', '0', '9', '8', '重量', 'public_weight', '[{\"key\":\"kg\",\"value\":\"公斤\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', 'PriceQuantity', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('220', '0', '8', '22', '下布时间', 'lower_cloth_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('221', '0', '6', '1', '仓库货物', 'warehouse_goods', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '12', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('222', '221', '6', '99991', '产品型号', 'warehouse_product_pname', '[{\"key\":\"warehouse_product_id\"}]', '{\"key\":\"product_id\",\"value\":\"product_pname\"}', '7', '{\"regex\":\"\",\"tips\":\"选择产品型号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('223', '221', '6', '99993', '颜色', 'warehouse_product_color', '[{\"key\":\"all\",\"value\":\"胚布,本白,黑,红,黄\",\"acq\":\"胚布\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"产品颜色\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('224', '0', '1', '12', '色号', 'product_color_number', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"色号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('225', '221', '6', '99994', '色号', 'warehouse_product_color_number', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"色号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('226', '221', '6', '99995', '花高', 'warehouse_product_height', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('227', '221', '6', '99996', '花宽', 'warehouse_product_width', '[{\"key\":\"cm\",\"value\":\"厘米\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('228', '221', '6', '99997', '原料成分', 'warehouse_material_composition', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"原料\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('229', '221', '6', '99998', '机台选择', 'warehouse_machine_number', '[{\"key\":\"warehouse_machine_id\"}]', '{\"key\":\"machine_id\",\"value\":\"machine_number\"}', '9', '{\"regex\":\"\",\"tips\":\"填写机台编号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('230', '221', '6', '99999', '存放区域', 'warehouse_storage_area', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"存放区域\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('231', '0', '6', '3', '要求入库数量', 'requirement_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('232', '0', '6', '4', '实际入库数量', 'actual_in_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('233', '0', '6', '7', '要求出库数量', 'requirement_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('234', '0', '6', '8', '实际出库数量', 'actual_out_warehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('235', '221', '6', '999912', '库存数量', 'warehouse_inventory_quantity', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '-1', '{\"regex\":\"\",\"tips\":\"\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('236', '0', '5', '4', '盘头类型', 'pan_head_type', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"盘头类型\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('237', '0', '9', '7', '成品价格', 'public_finished_price', '[{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('238', '0', '9', '9', '胚布价格', 'public_embryo_price', '[{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"},{\"key\":\"yuan/yard\",\"value\":\"元/码\"},{\"key\":\"yuan/one\",\"value\":\"元/条\"},{\"key\":\"yuan/m\",\"value\":\"元/米\"},{\"key\":\"yuan/slice\",\"value\":\"元/片\"},{\"key\":\"yuan/pcs\",\"value\":\"元/粒\"},{\"key\":\"yuan/jin\",\"value\":\"元/斤\"},{\"key\":\"yuan/set\",\"value\":\"元/套\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('239', '0', '4', '13', '进仓卡号', 'jincang_card', '[]', '{\"key\":\"string\",\"value\":\"50\"}', '0', '{\"regex\":\"\",\"tips\":\" 最多50个字符\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('240', '0', '4', '15', '出仓卡号', 'chucang_card', '[]', '{\"key\":\"string\",\"value\":\"50\"}', '0', '{\"regex\":\"\",\"tips\":\" 最多50个字符\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('241', '0', '4', '14', '颜色单价', 'color _price', '[{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('242', '0', '4', '16', '手感单价', 'handle_feel_price', '[{\"key\":\"yuan/kg\",\"value\":\"元/公斤\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('243', '0', '4', '17', '包装单价', 'packing_price', '[{\"key\":\"yuan/rolls\",\"value\":\"元/卷\"}]', '{\"key\":\"double\",\"value\":\"3\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,3})?$/\",\"tips\":\"只能为数字和3位小数点\"}', '0', '', '2', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('244', '0', '4', '18', '包装数量', 'packing_quantity', '[{\"key\":\"rolls\",\"value\":\"卷\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('245', '0', '5', '3', '盘头沙数', 'pan_head_sand_number', '[{\"key\":\"one\",\"value\":\"条\"}]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0|[1-9][0-9]{0,18}$/\",\"tips\":\"请填入1到18位纯数字\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('246', '0', '3', '13', '收货地址', 'receiving_address', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"收货地址\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('247', '0', '7', '2', '账户', 'account_category', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '35', '{\"regex\":\"\",\"tips\":\"请选择账户\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('248', '0', '7', '4', '费用名称', 'cost_name', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '11', '{\"regex\":\"\",\"tips\":\"费用名称\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('249', '0', '9', '12', '负责人', 'responsible_user_realname', '[{\"key\":\"responsible_user_id\"}]', '{\"key\":\"user_id\",\"value\":\"user_realname\"}', '24', '{\"regex\":\"\",\"tips\":\"选择负责人\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('250', '0', '9', '13', '审批人', 'approver_user_realname', '[{\"key\":\"approver_user_id\"}]', '{\"key\":\"user_id\",\"value\":\"user_realname\"}', '24', '{\"regex\":\"\",\"tips\":\"选择审批人\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('251', '0', '9', '14', '员工', 'staff_user_realname', '[{\"key\":\"staff_user_id\"}]', '{\"key\":\"user_id\",\"value\":\"user_realname\"}', '24', '{\"regex\":\"\",\"tips\":\"选择员工\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('252', '0', '3', '7', '退货类型', 'sale_refund_type', '[{\"key\":\"1\",\"value\":\"退还货物给客户\"},{\"key\":\"2\",\"value\":\"回收卖出的货物\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择退货类型单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('253', '0', '7', '5', '调账类型', 'adjustment_type', '[{\"key\":\"1\",\"value\":\"减少总额\"},{\"key\":\"2\",\"value\":\"增加总额\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择调账类型单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('254', '0', '8', '23', '加工时间', 'processing_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('255', '0', '8', '26', '退货时间', 'sale_refund_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('256', '0', '8', '27', '对账时间', 'reconciliation_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('257', '0', '3', '14', '发货地址', 'send_address', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"发货地址\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('258', '0', '4', '5', '要求进仓数量', 'requirement_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('259', '0', '4', '6', '实际进仓数量', 'actual_in_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('260', '0', '4', '7', '出仓数量', 'out_storehouse_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('261', '0', '4', '8', '是否清仓', 'clearing_storehouse', '[{\"key\":\"1\",\"value\":\"是\"},{\"key\":\"2\",\"value\":\"否\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"请选择\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('262', '0', '8', '24', '进仓时间', 'in_storehouse_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('263', '0', '8', '25', '出仓时间', 'out_storehouse_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('264', '0', '4', '9', '是否结单', 'knot_order', '[{\"key\":\"1\",\"value\":\"是\"},{\"key\":\"2\",\"value\":\"否\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"请选择\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('265', '0', '2', '14', '收票公司', 'tickets_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('266', '265', '2', '9999', '客户姓名', 'tickets_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('267', '265', '2', '9999', '手机号码', 'tickets_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('268', '265', '2', '9999', '客户QQ', 'tickets_ustomer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('269', '265', '2', '9999', '客户邮箱', 'tickets_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('270', '265', '2', '9999', '公司名称', 'tickets_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('271', '265', '2', '9999', '公司地址', 'tickets_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('272', '265', '2', '9999', '公司固话', 'tickets_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('273', '265', '2', '9999', '公司邮箱', 'tickets_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('274', '265', '2', '9999', '公司传真', 'tickets_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('275', '265', '2', '9999', '公司QQ', 'tickets_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('276', '0', '8', '20', '开票时间', 'ticket_opening_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('277', '0', '8', '21', '收票时间', 'collect_ticket_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('278', '0', '2', '9', '加工店', 'machiningShop_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('279', '278', '2', '9999', '客户姓名', 'machiningShop_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('280', '278', '2', '9999', '手机号码', 'machiningShop_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('281', '278', '2', '9999', '客户QQ', 'machiningShop_ustomer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('282', '278', '2', '9999', '客户邮箱', 'machiningShop_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('283', '278', '2', '9999', '公司名称', 'machiningShop_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('284', '278', '2', '9999', '公司地址', 'machiningShop_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('285', '278', '2', '9999', '公司固话', 'machiningShop_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('286', '278', '2', '9999', '公司邮箱', 'machiningShop_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('287', '278', '2', '9999', '公司传真', 'machiningShop_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('288', '278', '2', '9999', '公司QQ', 'machiningShop_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('289', '0', '2', '10', '剪线厂', 'shearingFactory_object', '', '', '8', '', '1', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('290', '289', '2', '9999', '客户姓名', 'shearingFactory_customer_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('291', '289', '2', '9999', '手机号码', 'shearingFactory_customer_phone', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '{\"regex\":\"/^0?(13|14|15|17|18)[0-9]{9}$/\",\"tips\":\"填入11位手机号码\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('292', '289', '2', '9999', '客户QQ', 'shearingFactory_ustomer_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('293', '289', '2', '9999', '客户邮箱', 'shearingFactory_customer_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('294', '289', '2', '9999', '公司名称', 'shearingFactory_company_name', '[]', '{\"key\":\"string\",\"value\":\"25\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('295', '289', '2', '9999', '公司地址', 'shearingFactory_company_addr', '[]', '{\"key\":\"string\",\"value\":\"255\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('296', '289', '2', '9999', '公司固话', 'shearingFactory_company_tel', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('297', '289', '2', '9999', '公司邮箱', 'shearingFactory_company_email', '[]', '{\"key\":\"email\",\"value\":\"\"}', '0', '{\"regex\":\"\",\"tips\":\"填入正确的邮箱\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('298', '289', '2', '9999', '公司传真', 'shearingFactory_company_fax', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('299', '289', '2', '9999', '公司QQ', 'shearingFactory_company_qq', '[]', '{\"key\":\"integer\",\"value\":\"\"}', '0', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('300', '0', '7', '10', '财务明细', 'financial_details', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '11', '{\"regex\":\"\",\"tips\":\"财务明细\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('301', '0', '1', '24', '供应商型号', 'collection_pname', '[{\"key\":\"collection_id\"}]', '{\"key\":\"collection_id\",\"value\":\"collection_pname\"}', '28', '{\"regex\":\"\",\"tips\":\"选择供应商型号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('302', '0', '1', '23', '克重', 'product_gram_weight', '[{\"key\":\"g/m2\",\"value\":\"平方米克重\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('303', '221', '6', '999911', '备注', 'warehouse_note', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '-1', '{\"regex\":\"\",\"tips\":\"设置备注\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('304', '0', '9', '10', '自建来源', 'self_built_source', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"自建来源\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('305', '221', '6', '99992', '供应商型号', 'warehouse_collection_pname', '[{\"key\":\"warehouse_collection_id\"}]', '{\"key\":\"collection_id\",\"value\":\"collection_pname\"}', '28', '{\"regex\":\"\",\"tips\":\"选择供应商型号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('306', '0', '7', '11', '收款模式', 'receivables_mode', '[{\"key\":\"1\",\"value\":\"全款\"},{\"key\":\"2\",\"value\":\"订金\"},{\"key\":\"3\",\"value\":\"尾款\"},{\"key\":\"4\",\"value\":\"优惠\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择收款模式单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('307', '0', '7', '12', '对应单据', 'bill_order_number', '[]', '{\"key\":\"string\",\"value\":\"50\"}', '34', '{\"regex\":\"\",\"tips\":\"选择票据号\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('308', '0', '7', '13', '转账金额', 'transfer_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('309', '0', '7', '14', '付款类别', 'payment_category', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '11', '{\"regex\":\"\",\"tips\":\"付款类别\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('310', '0', '7', '15', '收款类别', 'receivables_category', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '11', '{\"regex\":\"\",\"tips\":\"收款类别\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('311', '0', '7', '16', '调款类型', 'adjustment_money_type', '[{\"key\":\"1\",\"value\":\"减少总额\"},{\"key\":\"2\",\"value\":\"增加总额\"}]', '{\"key\":\"string\",\"value\":\"25\"}', '2', '{\"regex\":\"\",\"tips\":\"选择调款类型单选\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('312', '0', '7', '17', '调款金额', 'adjustment_amount', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('313', '0', '7', '18', '转入账户', 'transfer_in_category', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '35', '{\"regex\":\"\",\"tips\":\"转入账户\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('314', '0', '7', '19', '转出账户', 'transfer_out_category', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"50\"}', '35', '{\"regex\":\"\",\"tips\":\"转出账户\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('315', '0', '8', '28', '转账时间', 'transfer_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('316', '0', '8', '29', '调款时间', 'adjustment_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('317', '0', '10', '1', '货物净额', 'net_cargo', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('318', '0', '10', '2', '染费', 'dye_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('319', '0', '10', '3', '割边费', 'edge_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('320', '0', '10', '4', '剪线费', 'trimming_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('321', '0', '10', '5', '剪睫毛费', 'eyelashes_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('322', '0', '10', '6', '运费', 'freight_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('323', '0', '10', '7', '快递费', 'express_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('324', '0', '10', '8', '样品费', 'Sample_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('325', '0', '10', '9', '税金', 'taxes_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('326', '0', '10', '10', '人工费', 'labor_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('327', '0', '10', '11', '打卷费', 'marking_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('328', '0', '10', '12', '印花费', 'stamp_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('329', '0', '10', '13', '总成本', 'total_cost', '[{\"key\":\"yuan\",\"value\":\"元\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('330', '0', '4', '19', '对色光源', 'color_light_source', '[{\"key\":\"oneself\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '11', '{\"regex\":\"\",\"tips\":\"对色光源\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('331', '0', '5', '12', '停机事由', 'stop_reason_name', '[{\"key\":\"stop_reason_id\"}]', '{\"key\":\"stop_reason_id\",\"value\":\"stop_reason_name\"}', '39', '{\"regex\":\"\",\"tips\":\"选择暂停事由\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('332', '0', '8', '31', '暂停时间', 'suspended_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('333', '0', '8', '31', '启动时间', 'activate_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('334', '221', '6', '999910', '其他描述', 'warehouse_other_description', '[{\"key\":\"all\",\"value\":\"\"}]', '{\"key\":\"string\",\"value\":\"255\"}', '1', '{\"regex\":\"\",\"tips\":\"设置其他描述\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('335', '0', '9', '15', '核对数量', 'check_amount', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '1', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/ \",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('336', '0', '8', '32', '确认时间', 'confirm_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('337', '0', '8', '33', '收到时间', 'received_time', '[]', '{\"key\":\"date_time\",\"value\":\"1\"}', '6', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('338', '0', '6', '10', '同步数量', 'synchronous_quantity', '[{\"key\":\"kg\",\"value\":\"公斤\"},{\"key\":\"yard\",\"value\":\"码\"},{\"key\":\"kg/yard\",\"value\":\"公斤/码\"},{\"key\":\"one\",\"value\":\"条\"},{\"key\":\"m\",\"value\":\"米\"},{\"key\":\"slice\",\"value\":\"片\"},{\"key\":\"pcs\",\"value\":\"粒\"},{\"key\":\"jin\",\"value\":\"斤\"},{\"key\":\"set\",\"value\":\"套\"}]', '', '13', '{\"regex\":\"\",\"tips\":\"[公斤/码]时应如5.11/6.22\"}', '0', '', '1', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('339', '0', '6', '11', '进货数量', 'in_goods_quantity', '[{\"key\":\"yard\",\"value\":\"码\"}]', '{\"key\":\"double\",\"value\":\"2\"}', '44', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '2', '', '0', '{\"calculation_total\":\"in_goods_quantity_one_yard_mul\",\"calculation_column\":\"in_goods_quantity_one,in_goods_quantity_yard\",\"calculation_operator\":\"*\"}', NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('340', '339', '6', '99991', '匹号', 'in_goods_quantity_pin_number', '[]', '', '45', '', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('341', '339', '6', '99992', '条数', 'in_goods_quantity_one', '[]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('342', '339', '6', '99993', '码数', 'in_goods_quantity_yard', '[]', '{\"key\":\"double\",\"value\":\"2\"}', '0', '{\"regex\":\"/^[0-9]+(.[0-9]{0,2})?$/\",\"tips\":\"只能为数字和2位小数点\"}', '0', '', '0', NULL, NULL);
REPLACE INTO `lacew_mi_prod`.`t_affair_system_column` (`column_id`, `column_pid`, `group_id`, `column_order`, `column_title`, `column_name`, `column_unit`, `column_type`, `column_control`, `column_rule`, `column_is_virtual`, `column_unit_symbiosis`, `column_detachable`, `column_calculation`, `status`) VALUES ('343', '339', '6', '99994', '合计', 'in_goods_quantity_one_yard_mul', '[]', '', '-1', '', '0', '', '0', NULL, NULL);


SET FOREIGN_KEY_CHECKS=1;