Rodney Chen
2024-05-09 a340c8f451865656db12fa50fe9cad888f65dd5b
1
var T=(i,e,l)=>new Promise((r,t)=>{var a=o=>{try{p(l.next(o))}catch(b){t(b)}},A=o=>{try{p(l.throw(o))}catch(b){t(b)}},p=o=>o.done?r(o.value):Promise.resolve(o.value).then(a,A);p((l=l.apply(i,e)).next())});import{c as I,d as E,e as R,__tla as P}from"./inventory-cb50dc51.js";import{aF as S,l as z,__tla as N}from"./index-f0df2f76.js";import{n as s,u as c}from"./vue-1631514e.js";import{a2 as d,T as n}from"./antd-057b41b1.js";let x,_,h,m,w,D,C,u,O=Promise.all([(()=>{try{return P}catch(i){}})(),(()=>{try{return N}catch(i){}})()]).then(()=>T(void 0,null,function*(){let i,e;({getLocale:i}=S()),{t:e}=z("WMS.Count"),w=[{title:e("\u5355\u636E\u7F16\u7801"),dataIndex:"COUNT_NO",resizable:!0,sorter:!0,width:200},{title:e("\u955C\u50CF\u65F6\u95F4"),dataIndex:"MIRROR_DATE",resizable:!0,sorter:!0,width:180},{title:e("\u521B\u5EFA\u8005"),dataIndex:"CREATE_USER",resizable:!0,sorter:!0,width:180},{title:e("\u72B6\u6001"),dataIndex:"STATUS",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.STATUS;var t="",a="";switch(r){case 0:t="\u65B0\u521B\u5EFA",a="green";break;case 1:t="\u76D8\u70B9\u4E2D",a="blue";break;case 2:t="\u6682\u505C\u4E2D",a="#C2C247";break;case 3:t="\u5DF2\u5173\u95ED",a="#C2C247";break;case 4:t="\u4F5C\u5E9F",a="#C2C247";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("\u76D8\u70B9\u7C7B\u578B"),dataIndex:"COUNT_TYPE",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.COUNT_TYPE;var t="",a="";switch(r){case 0:t="\u5E74\u76D8",a="green";break;case 1:t="\u5B63\u76D8",a="blue";break;case 2:t="\u6708\u76D8",a="#C2C247";break;case 3:t="\u5468\u76D8",a="#C2C247";break;case 4:t="\u65E5\u76D8",a="#C2C247";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("\u76D8\u70B9\u5F00\u59CB\u65F6\u95F4"),dataIndex:"BEGIN_DATE",resizable:!0,sorter:!0,width:180},{title:e("\u76D8\u70B9\u7ED3\u675F\u65F6\u95F4"),dataIndex:"END_DATE",resizable:!0,sorter:!0,width:180},{title:e("\u5907\u6CE8"),dataIndex:"REMARK",resizable:!0,sorter:!0,width:180}],C=[{field:"COUNT_NO",label:e("\u76D8\u70B9\u5355\u53F7"),colProps:{span:8},component:"Input",dynamicDisabled:!0},{field:"COUNT_TYPE",label:e("\u76D8\u70B9\u7C7B\u578B"),component:"ApiSelect",colProps:{span:8},componentProps:{api:I,resultField:"Data",labelField:c(i)=="zh_CN"?"Desc":"Name",valueField:"Value"}},{field:"MIRROR_DATE",label:e("\u955C\u50CF\u65F6\u95F4"),colProps:{span:8},component:"Input",dynamicDisabled:!0},{field:"COUNT_MODE",label:e("\u76D8\u70B9\u6A21\u5F0F"),component:"ApiSelect",colProps:{span:8},componentProps:{api:E,resultField:"Data",labelField:c(i)=="zh_CN"?"Desc":"Name",valueField:"Value"}},{field:"ITEM_CODE_LIST",label:e("\u7269\u6599\u7F16\u7801\u5217\u8868"),colProps:{span:8},component:"Input"},{field:"0",component:"Input",label:e(" "),colSlot:"add",colProps:{span:8}},{field:"ID",label:e("ID"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"WH_IDS",label:e("\u4ED3\u5E93"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"REGION_IDS",label:e("\u50A8\u533A"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"SHELF_IDS",label:e("\u8D27\u67B6"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"LOCATION_IDS",label:e("\u8D27\u67B6"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"ORG_CODE",label:e("ORG_CODE"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"STATUS",label:e("STATUS"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"CREATE_USER",label:e("CREATE_USER"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"CREATE_TIME",label:e("CREATE_TIME"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"AUTH_ORE",label:e("AUTH_ORE"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"AUTH_PROD",label:e("AUTH_PROD"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"AUTH_WH",label:e("AUTH_WH"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"CREATE_USER",label:e("CREATE_USER"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"UPDATE_USER",label:e("UPDATE_USER"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"BEGIN_DATE",label:e("BEGIN_DATE"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1},{field:"END_DATE",label:e("END_DATE"),colProps:{span:8},component:"Input",dynamicDisabled:!0,show:!1}],D=[{title:e("\u7269\u6599\u7F16\u7801"),dataIndex:"ITEM_CODE",resizable:!0,sorter:!0,width:200},{title:e("\u7269\u6599\u540D\u79F0"),dataIndex:"ITEM_NAME",resizable:!0,sorter:!0,width:180},{title:e("\u6570\u91CF"),dataIndex:"QTY",resizable:!0,sorter:!0,width:180},{title:e("\u6761\u7801\u6570\u91CF"),dataIndex:"SN_COUNT",resizable:!0,sorter:!0,width:180}],u=[{field:"COUNT_NO",label:e("\u5355\u636E\u7F16\u7801"),colProps:{span:8},component:"Input"},{field:"STATUS",label:e("\u72B6\u6001"),component:"ApiSelect",colProps:{span:8},componentProps:{api:R,resultField:"Data",labelField:c(i)=="zh_CN"?"Desc":"Name",valueField:"Value"}},{field:"COUNT_TYPE",label:e("\u76D8\u70B9\u7C7B\u578B"),component:"ApiSelect",colProps:{span:8},componentProps:{api:I,resultField:"Data",labelField:c(i)=="zh_CN"?"Desc":"Name",valueField:"Value"}},{field:"MIRROR_DATE",label:e("\u955C\u50CF\u65F6\u95F4"),colProps:{span:8},component:"RangePicker"},{field:"COUNT_MODE",label:e("\u76D8\u70B9\u6A21\u5F0F"),component:"ApiSelect",colProps:{span:8},componentProps:{api:E,resultField:"Data",labelField:c(i)=="zh_CN"?"Desc":"Name",valueField:"Value"}}],x=[{title:e("\u7269\u6599\u7F16\u7801"),dataIndex:"ITEM_CODE",resizable:!0,sorter:!0,width:200},{title:e("\u7269\u6599\u540D\u79F0"),dataIndex:"ITEM_NAME",resizable:!0,sorter:!0,width:180}],h=[{title:e("\u7269\u6599\u7F16\u7801"),dataIndex:"ITEM_CODE",resizable:!0,sorter:!0,width:200},{title:e("\u64CD\u4F5C\u65F6\u95F4"),dataIndex:"UPDATE_TIME",resizable:!0,sorter:!0,width:300},{title:e("\u6761\u7801"),dataIndex:"SN",resizable:!0,sorter:!0,width:350},{title:e("\u50A8\u4F4D\u4EE3\u7801"),dataIndex:"LOCATION_CODE",resizable:!0,sorter:!0,width:180},{title:e("\u7269\u6599\u540D\u79F0"),dataIndex:"ITEM_NAME",resizable:!0,sorter:!0,width:350},{title:e("\u72B6\u6001"),dataIndex:"STATUS",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.STATUS;var t="",a="";switch(r){case 0:t="\u5F85\u76D8\u70B9",a="green";break;case 1:t="\u5DF2\u76D8\u70B9",a="blue";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("\u7ED3\u679C"),dataIndex:"RESULT",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.RESULT;var t="",a="";switch(r){case 0:t="\u65E0\u7ED3\u679C",a="green";break;case 1:t="\u5E73\u5E10",a="blue";break;case 2:t="\u76D8\u76C8",a="#C2C247";break;case 3:t="\u76D8\u4E8F",a="#C2C247";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("\u5E93\u5B58\u6570\u91CF"),dataIndex:"QTY",resizable:!0,sorter:!0,width:180},{title:e("\u76D8\u70B9\u6570\u91CF"),dataIndex:"ACT_QTY",resizable:!0,sorter:!0,width:180},{title:e("\u672A\u76D8\u70B9\u6570\u91CF"),dataIndex:"NOT_QTY",resizable:!0,sorter:!0,width:180}],_=[{title:e("\u7269\u6599\u7F16\u7801"),dataIndex:"ITEM_CODE",resizable:!0,sorter:!0,width:200},{title:e("\u72B6\u6001"),dataIndex:"STATUS",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.STATUS;var t="",a="";switch(r){case 0:t="\u5F85\u76D8\u70B9",a="green";break;case 1:t="\u5DF2\u76D8\u70B9",a="blue";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("\u7ED3\u679C"),dataIndex:"RESULT",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.RESULT;var t="",a="";switch(r){case 0:t="\u672A\u6838\u5B9E",a="green";break;case 1:t="\u5DF2\u6838\u5B9E",a="blue";break;case 2:t="\u65B0\u627E\u5230",a="#C2C247";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("\u50A8\u4F4D"),dataIndex:"LOCATION_CODE",resizable:!0,sorter:!0,width:180},{title:e("\u5E93\u5B58\u6570\u91CF"),dataIndex:"QTY",resizable:!0,sorter:!0,width:180},{title:e("\u76D8\u70B9\u6570\u91CF"),dataIndex:"ACT_QTY",resizable:!0,sorter:!0,width:180},{title:e("\u672A\u76D8\u70B9\u6570\u91CF"),dataIndex:"NOT_QTY",resizable:!0,sorter:!0,width:180}],m=[{title:e("\u7269\u6599\u7F16\u7801"),dataIndex:"ITEM_CODE",resizable:!0,sorter:!0,width:200},{title:e("\u7269\u6599\u540D\u79F0"),dataIndex:"ITEM_NAME",resizable:!0,sorter:!0,width:300},{title:e("\u64CD\u4F5C\u65F6\u95F4"),dataIndex:"UPDATE_TIME",resizable:!0,sorter:!0,width:300},{title:e("\u7ED3\u679C"),dataIndex:"RESULT",resizable:!0,sorter:!0,width:180,customRender:({record:l})=>{const r=l.RESULT;var t="",a="";switch(r){case 0:t="\u65E0\u7ED3\u679C",a="green";break;case 1:t="\u5E73\u5E10",a="blue";break;case 2:t="\u76D8\u76C8",a="#C2C247";break;case 3:t="\u76D8\u4E8F",a="#C2C247";break}return s(n,{title:e("xxxxxx")},()=>s(d,{color:a},()=>t))}},{title:e("ERP\u4ED3\u5E93"),dataIndex:"ERP_WH",resizable:!0,sorter:!0,width:180},{title:e("\u5E93\u5B58\u6570\u91CF"),dataIndex:"QTY",resizable:!0,sorter:!0,width:180},{title:e("\u76D8\u70B9\u6570\u91CF"),dataIndex:"ACT_QTY",resizable:!0,sorter:!0,width:180},{title:e("\u5DEE\u5F02\u6570\u91CF"),dataIndex:"NOT_QTY",resizable:!0,sorter:!0,width:180},{title:e("ERP\u6570\u91CF"),dataIndex:"ERP_QTY",resizable:!0,sorter:!0,width:180},{title:e("\u6761\u7801\u5E93\u5B58\u6570\u91CF"),dataIndex:"SN_QTY",resizable:!0,sorter:!0,width:180},{title:e("\u6761\u7801\u76D8\u70B9\u6570\u91CF"),dataIndex:"ACT_SN_QTY",resizable:!0,sorter:!0,width:180},{title:e("ERP\u4E0E\u5E93\u5B58\u5DEE\u5F02\u6570\u91CF"),dataIndex:"ERP_NOT_QTY",resizable:!0,sorter:!0,width:180}]}));export{x as I,_ as L,h as M,m as S,O as __tla,w as c,D as d,C as n,u as s};