
-- 库存管理新增标准版首页脚本
DELETE FROM t_bas_mainpagelayout WHERE FID = 949992343916906496;
INSERT INTO t_bas_mainpagelayout(FID,FCUSTOMABLE,FTYPE,FFORMNUM,FLAYOUT_TAG,FNUMBER,FDISABLETIME,FLAYOUT,FCREATETIME,FISMULTIORG,FENABLE,FMODIFIERID,FISPRESET,FBIZAPPID,FMODIFYTIME,FSCHEMETYPE,FCREATORID,FUSERID,FDISABLERID) VALUES (949992343916906496,'1','app',' ',' ','HP-000094',NULL,'[{"w":4,"h":1,"x":0,"y":0,"i":"453396463301452800","moved":false,"static":false},{"w":4,"h":1,"x":4,"y":0,"i":"453396504699232256","moved":false,"static":false},{"w":4,"h":1,"x":8,"y":0,"i":"632477595513956352","moved":false,"static":false},{"w":6,"h":3,"x":6,"y":1,"i":"632515938297600000","moved":false,"static":false},{"w":6,"h":2,"x":0,"y":2,"i":"632516086683707392","moved":false,"static":false},{"w":6,"h":1,"x":0,"y":1,"i":"657839505449014272","moved":false,"static":false}]',{ts'2020-08-03  17:45:12'},'0','1',935977460745431040,'1','=9Q86DR2P+Q',{ts'2020-08-03  17:46:34'},'1',935977460745431040,0,0); 



DELETE FROM t_bas_mainpagelayout_l WHERE FPKID = '0ZO=ZYWFEO2C';
INSERT INTO t_bas_mainpagelayout_l(FID,FPKID,FLOCALEID,FNAME) VALUES (949992343916906496,'0ZO=ZYWFEO2C','zh_CN','库存管理应用首页默认方案'); 
DELETE FROM t_bas_mainpagelayout_l WHERE FPKID = '0ZOA2ZKA4=CG';
INSERT INTO t_bas_mainpagelayout_l(FID,FPKID,FLOCALEID,FNAME) VALUES (949992343916906496,'0ZOA2ZKA4=CG','zh_TW','庫存管理應用首頁默認方案'); 

DELETE FROM t_bas_cardconfig WHERE FID = 949992344034347008;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949992344034347008,'bos_card_quicklaunch',453396463301452800,949992343916906496,0,'{"cardType":"bos_card_quicklaunch","config":{"17OEX=4J/CO9":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"17OEX=4J/CO9","launchType":"launchType_menu"},"/DKA1=UJS=EE":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"/DKA1=UJS=EE","launchType":"launchType_menu"},"14G0EOSC87PD":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"14G0EOSC87PD","launchType":"launchType_menu"}}}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 949992344034347009;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949992344034347009,'bos_card_quicklaunch',453396504699232256,949992343916906496,0,'{"cardType":"bos_card_quicklaunch","config":{"/DKA7XHHE76+":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"/DKA7XHHE76+","launchType":"launchType_menu"},"/DKC7J9=SO98":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"/DKC7J9=SO98","launchType":"launchType_menu"},"167HFO157=AN":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"167HFO157=AN","launchType":"launchType_menu"}}}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 949992344034347010;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949992344034347010,'bos_card_quicklaunch',632477595513956352,949992343916906496,0,'{"cardType":"bos_card_quicklaunch","config":{"/FQI8Q43EFFR":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"/FQI8Q43EFFR","launchType":"launchType_menu"},"/FQI=GBOXO9C":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"/FQI=GBOXO9C","launchType":"launchType_menu"},"0/EXEQM71M40":{"cache_sel_appId":"=9Q86DR2P+Q","cache_sel_menuId":"0/EXEQM71M40","launchType":"launchType_menu"}}}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 949992344034347011;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949992344034347011,'bos_card_custom',632515938297600000,949992343916906496,0,'{"cardformnum":"im_card_invacc","cardType":"bos_card_custom","cardformname":"快速查询_卡片"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 949992344034347012;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949992344034347012,'bos_card_custom',632516086683707392,949992343916906496,0,'{"cardformnum":"im_card_delmsglist","cardType":"bos_card_custom","cardformname":"快速处理消息列表_卡片"}'); 
DELETE FROM t_bas_cardconfig WHERE FID = 949992344034347013;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949992344034347013,'bos_card_billstats_list',657839505449014272,949992343916906496,0,'{"cardType":"bos_card_billstats_list","config":{"1":{"appnum":"im","datatype":"count","filterschema":"/FX00BO1QH9U","scale":"0","filterclass":" ","menuid":"18TV4Y8F=N0X","entityid":"im_purinbill","numtitle":"f:customname","numcolor":"#FF903D"},"2":{"appnum":"im","datatype":"count","filterschema":"/FX1PEZDQHVP","scale":"0","filterclass":" ","menuid":"/FQ/X2E0YCKS","entityid":"im_saloutbill","numtitle":"f:customname","numcolor":"#55A0F5"}}}'); 


DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSJ';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347008,'0ZO=ZYXR6GSJ','zh_TW',' ','入庫處理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSK';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347008,'0ZO=ZYXR6GSK','zh_CN',' ','入库处理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSL';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347009,'0ZO=ZYXR6GSL','zh_TW',' ','出庫處理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSM';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347009,'0ZO=ZYXR6GSM','zh_CN',' ','出库处理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSN';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347010,'0ZO=ZYXR6GSN','zh_TW',' ','調撥處理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSO';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347010,'0ZO=ZYXR6GSO','zh_CN',' ','调拨处理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSP';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347011,'0ZO=ZYXR6GSP','zh_TW',' ','快速庫存查詢'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSQ';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347011,'0ZO=ZYXR6GSQ','zh_CN',' ','快速库存查询'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSR';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347012,'0ZO=ZYXR6GSR','zh_TW',' ','快速處理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSS';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347012,'0ZO=ZYXR6GSS','zh_CN',' ','快速处理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GST';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347013,'0ZO=ZYXR6GST','zh_TW','采購入庫單,銷售出庫單','待處理'); 
DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO=ZYXR6GSU';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949992344034347013,'0ZO=ZYXR6GSU','zh_CN','采购入库单,销售出库单','待处理'); 


-- 业务配置修改单组织首页标准版脚本
DELETE FROM t_bas_mainpagelayout WHERE FID = 949949014365833216;
INSERT INTO t_bas_mainpagelayout(FID,FCUSTOMABLE,FTYPE,FFORMNUM,FLAYOUT_TAG,FNUMBER,FDISABLETIME,FLAYOUT,FCREATETIME,FISMULTIORG,FENABLE,FMODIFIERID,FISPRESET,FBIZAPPID,FMODIFYTIME,FSCHEMETYPE,FCREATORID,FUSERID,FDISABLERID) VALUES (949949014365833216,'1','app',' ',' ','HP-000092',NULL,'[{"w":12,"h":1,"x":0,"y":0,"i":"865116921690029056","moved":false,"static":false}]',{ts'2020-08-03  16:19:07'},'0','1',935977460745431040,'1','05RE3QGF6PC2',{ts'2020-08-03  17:29:30'},'1',935977460745431040,0,0); 


DELETE FROM t_bas_mainpagelayout_l WHERE FPKID = '0ZO2W6ZAN/19';
INSERT INTO t_bas_mainpagelayout_l(FID,FPKID,FLOCALEID,FNAME) VALUES (949949014365833216,'0ZO2W6ZAN/19','zh_CN','业务设置应用首页默认方案'); 
DELETE FROM t_bas_mainpagelayout_l WHERE FPKID = '0ZO9A/4UPGIW';
INSERT INTO t_bas_mainpagelayout_l(FID,FPKID,FLOCALEID,FNAME) VALUES (949949014365833216,'0ZO9A/4UPGIW','zh_TW','業務設置應用首頁默認方案'); 

DELETE FROM t_bas_cardconfig WHERE FID = 949949014466496512;
INSERT INTO t_bas_cardconfig(FID,FTYPE,FCARDID,FMAINPAGEID,FUSERID,FCONFIG) VALUES (949949014466496512,'bos_card_quicklaunch',865116921690029056,949949014365833216,0,'{"cardType":"bos_card_quicklaunch","config":{"06R/SBE/Y5KQ":{"cache_sel_appId":"05RE3QGF6PC2","cache_sel_menuId":"06R/SBE/Y5KQ","launchType":"launchType_menu"},"05RF=3NJNTHT":{"cache_sel_appId":"05RE3QGF6PC2","cache_sel_menuId":"05RF=3NJNTHT","launchType":"launchType_menu"},"07BVCI6YIM86":{"cache_sel_appId":"05RE3QGF6PC2","cache_sel_menuId":"07BVCI6YIM86","launchType":"launchType_menu"},"066V3JVG1KR6":{"cache_sel_appId":"05RE3QGF6PC2","cache_sel_menuId":"066V3JVG1KR6","launchType":"launchType_menu"},"066V50T0H2D9":{"cache_sel_appId":"05RE3QGF6PC2","cache_sel_menuId":"066V50T0H2D9","launchType":"launchType_menu"},"066V6I8G/D8A":{"cache_sel_appId":"05RE3QGF6PC2","cache_sel_menuId":"066V6I8G/D8A","launchType":"launchType_menu"}}}'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO2W7+F5+CF';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949949014466496512,'0ZO2W7+F5+CF','zh_CN',' ','快速发起'); 

DELETE FROM t_bas_cardconfig_l WHERE FPKID = '0ZO2W7+F5+CE';
INSERT INTO t_bas_cardconfig_l(FID,FPKID,FLOCALEID,FCUSTOMNAME,FCARDTITLE) VALUES (949949014466496512,'0ZO2W7+F5+CE','zh_TW',' ','快速發起'); 