gcs-ui-lib 1.2.23 → 1.2.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/gcs-ui-lib.common.js +191 -181
- package/lib/gcs-ui-lib.umd.js +191 -181
- package/lib/gcs-ui-lib.umd.min.js +5 -5
- package/package.json +1 -1
- package/packages/StreamRefill/src/demo/index.vue +55 -60
- package/packages/StreamRefill/src/main.vue +48 -34
|
@@ -85,7 +85,7 @@ var t={standalone:"leden_únor_březen_duben_květen_červen_červenec_srpen_zá
|
|
|
85
85
|
//! moment.js locale configuration
|
|
86
86
|
var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},n={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"},a=e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,n){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}});return a}))},"3e92":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
87
87
|
//! moment.js locale configuration
|
|
88
|
-
var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},a=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return a}))},"3ed6":function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"Confirmar",clear:"Limpiar"},datepicker:{now:"Ahora",today:"Hoy",cancel:"Cancelar",clear:"Limpiar",confirm:"Confirmar",selectDate:"Seleccionar fecha",selectTime:"Seleccionar hora",startDate:"Fecha Incial",startTime:"Hora Inicial",endDate:"Fecha Final",endTime:"Hora Final",prevYear:"Año Anterior",nextYear:"Próximo Año",prevMonth:"Mes Anterior",nextMonth:"Próximo Mes",year:"",month1:"enero",month2:"febrero",month3:"marzo",month4:"abril",month5:"mayo",month6:"junio",month7:"julio",month8:"agosto",month9:"septiembre",month10:"octubre",month11:"noviembre",month12:"diciembre",weeks:{sun:"dom",mon:"lun",tue:"mar",wed:"mié",thu:"jue",fri:"vie",sat:"sáb"},months:{jan:"ene",feb:"feb",mar:"mar",apr:"abr",may:"may",jun:"jun",jul:"jul",aug:"ago",sep:"sep",oct:"oct",nov:"nov",dec:"dic"}},select:{loading:"Cargando",noMatch:"No hay datos que coincidan",noData:"Sin datos",placeholder:"Seleccionar"},cascader:{noMatch:"No hay datos que coincidan",loading:"Cargando",placeholder:"Seleccionar",noData:"Sin datos"},pagination:{goto:"Ir a",pagesize:"/página",total:"Total {total}",pageClassifier:""},messagebox:{confirm:"Aceptar",cancel:"Cancelar",error:"Entrada inválida"},upload:{deleteTip:"Pulse Eliminar para retirar",delete:"Eliminar",preview:"Vista Previa",continue:"Continuar"},table:{emptyText:"Sin Datos",confirmFilter:"Confirmar",resetFilter:"Reiniciar",clearFilter:"Limpiar",sumText:"Suma"},tree:{emptyText:"Sin Datos"},transfer:{noMatch:"No hay datos que coincidan",noData:"Sin datos",titles:["Lista 1","Lista 2"],filterPlaceholder:"Ingresar palabra clave",noCheckedFormat:"{total} artículos",hasCheckedFormat:"{checked}/{total} revisados"},image:{error:"HA FALLADO"},pageHeader:{title:"Volver"},popconfirm:{confirmButtonText:"Si",cancelButtonText:"No"},empty:{description:"Sin Datos"}}}},"3ee5":function(e,t,n){"use strict";n.r(t);var a=n("7f2c"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"3f4e":function(e,t,n){"use strict";n.r(t);var a=n("6d97"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"3ff6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("90e7"),i=n("ed08");const s=n("1e84"),o={};s.keys().forEach(e=>{const t=s(e).default;o[t.name]=t});const l={text:"FillInput",date:"FillDate",bigDecimal:"FillBigDecimal",select:"FillSelect",multiSelect:"FillMultiSelect"};t.default={name:"NstcStreamRefill",props:{disabled:{type:Boolean,default:!1},specialRequireProps:{type:Array,default:()=>[]},requireProps:{type:Array,default:()=>[]},readOnly:{type:Boolean,default:!1},columns:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[{}]},selection:{type:Boolean,default:!1},tableHeight:{type:Number,default:400},axiosParams:{type:Object,default:()=>({documentNo:"ptms_record_attr",modelNo:"PTMS",groupNo:"extend"})}},components:{TableSetSize:a.TableSetSize,FillTable:a.Table,...o},data(){return{Header:[],customRequireProps:[],formData:{tableData:[]},size:"small",sizeBind:{},exFields:[],typeCodeList:[]}},computed:{AllColumns(){let e=[{type:"index",label:"序号",width:"56",fixed:"left",align:"center",static:"pre"},...this._columns,...this.exFields];return e.map(e=>(delete e.slotName,{...e}))},headerProps(){return[...this.specialRequireProps,...this.requireProps,...this.customRequireProps]},_requireProps(){return[...this.requireProps,...this.customRequireProps]},_columns:{get(){return this.columns}}},watch:{tableData:{handler(){this.formData.tableData=this.tableData},deep:!0,immediate:!0}},mounted(){this.init()},methods:{async init(){let e=await(0,r.getCustomSettingFieldFormList)(this.axiosParams);this.exFields=[];let t=(null===e||void 0===e?void 0:e.find(e=>e.groupNo==this.axiosParams.groupNo))||{},n=t.fieldSettings||[],a=(t.fieldExtendSettings||[]).filter(e=>e.isEnabled);this.setFieldHeader(n),this.setExTHeader(a)},setFieldHeader(e){for(let t of e)t.isRequired&&this.customRequireProps.push(t.fieldNo);this.Header=this.columns.map(t=>{let n=e.find(e=>e.fieldNo==t.prop);return{...t,label:n?n.fieldName:t.label}})},async setExTHeader(e){this.$createElement;let t=[];for(let a of e)a.isRequired&&this.customRequireProps.push(a.fieldNo),t.push({...a,label:a.fieldName,minWidth:250,align:"center",prop:a.fieldNo,multiple:"multiSelect"==a.fieldProperty,type:l[a.fieldProperty]||"FillInput","show-overflow-tooltip":!0}),a.fieldDocKey&&this.typeCodeList.push(a.fieldDocKey);let n=await(0,r.getMdmDataDoc)({typeCodeList:this.typeCodeList});this.exFields=t.map(e=>{if("bigDecimal"==e.fieldProperty&&(e.align="right",e.render=(t,n)=>t("span",[(0,i.amountFormat)(n[e.fieldNo])])),e.fieldDocKey){let t=n.list.filter(t=>t.typeCode==e.fieldDocKey);e.options=t.map(e=>({label:e.name,value:e.code}))}return e}),await this.$nextTick(),this.clearValidate()},handleSelectionChange(e){this.$emit("selection-change",e)},async clearValidate(){var e;await this.$nextTick(),null===(e=this.$refs.formRef)||void 0===e||e.clearValidate()},validate(){return new Promise((e,t)=>{this.$refs.formRef.validate(n=>{if(n){let t=this.exFields.filter(e=>"FillMultiSelect"==e.type).map(e=>e.prop),n=(0,i.deepClone)(this.formData.tableData);n.forEach(e=>{for(let a of t){var n;if(Array.isArray(e[a]))e[a]=(null===(n=e[a])||void 0===n?void 0:n.join(","))||""}}),e(n)}else t(null)})})}},activated(){}}},"403b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-time-select",e._g(e._b({attrs:{"picker-options":{start:"00:00",step:"00:05",end:"23:59"},placeholder:e.$l("选择时间")},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"el-time-select",e.$attrs,!1),e.$listeners))},t.staticRenderFns=[]},"40a0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("90e7"),i=n("0626"),s=n("ed08");t.default={components:{Pagination:a.Pagination,ClAdvancedFilter:a.AdvancedFilter,Page:a.Page,ClTablePro:a.TablePro,ClTableProOperateColumn:a.TableProOperateColumn},props:{settingSource:{type:[Number,String],default:2}},data(){return{selectRow:null,page:{current:1,size:10,total:0},selectedId:"",tableData:[],sortParams:null,multiple:!0,formInline:{accountType:"BANK_ACCOUNT",startRecordDate:(0,s.parseTime)(new Date-6048e5,"{y}-{m}-{d}"),endRecordDate:(0,s.parseTime)(new Date,"{y}-{m}-{d}")},loading:!1,TableHeader:[...i.tableHeader],filterList:[...i.filterList]}},computed:{IsPayment(){return 2==this.settingSource}},mounted(){this.getList()},methods:{handleFilter(){this.$rulesValidateForm("ruleValidate",e=>{e&&(this.selectedId=null,this.selectRow=null,this.getList(),this.$emit("clear"))})},handleSubmit(){if(!this.selectRow)return this.$message.error("请选择流水");this.$emit("handleSubmit",this.selectRow)},makeParams(){return{pageNo:this.page.current,pageSize:this.page.size,isInclude:0,...this.formInline,recordType:0,balanceDir:this.IsPayment?"1":"2",sort:this.sortParams}},handleClear(){this.formInline={}},async getList(){try{this.loading=!0;const e=this.makeParams(),t=await(0,r.accountRecordQuery)(e,!1);this.tableData=t.list.accountRecordViewList,this.page.total=t.total}catch(e){console.error(e),this.tableData=[],this.page.total=0}finally{this.loading=!1}},handleCellClick({row:e}){console.log(e),this.selectedId=e.recordId,this.selectRow={...e}},handleRadioChange(e){this.selectRow=this.tableData.find(e=>e.recordId===this.selectedId)},handleSortChange(e){if(e.length){let t=e[0]||{};this.sortParams={key:t.column,action:t.asc?"ASC":"DESC"}}else this.sortParams=null;this.getList()}}}},"411f":function(e,t,n){"use strict";var a=n("da62");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},4127:function(e,t,n){"use strict";var a=n("5402"),r=n("d233"),i=n("b313"),s=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=i["default"],h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},g=function e(t,n,i,s,o,c,d,f,g,_,v,b,y,w,k,T,M,S){var D=t,L=S,x=0,C=!1;while(void 0!==(L=L.get(m))&&!C){var N=L.get(t);if(x+=1,"undefined"!==typeof N){if(N===x)throw new RangeError("Cyclic object value");C=!0}"undefined"===typeof L.get(m)&&(x=0)}if("function"===typeof _?D=_(n,D):D instanceof Date?D=y(D):"comma"===i&&l(D)&&(D=r.maybeMap(D,(function(e){return e instanceof Date?y(e):e}))),null===D){if(c)return g&&!T?g(n,h.encoder,M,"key",w):n;D=""}if(p(D)||r.isBuffer(D)){if(g){var O=T?n:g(n,h.encoder,M,"key",w);return[k(O)+"="+k(g(D,h.encoder,M,"value",w))]}return[k(n)+"="+k(String(D))]}var A,E=[];if("undefined"===typeof D)return E;if("comma"===i&&l(D))T&&g&&(D=r.maybeMap(D,g)),A=[{value:D.length>0?D.join(",")||null:void 0}];else if(l(_))A=_;else{var F=Object.keys(D);A=v?F.sort(v):F}var Y=f?String(n).replace(/\./g,"%2E"):String(n),P=s&&l(D)&&1===D.length?Y+"[]":Y;if(o&&l(D)&&0===D.length)return P+"[]";for(var R=0;R<A.length;++R){var I=A[R],$="object"===typeof I&&I&&"undefined"!==typeof I.value?I.value:D[I];if(!d||null!==$){var j=b&&f?String(I).replace(/\./g,"%2E"):String(I),H=l(D)?"function"===typeof i?i(P,j):P:P+(b?"."+j:"["+j+"]");S.set(t,x);var B=a();B.set(m,S),u(E,e($,H,i,s,o,c,d,f,"comma"===i&&T&&l(D)?null:g,_,v,b,y,w,k,T,M,B))}}return E},_=function(e){if(!e)return h;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i["default"];if("undefined"!==typeof e.format){if(!s.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a,r=i.formatters[n],c=h.filter;if(("function"===typeof e.filter||l(e.filter))&&(c=e.filter),a=e.arrayFormat in o?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:h.allowEmptyArrays,arrayFormat:a,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,r,i=e,s=_(t);"function"===typeof s.filter?(r=s.filter,i=r("",i)):l(s.filter)&&(r=s.filter,n=r);var c=[];if("object"!==typeof i||null===i)return"";var d=o[s.arrayFormat],f="comma"===d&&s.commaRoundTrip;n||(n=Object.keys(i)),s.sort&&n.sort(s.sort);for(var h=a(),p=0;p<n.length;++p){var m=n[p],v=i[m];s.skipNulls&&null===v||u(c,g(v,m,d,f,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,h))}var b=c.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},4128:function(e,t,n){var a;(function(r){"use strict";
|
|
88
|
+
var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},a=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return a}))},"3ed6":function(e,t,n){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"Confirmar",clear:"Limpiar"},datepicker:{now:"Ahora",today:"Hoy",cancel:"Cancelar",clear:"Limpiar",confirm:"Confirmar",selectDate:"Seleccionar fecha",selectTime:"Seleccionar hora",startDate:"Fecha Incial",startTime:"Hora Inicial",endDate:"Fecha Final",endTime:"Hora Final",prevYear:"Año Anterior",nextYear:"Próximo Año",prevMonth:"Mes Anterior",nextMonth:"Próximo Mes",year:"",month1:"enero",month2:"febrero",month3:"marzo",month4:"abril",month5:"mayo",month6:"junio",month7:"julio",month8:"agosto",month9:"septiembre",month10:"octubre",month11:"noviembre",month12:"diciembre",weeks:{sun:"dom",mon:"lun",tue:"mar",wed:"mié",thu:"jue",fri:"vie",sat:"sáb"},months:{jan:"ene",feb:"feb",mar:"mar",apr:"abr",may:"may",jun:"jun",jul:"jul",aug:"ago",sep:"sep",oct:"oct",nov:"nov",dec:"dic"}},select:{loading:"Cargando",noMatch:"No hay datos que coincidan",noData:"Sin datos",placeholder:"Seleccionar"},cascader:{noMatch:"No hay datos que coincidan",loading:"Cargando",placeholder:"Seleccionar",noData:"Sin datos"},pagination:{goto:"Ir a",pagesize:"/página",total:"Total {total}",pageClassifier:""},messagebox:{confirm:"Aceptar",cancel:"Cancelar",error:"Entrada inválida"},upload:{deleteTip:"Pulse Eliminar para retirar",delete:"Eliminar",preview:"Vista Previa",continue:"Continuar"},table:{emptyText:"Sin Datos",confirmFilter:"Confirmar",resetFilter:"Reiniciar",clearFilter:"Limpiar",sumText:"Suma"},tree:{emptyText:"Sin Datos"},transfer:{noMatch:"No hay datos que coincidan",noData:"Sin datos",titles:["Lista 1","Lista 2"],filterPlaceholder:"Ingresar palabra clave",noCheckedFormat:"{total} artículos",hasCheckedFormat:"{checked}/{total} revisados"},image:{error:"HA FALLADO"},pageHeader:{title:"Volver"},popconfirm:{confirmButtonText:"Si",cancelButtonText:"No"},empty:{description:"Sin Datos"}}}},"3ee5":function(e,t,n){"use strict";n.r(t);var a=n("7f2c"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"3f4e":function(e,t,n){"use strict";n.r(t);var a=n("6d97"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},"3ff6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("90e7"),i=n("ed08");const s=n("1e84"),o={};s.keys().forEach(e=>{const t=s(e).default;o[t.name]=t});const l={text:"FillInput",date:"FillDate",bigDecimal:"FillBigDecimal",select:"FillSelect",multiSelect:"FillMultiSelect"};t.default={name:"NstcStreamRefill",props:{disabled:{type:Boolean,default:!1},specialRequireProps:{type:Array,default:()=>[]},requireProps:{type:Array,default:()=>[]},readOnly:{type:Boolean,default:!1},columns:{type:Array,default:()=>[]},tableData:{type:Array,default:()=>[{}]},selection:{type:Boolean,default:!1},tableHeight:{type:Number,default:400},axiosParams:{type:Object,default:()=>({documentNo:"ptms_record_attr",modelNo:"PTMS",groupNo:"extend"})}},components:{TableSetSize:a.TableSetSize,FillTable:a.Table,...o},data(){return{Header:[],customRequireProps:[],formData:{tableData:[]},size:"small",sizeBind:{},exFields:[],typeCodeList:[],displayColumns:[]}},computed:{AllColumns(){let e=[{type:"index",label:"序号",width:"56",fixed:"left",align:"center",static:"pre"},...this._columns,...this.exFields];return e.map(e=>(delete e.slotName,{...e}))},headerProps(){return[...this.specialRequireProps,...this.requireProps,...this.customRequireProps]},_requireProps(){return[...this.requireProps,...this.customRequireProps]},_columns:{get(){return this.columns}},mergedColumns(){return[...this._columns,...this.exFields].map(e=>{const{slotName:t,...n}=e;return{...n,label:e.label||e.prop}})}},watch:{tableData:{handler(){this.formData.tableData=this.tableData},deep:!0,immediate:!0},mergedColumns:{handler(e){!this.displayColumns.length&&e.length&&(this.displayColumns=e),this.$emit("columns-change",e)},immediate:!0}},mounted(){this.init()},methods:{_isFixedColumn(e){return this._columns.some(t=>t.prop===e)},async init(){let e=await(0,r.getCustomSettingFieldFormList)(this.axiosParams);this.exFields=[];let t=(null===e||void 0===e?void 0:e.find(e=>e.groupNo==this.axiosParams.groupNo))||{},n=t.fieldSettings||[],a=(t.fieldExtendSettings||[]).filter(e=>e.isEnabled);this.setFieldHeader(n),this.setExTHeader(a)},setFieldHeader(e){for(let t of e)t.isRequired&&this.customRequireProps.push(t.fieldNo);this.Header=this.columns.map(t=>{let n=e.find(e=>e.fieldNo==t.prop);return{...t,label:n?n.fieldName:t.label}})},async setExTHeader(e){this.$createElement;let t=[];for(let a of e)a.isRequired&&this.customRequireProps.push(a.fieldNo),t.push({...a,label:a.fieldName,minWidth:250,align:"center",prop:a.fieldNo,slotName:a.fieldNo,multiple:"multiSelect"==a.fieldProperty,type:l[a.fieldProperty]||"FillInput","show-overflow-tooltip":!0}),a.fieldDocKey&&this.typeCodeList.push(a.fieldDocKey);let n=await(0,r.getMdmDataDoc)({typeCodeList:this.typeCodeList});this.exFields=t.map(e=>{if("bigDecimal"==e.fieldProperty&&(e.align="right",e.render=(t,n)=>t("span",[(0,i.amountFormat)(n[e.fieldNo])])),e.fieldDocKey){let t=n.list.filter(t=>t.typeCode==e.fieldDocKey);e.options=t.map(e=>({label:e.name,value:e.code}))}return e}),await this.$nextTick(),this.clearValidate(),this.$emit("columns-change",this.mergedColumns)},handleSelectionChange(e){this.$emit("selection-change",e)},async clearValidate(){var e;await this.$nextTick(),null===(e=this.$refs.formRef)||void 0===e||e.clearValidate()},validate(){return new Promise((e,t)=>{this.$refs.formRef.validate(n=>{if(n){let t=this.exFields.filter(e=>"FillMultiSelect"==e.type).map(e=>e.prop),n=(0,i.deepClone)(this.formData.tableData);n.forEach(e=>{for(let a of t){var n;if(Array.isArray(e[a]))e[a]=(null===(n=e[a])||void 0===n?void 0:n.join(","))||""}}),e(n)}else t(null)})})},setColumns(e){this.displayColumns=e.map(e=>({...e,label:e.label||e.label2||e.prop})),this.$forceUpdate(),this.$nextTick(()=>{var e;null===(e=this.$refs["t-box"])||void 0===e||e.doLayout()})}},activated(){}}},"403b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-time-select",e._g(e._b({attrs:{"picker-options":{start:"00:00",step:"00:05",end:"23:59"},placeholder:e.$l("选择时间")},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"el-time-select",e.$attrs,!1),e.$listeners))},t.staticRenderFns=[]},"40a0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("90e7"),i=n("0626"),s=n("ed08");t.default={components:{Pagination:a.Pagination,ClAdvancedFilter:a.AdvancedFilter,Page:a.Page,ClTablePro:a.TablePro,ClTableProOperateColumn:a.TableProOperateColumn},props:{settingSource:{type:[Number,String],default:2}},data(){return{selectRow:null,page:{current:1,size:10,total:0},selectedId:"",tableData:[],sortParams:null,multiple:!0,formInline:{accountType:"BANK_ACCOUNT",startRecordDate:(0,s.parseTime)(new Date-6048e5,"{y}-{m}-{d}"),endRecordDate:(0,s.parseTime)(new Date,"{y}-{m}-{d}")},loading:!1,TableHeader:[...i.tableHeader],filterList:[...i.filterList]}},computed:{IsPayment(){return 2==this.settingSource}},mounted(){this.getList()},methods:{handleFilter(){this.$rulesValidateForm("ruleValidate",e=>{e&&(this.selectedId=null,this.selectRow=null,this.getList(),this.$emit("clear"))})},handleSubmit(){if(!this.selectRow)return this.$message.error("请选择流水");this.$emit("handleSubmit",this.selectRow)},makeParams(){return{pageNo:this.page.current,pageSize:this.page.size,isInclude:0,...this.formInline,recordType:0,balanceDir:this.IsPayment?"1":"2",sort:this.sortParams}},handleClear(){this.formInline={}},async getList(){try{this.loading=!0;const e=this.makeParams(),t=await(0,r.accountRecordQuery)(e,!1);this.tableData=t.list.accountRecordViewList,this.page.total=t.total}catch(e){console.error(e),this.tableData=[],this.page.total=0}finally{this.loading=!1}},handleCellClick({row:e}){console.log(e),this.selectedId=e.recordId,this.selectRow={...e}},handleRadioChange(e){this.selectRow=this.tableData.find(e=>e.recordId===this.selectedId)},handleSortChange(e){if(e.length){let t=e[0]||{};this.sortParams={key:t.column,action:t.asc?"ASC":"DESC"}}else this.sortParams=null;this.getList()}}}},"411f":function(e,t,n){"use strict";var a=n("da62");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},4127:function(e,t,n){"use strict";var a=n("5402"),r=n("d233"),i=n("b313"),s=Object.prototype.hasOwnProperty,o={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=i["default"],h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:r.encode,encodeValuesOnly:!1,filter:void 0,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p=function(e){return"string"===typeof e||"number"===typeof e||"boolean"===typeof e||"symbol"===typeof e||"bigint"===typeof e},m={},g=function e(t,n,i,s,o,c,d,f,g,_,v,b,y,w,k,T,M,S){var D=t,L=S,x=0,C=!1;while(void 0!==(L=L.get(m))&&!C){var N=L.get(t);if(x+=1,"undefined"!==typeof N){if(N===x)throw new RangeError("Cyclic object value");C=!0}"undefined"===typeof L.get(m)&&(x=0)}if("function"===typeof _?D=_(n,D):D instanceof Date?D=y(D):"comma"===i&&l(D)&&(D=r.maybeMap(D,(function(e){return e instanceof Date?y(e):e}))),null===D){if(c)return g&&!T?g(n,h.encoder,M,"key",w):n;D=""}if(p(D)||r.isBuffer(D)){if(g){var O=T?n:g(n,h.encoder,M,"key",w);return[k(O)+"="+k(g(D,h.encoder,M,"value",w))]}return[k(n)+"="+k(String(D))]}var A,E=[];if("undefined"===typeof D)return E;if("comma"===i&&l(D))T&&g&&(D=r.maybeMap(D,g)),A=[{value:D.length>0?D.join(",")||null:void 0}];else if(l(_))A=_;else{var F=Object.keys(D);A=v?F.sort(v):F}var Y=f?String(n).replace(/\./g,"%2E"):String(n),P=s&&l(D)&&1===D.length?Y+"[]":Y;if(o&&l(D)&&0===D.length)return P+"[]";for(var R=0;R<A.length;++R){var I=A[R],$="object"===typeof I&&I&&"undefined"!==typeof I.value?I.value:D[I];if(!d||null!==$){var j=b&&f?String(I).replace(/\./g,"%2E"):String(I),H=l(D)?"function"===typeof i?i(P,j):P:P+(b?"."+j:"["+j+"]");S.set(t,x);var B=a();B.set(m,S),u(E,e($,H,i,s,o,c,d,f,"comma"===i&&T&&l(D)?null:g,_,v,b,y,w,k,T,M,B))}}return E},_=function(e){if(!e)return h;if("undefined"!==typeof e.allowEmptyArrays&&"boolean"!==typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if("undefined"!==typeof e.encodeDotInKeys&&"boolean"!==typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&"undefined"!==typeof e.encoder&&"function"!==typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if("undefined"!==typeof e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i["default"];if("undefined"!==typeof e.format){if(!s.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a,r=i.formatters[n],c=h.filter;if(("function"===typeof e.filter||l(e.filter))&&(c=e.filter),a=e.arrayFormat in o?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u="undefined"===typeof e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"===typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"===typeof e.allowEmptyArrays?!!e.allowEmptyArrays:h.allowEmptyArrays,arrayFormat:a,charset:t,charsetSentinel:"boolean"===typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:"undefined"===typeof e.delimiter?h.delimiter:e.delimiter,encode:"boolean"===typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"===typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"===typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"===typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:c,format:n,formatter:r,serializeDate:"function"===typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"===typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"===typeof e.sort?e.sort:null,strictNullHandling:"boolean"===typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,r,i=e,s=_(t);"function"===typeof s.filter?(r=s.filter,i=r("",i)):l(s.filter)&&(r=s.filter,n=r);var c=[];if("object"!==typeof i||null===i)return"";var d=o[s.arrayFormat],f="comma"===d&&s.commaRoundTrip;n||(n=Object.keys(i)),s.sort&&n.sort(s.sort);for(var h=a(),p=0;p<n.length;++p){var m=n[p],v=i[m];s.skipNulls&&null===v||u(c,g(v,m,d,f,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,h))}var b=c.join(s.delimiter),y=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),b.length>0?y+b:""}},4128:function(e,t,n){var a;(function(r){"use strict";
|
|
89
89
|
/*!
|
|
90
90
|
* decimal.js v10.6.0
|
|
91
91
|
* An arbitrary-precision Decimal type for JavaScript.
|
|
@@ -172,7 +172,7 @@ var t=e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_augus
|
|
|
172
172
|
//! moment.js locale configuration
|
|
173
173
|
var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"},n=e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var n=e%10,a=e>=100?100:null;return e+(t[e]||t[n]||t[a])},week:{dow:1,doy:7}});return n}))},"6d83":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
174
174
|
//! moment.js locale configuration
|
|
175
|
-
var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"6d96":function(e,t,n){"use strict";var a=n("cf7a");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"6d97":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("a978"),i=n("2934");const s=n("c5f6"),o={};s.keys().forEach(e=>{const t=s(e).default;o[t.name]=t});t.default={name:"NstcDynamicForm",mixins:[r.fileUploadTableMixin],components:{...o,N20Page:a.Page,N20FileUploadTable:a.FileUploadTable,N20Anchor:a.Anchor,N20AnchorItem:a.AnchorItem,N20ExpandablePane:a.ExpandablePane},props:{showBusinessGroup:{type:Boolean,default:!0},value:{type:Object,default:()=>({extInfo:{}})},isEditableObject:{type:Object,default:()=>({})},storeUnEditFields:{type:Array,default:()=>[]},isShowObject:{type:Object,default:()=>({})},isShowGroupObject:{type:Object,default:()=>({})},showButton:{type:Boolean,default:!0},localConfig:{type:Object,default:()=>({method:null,itemChange:null,formDefaultRule:null})},getDynamicFormsData:{type:Object,default:()=>({businessClassNo:"",moduleNo:"",pageNo:"",pageId:""})},variable:{type:Object,default:()=>({})},detailData:{type:Object,default:()=>({})},uploadParam:{type:Object,default:()=>({syscode:"060000000",appno:"060500000",bussValue:"invest_041001001",attno:"invest_002",bussId:null})},elementTypeChange:{type:Object,default:()=>({SELECT:"CustomSelect",SELECT_LAZY:"SelectLazy",DIALOG:"CustomDialog",INPUT:"CustomInput",AMOUNT:"Amount",RATE:"Amount",RADIO:"Radio",CHECKBOX:"Checkbox",TEXTAREA:"CustomTextarea",DATE:"Date",DATE_RANGE:"DateRange",DMY:"DMY",AMOUNT_RANGE:"amountRange",RATE_RANGE:"amountRange",chooseAccount:"CustomDialog",UNIT_TREE_SELECT:"unitTreeSelect",TIME_SELECT:"TimeSelect"})},initPageDone:{type:Function,default:null},showButtons:{type:Array,default:[!0,!0,!0]},needFile:{type:Boolean,default:!0},formAttrs:{type:Object,default:()=>({})},formGroupKey:{type:Object,default:()=>({})},formItemKey:{type:Object,default:()=>({})},dynamicData:{type:Object,default:()=>({units:[]})},useAnchor:{type:Boolean,default:!1},anchorPosition:{type:String,default:"right"},needDIY:{type:Boolean,default:!1},formRules:{type:Object,default:()=>({})}},data(){return{anchorAction:"",isStaticField:{},isStaticUnit:{},slList:{},itemChange:null}},computed:{formGroups(){let e=this.dynamicDataT;return null!==e&&void 0!==e&&e.method&&e.method(this),(null===e||void 0===e?void 0:e.units)||[]},dynamicDataT:{get(){return this.dynamicData},set(e){this.$emit("update:dynamicData",e)}},formData:{get(){return this.value},set(e){this.$emit("input",e)}},isEditableObjectT:{get(){return this.isEditableObject},set(e){this.$emit("update:isEditableObject",e)}},isShowObjectT:{get(){return this.isShowObject},set(e){this.$emit("update:isShowObject",e)}},isShowGroupObjectT:{get(){return this.isShowGroupObject},set(e){this.$emit("update:isShowGroupObject",e)}},formGroupKeyObj:{get(){return this.formGroupKey},set(e){this.$emit("update:formGroupKey",e)}},formItemKeyObj:{get(){return this.formItemKey},set(e){this.$emit("update:formItemKey",e)}},rules:{get(){return this.formRules},set(e){this.$emit("update:formRules",e)}}},methods:{validateField(e){this.$set(this.rules[e][0],"message","该用户没有数据权限"),this.$refs.dynamicForms.validateField(e)},async getDynamicForms(){let e={data:{}};if(this.needDIY?e.data=this.dynamicData:e.data=await(0,i.dynamicGet)({businessClassNo:this.getDynamicFormsData.businessClassNo,moduleNo:this.getDynamicFormsData.moduleNo,pageNo:this.getDynamicFormsData.pageNo,pageId:this.getDynamicFormsData.pageId}),!e.data)return this.$message.warning(this.$l("该品种没有配置表单"));const t=this.localConfig.method;this.itemChange=this.localConfig.itemChange,this.dynamicDataT={...e.data,method:t},await this.setUnit(e.data.units),await this.$nextTick(),await this.getFormData()},async setUnit(e){e.map(e=>{this.$set(this.isShowObjectT,e.prop,{...this.isShowObjectT[e.prop]}),this.$set(this.isShowGroupObjectT,e.prop,e.hasOwnProperty("isShow")&&null!=e.isShow?e.isShow:1),this.$set(this.isEditableObjectT,e.prop,{...this.isEditableObjectT[e.prop]}),this.$set(this.isStaticField,e.prop,{...this.isStaticField[e.prop]}),this.$set(this.isStaticUnit,e.prop,e.isExtDefined),this.$set(this.formGroupKeyObj,e.prop,0),this.$set(this.formItemKeyObj,e.prop,{...this.formItemKeyObj[e.prop]}),["FORM","UNIT_FORM"].includes(e.unitType)?this.$set(this.formData,""+e.prop,{...this.formData[e.prop]}):(this.$set(this.formData,""+e.prop,[...this.formData[e.prop]||[]]),this.$set(this.slList,""+e.prop,[])),this.setElements(e.elements,e)})},setElements(e,t){e&&(e||[]).map(e=>{if(["UNIT_TABLE","UNIT_FORM"].includes(e.elementType))this.setUnit([{...e,prop:t.prop,unitName:t.unitName,unitType:e.elementType}]);else{var n;if(this.$set(this.isShowObjectT[t.prop],e.prop,e.isShow),this.$set(this.isShowObjectT[t.prop],e.prop+"_icon",e.isShow&&e.icon),this.$set(this.isEditableObjectT[t.prop],e.prop,e.isEditable),this.$set(this.isStaticField[t.prop],e.prop,e.isExtDefined),this.$set(this.formItemKeyObj[t.prop],e.prop,0),["FORM","UNIT_FORM"].includes(t.unitType)&&(e.defaultValue=this.changVariable(e.defaultValue),this.$set(this.formData[t.prop],""+e.prop,["",null,void 0].includes(this.formData[t.prop][e.prop])?e.defaultValue:this.formData[t.prop][e.prop])),["CustomSelect","Radio","Checkbox","SelectLazy","unitTreeSelect"].includes(this.elementTypeChange[e.elementType]||e.elementType))if(["FORM","UNIT_FORM"].includes(t.unitType))this.$set(this.formData[t.prop],""+(e.hasOwnProperty("nameProp")?e.nameProp:e.prop+"Name"),this.formData[t.prop][""+e.nameProp]||(null===(n=e.api)||void 0===n?void 0:n.defaultInputValue)||"");if(this.localConfig.formDefaultRule&&this.localConfig.formDefaultRule(this,e)[e.prop])this.$set(this.rules,t.prop+"."+e.prop,this.localConfig.formDefaultRule(this,e)[e.prop]);else{let n=null;e.validateExpression&&(n=(n,a,r)=>{this.formData[t.prop][e.prop]<e.validateExpression.min||this.formData[t.prop][e.prop]>e.validateExpression.max?r(new Error(this.$l("请输入正确范围内的数据"))):"Reg"==e.validatorType?(e.validateExpression&&(e.validateExpression=JSON.parse(JSON.stringify(e.validateExpression))),new RegExp(e.validateExpression.isTrue).test(a)?r():r(new Error(this.$l("请输入正确格式")))):r()}),this.$set(this.rules,t.prop+"."+e.prop,[{required:!!e.isRequired,message:["CustomInput","Amount","Rate","CustomTextarea"].includes(this.elementTypeChange[e.elementType])||"amount"==e.prop?this.$l("请输入")+this.$l(e.label):this.$l("请选择")+this.$l(e.label),validator:n||void 0}])}}})},changeFormData(e,t,n,a,r){this.$emit("changeFormData",{val:e,prop:t,type:n,item:a,group:r})},dialogChangeFn(e,t,n,a,r){this.$emit("dialogChangeFn",{obj:e,val:t,prop:n,type:a,group:r})},async getFormData(){var e,t;Object.keys(this.detailData).length||this.initPageDone&&this.initPageDone();let n={data:{...this.detailData}},a=JSON.parse((null===(e=n.data)||void 0===e?void 0:e.extInfo)||(null===(t=this.formData)||void 0===t?void 0:t.extInfo)||"{}");Object.keys(this.formData).map(e=>{null!==this.formData[e]&&(Array.isArray(this.formData[e])?(n.data.hasOwnProperty(e)&&n.data[e]?this.formData[e]=[...n.data[e]]:this.formData[e]=[...this.formData[e]],Array.isArray(a[e])?this.$set(this.formData,e,this.formData[e].map((t,n)=>(t={...t,...a[e][n]},t.id=Date.now()+n,t))):this.$set(this.formData,e,this.formData[e].map((e,t)=>(e.id=Date.now()+t,e)))):this.formData[e]={...this.formData[e],...n.data[e],...a[e]})}),this.formGroups.map(e=>{e.elements&&(e.elements||[]).map(t=>{if(t.prop.includes(",")){let[a,r]=t.prop.split(",");["FORM","UNIT_FORM"].includes(e.unitType)?this.formData[e.prop][t.prop]=n.data[e.prop][a]+","+n.data[e.prop][r]:(n.data[e.prop]||[]).map((n,i)=>(this.$set(this.formData[e.prop][i],t.prop,n[a]+","+n[r]),n[t.prop]=n[a]+","+n[r],n))}this.$emit("getFormData",t)})}),this.initPageDone&&this.initPageDone()},addTableRow(e,t){let n={};t.map(e=>{n[e.prop]=""}),this.formData[e].push({...n,id:Date.now()})},deleteTableRow(e){if(this.slList[e].length<1)return this.$message.warning(this.$l("请先选择至少一条数据"));this.$msgboxPor({title:this.$l("确认要删除吗?"),message:this.$l("内容从页面删除,将不可恢复"),type:"error",customClass:"question",confirmButtonText:this.$l("确定"),cancelButtonText:this.$l("取消")}).then(()=>{this.formData[e]=this.formData[e].filter(t=>!this.slList[e].some(e=>e.id==t.id))})},deleteRow(e,t,n){this.$msgboxPor({title:this.$l("确认要删除吗?"),message:this.$l("内容从页面删除,将不可恢复"),type:"error",customClass:"question",confirmButtonText:this.$l("确定"),cancelButtonText:this.$l("取消")}).then(()=>{this.formData[n]=this.formData[n].filter(t=>!(e.id==t.id))})},async submit(){let e=await this.$refs["dynamicForms"].validate();if(e)return this.$emit("submit",{...this.handleSubmitData(),investTx:{...this.formData.investTx||{},beIds:this.fileUploadTableData.map(e=>e.beid)}}),{...this.formData,investTx:{...this.formData.investTx||{},beIds:this.fileUploadTableData.map(e=>e.beid)}}},save(){this.$emit("save",{...this.handleSubmitData(),investTx:{...this.formData.investTx||{},beIds:this.fileUploadTableData.map(e=>e.beid)}})},handleSubmitData(){let e=JSON.parse(JSON.stringify(this.formData));return e.extInfo={},Object.keys(e).map(t=>{if(e[t])if(this.isStaticUnit[t]&&(e.extInfo||(e.extInfo={}),e.extInfo[t]=e[t]),Array.isArray(e[t])){if(!this.isShowGroupObjectT[t])return e[t]=null;e[t].map((n,a)=>{Object.keys(n).map(r=>{if(this.isStaticField[t][r]&&(e.extInfo[t][a][r]=e[t][a][r]),r.includes(",")){let[i,s]=r.split(","),[o,l]=(n[r]||"").split(",");e[t][a][i]=void 0===o?"":o,e[t][a][s]=void 0===l?"":l}})})}else Object.keys(e[t]).map(n=>{if(""===e[t][n]&&(e[t][n]=null),this.isStaticField[t]&&this.isStaticField[t][n]&&(e.extInfo[t]||(e.extInfo[t]={}),e.extInfo[t][n]=e[t][n]),this.isShowObjectT[t]&&0===this.isShowObjectT[t][n]&&(e[t][n]=null),n.includes(",")){let[a,r]=n.split(","),[i,s]=(e[t][n]||"").split(",");e[t][a]=void 0===i?"":i,e[t][r]=void 0===s?"":s}})}),e.extInfo&&(e.extInfo=JSON.stringify(e.extInfo)),e},cancel(){this.$emit("cancel")},getNo(e,t){this.$emit("getNo",e,t)},changVariable(e){if(["",null,void 0].includes(e))return e||"";let t=String(e);if(t.includes("N("))return Number(t.replace("N(","").replace(")",""));if(t.includes("S("))return String(t.replace("S(","").replace(")",""));if(t.includes("EXP("))return new Function("this",t.replace("EXP(","").replace(")",""))(this);if("${nowDate}"==t)return(0,a.dayjs)().format("YYYY-MM-DD");if(t&&t.includes("$")){let e=t.replace("${","").replace("}","");return this.variable[e]||""}return e||""}},created(){this.getDynamicForms()}}},"6dbc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("aaf1")),r=l(n("6311")),i=l(n("6f70")),s=l(n("675a")),o=n("ed08");function l(e){return e&&e.__esModule?e:{default:e}}t.default={name:"obverse",mixins:[a.default],data(){return{dialogView:!1,infoPrint:[],bg_1:r.default,bg_2:i.default,icon:s.default,time:(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),billDetailForm:{},outInfo:{},cdInfo:{},bsInfo:{}}},mounted(){this.setData(),console.log((0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),"parseTime(new Date(), 'YYYY-MM-DD HH:mm')")},methods:{setData(){var e,t,n,a,r,i,s,o;this.billDetailForm={...null===(e=this.formData)||void 0===e?void 0:e.billPositiveInfo,...null===(t=this.formData)||void 0===t?void 0:t.billBackInfo}||{},this.outInfo=(null===(n=this.formData)||void 0===n||null===(a=n.txGrntVos)||void 0===a?void 0:a.find(e=>"GT01"==e.grntType))||{},this.cdInfo=(null===(r=this.formData)||void 0===r||null===(i=r.txGrntVos)||void 0===i?void 0:i.find(e=>"GT02"==e.grntType))||{},this.bsInfo=(null===(s=this.formData)||void 0===s||null===(o=s.txGrntVos)||void 0===o?void 0:o.find(e=>"GT03"==e.grntType))||{}},setView(e){this.time=(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}")}},created(){}}},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,a){return e[0]===t&&(n=a,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),a=this.__entries__[n];return a&&a[1]},t.prototype.set=function(t,n){var a=e(this.__entries__,t);~a?this.__entries__[a][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,a=e(n,t);~a&&n.splice(a,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,a=this.__entries__;n<a.length;n++){var r=a[n];e.call(t,r[1],r[0])}},t}()}(),a="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,r=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),i=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),s=2;function o(e,t){var n=!1,a=!1,r=0;function o(){n&&(n=!1,e()),a&&c()}function l(){i(o)}function c(){var e=Date.now();if(n){if(e-r<s)return;a=!0}else n=!0,a=!1,setTimeout(l,t);r=e}return c}var l=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=o(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,a=c.some((function(e){return!!~n.indexOf(e)}));a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,a=Object.keys(t);n<a.length;n++){var r=a[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||r},p=M(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var a=e["border-"+n+"-width"];return t+m(a)}),0)}function _(e){for(var t=["top","right","bottom","left"],n={},a=0,r=t;a<r.length;a++){var i=r[a],s=e["padding-"+i];n[i]=m(s)}return n}function v(e){var t=e.getBBox();return M(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var a=h(e).getComputedStyle(e),r=_(a),i=r.left+r.right,s=r.top+r.bottom,o=m(a.width),l=m(a.height);if("border-box"===a.boxSizing&&(Math.round(o+i)!==t&&(o-=g(a,"left","right")+i),Math.round(l+s)!==n&&(l-=g(a,"top","bottom")+s)),!w(e)){var c=Math.round(o+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(o-=c),1!==Math.abs(u)&&(l-=u)}return M(r.left,r.top,o,l)}var y=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===h(e).document.documentElement}function k(e){return a?y(e)?v(e):b(e):p}function T(e){var t=e.x,n=e.y,a=e.width,r=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(i.prototype);return f(s,{x:t,y:n,width:a,height:r,top:n,right:t+a,bottom:r+n,left:t}),s}function M(e,t,n,a){return{x:e,y:t,width:n,height:a}}var S=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=k(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),D=function(){function e(e,t){var n=T(t);f(this,{target:e,contentRect:n})}return e}(),L=function(){function e(e,t,a){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=a}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new S(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new D(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!==typeof WeakMap?new WeakMap:new n,C=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),a=new L(t,n,this);x.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));var N=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:C}();t["default"]=N}.call(this,n("c8ba"))},"6df8":function(e,t,n){"use strict";n.r(t);var a=n("d77c"),r=n("4937");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},"6e42":function(e,t,n){},"6e48":function(e,t,n){"use strict";var a=n("001d");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
175
|
+
var t=e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}});return t}))},"6d97":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("a978"),i=n("2934");const s=n("c5f6"),o={};s.keys().forEach(e=>{const t=s(e).default;o[t.name]=t});t.default={name:"NstcDynamicForm",mixins:[r.fileUploadTableMixin],components:{...o,N20Page:a.Page,N20FileUploadTable:a.FileUploadTable,N20Anchor:a.Anchor,N20AnchorItem:a.AnchorItem,N20ExpandablePane:a.ExpandablePane},props:{showBusinessGroup:{type:Boolean,default:!0},value:{type:Object,default:()=>({extInfo:{}})},isEditableObject:{type:Object,default:()=>({})},storeUnEditFields:{type:Array,default:()=>[]},isShowObject:{type:Object,default:()=>({})},isShowGroupObject:{type:Object,default:()=>({})},showButton:{type:Boolean,default:!0},localConfig:{type:Object,default:()=>({method:null,itemChange:null,formDefaultRule:null})},getDynamicFormsData:{type:Object,default:()=>({businessClassNo:"",moduleNo:"",pageNo:"",pageId:""})},variable:{type:Object,default:()=>({})},detailData:{type:Object,default:()=>({})},uploadParam:{type:Object,default:()=>({syscode:"060000000",appno:"060500000",bussValue:"invest_041001001",attno:"invest_002",bussId:null})},elementTypeChange:{type:Object,default:()=>({SELECT:"CustomSelect",SELECT_LAZY:"SelectLazy",DIALOG:"CustomDialog",INPUT:"CustomInput",AMOUNT:"Amount",RATE:"Amount",RADIO:"Radio",CHECKBOX:"Checkbox",TEXTAREA:"CustomTextarea",DATE:"Date",DATE_RANGE:"DateRange",DMY:"DMY",AMOUNT_RANGE:"amountRange",RATE_RANGE:"amountRange",chooseAccount:"CustomDialog",UNIT_TREE_SELECT:"unitTreeSelect",TIME_SELECT:"TimeSelect"})},initPageDone:{type:Function,default:null},showButtons:{type:Array,default:[!0,!0,!0]},needFile:{type:Boolean,default:!0},formAttrs:{type:Object,default:()=>({})},formGroupKey:{type:Object,default:()=>({})},formItemKey:{type:Object,default:()=>({})},dynamicData:{type:Object,default:()=>({units:[]})},useAnchor:{type:Boolean,default:!1},anchorPosition:{type:String,default:"right"},needDIY:{type:Boolean,default:!1},formRules:{type:Object,default:()=>({})}},data(){return{anchorAction:"",isStaticField:{},isStaticUnit:{},slList:{},itemChange:null}},computed:{formGroups(){let e=this.dynamicDataT;return null!==e&&void 0!==e&&e.method&&e.method(this),(null===e||void 0===e?void 0:e.units)||[]},dynamicDataT:{get(){return this.dynamicData},set(e){this.$emit("update:dynamicData",e)}},formData:{get(){return this.value},set(e){this.$emit("input",e)}},isEditableObjectT:{get(){return this.isEditableObject},set(e){this.$emit("update:isEditableObject",e)}},isShowObjectT:{get(){return this.isShowObject},set(e){this.$emit("update:isShowObject",e)}},isShowGroupObjectT:{get(){return this.isShowGroupObject},set(e){this.$emit("update:isShowGroupObject",e)}},formGroupKeyObj:{get(){return this.formGroupKey},set(e){this.$emit("update:formGroupKey",e)}},formItemKeyObj:{get(){return this.formItemKey},set(e){this.$emit("update:formItemKey",e)}},rules:{get(){return this.formRules},set(e){this.$emit("update:formRules",e)}}},methods:{validateField(e){this.$set(this.rules[e][0],"message","该用户没有数据权限"),this.$refs.dynamicForms.validateField(e)},async getDynamicForms(){let e={data:{}};if(this.needDIY?e.data=this.dynamicData:e.data=await(0,i.dynamicGet)({businessClassNo:this.getDynamicFormsData.businessClassNo,moduleNo:this.getDynamicFormsData.moduleNo,pageNo:this.getDynamicFormsData.pageNo,pageId:this.getDynamicFormsData.pageId}),!e.data)return this.$message.warning(this.$l("该品种没有配置表单"));const t=this.localConfig.method;this.itemChange=this.localConfig.itemChange,this.dynamicDataT={...e.data,method:t},await this.setUnit(e.data.units),await this.$nextTick(),await this.getFormData()},async setUnit(e){e.map(e=>{this.$set(this.isShowObjectT,e.prop,{...this.isShowObjectT[e.prop]}),this.$set(this.isShowGroupObjectT,e.prop,e.hasOwnProperty("isShow")&&null!=e.isShow?e.isShow:1),this.$set(this.isEditableObjectT,e.prop,{...this.isEditableObjectT[e.prop]}),this.$set(this.isStaticField,e.prop,{...this.isStaticField[e.prop]}),this.$set(this.isStaticUnit,e.prop,e.isExtDefined),this.$set(this.formGroupKeyObj,e.prop,0),this.$set(this.formItemKeyObj,e.prop,{...this.formItemKeyObj[e.prop]}),["FORM","UNIT_FORM"].includes(e.unitType)?this.$set(this.formData,""+e.prop,{...this.formData[e.prop]}):(this.$set(this.formData,""+e.prop,[...this.formData[e.prop]||[]]),this.$set(this.slList,""+e.prop,[])),this.setElements(e.elements,e)})},setElements(e,t){e&&(e||[]).map(e=>{if(["UNIT_TABLE","UNIT_FORM"].includes(e.elementType))this.setUnit([{...e,prop:t.prop,unitName:t.unitName,unitType:e.elementType}]);else{var n;if(this.$set(this.isShowObjectT[t.prop],e.prop,e.isShow),this.$set(this.isShowObjectT[t.prop],e.prop+"_icon",e.isShow&&e.icon),this.$set(this.isEditableObjectT[t.prop],e.prop,e.isEditable),this.$set(this.isStaticField[t.prop],e.prop,e.isExtDefined),this.$set(this.formItemKeyObj[t.prop],e.prop,0),["FORM","UNIT_FORM"].includes(t.unitType)&&(e.defaultValue=this.changVariable(e.defaultValue),this.$set(this.formData[t.prop],""+e.prop,["",null,void 0].includes(this.formData[t.prop][e.prop])?e.defaultValue:this.formData[t.prop][e.prop])),["CustomSelect","Radio","Checkbox","SelectLazy","unitTreeSelect"].includes(this.elementTypeChange[e.elementType]||e.elementType))if(["FORM","UNIT_FORM"].includes(t.unitType))this.$set(this.formData[t.prop],""+(e.hasOwnProperty("nameProp")?e.nameProp:e.prop+"Name"),this.formData[t.prop][""+e.nameProp]||(null===(n=e.api)||void 0===n?void 0:n.defaultInputValue)||"");if(this.localConfig.formDefaultRule&&this.localConfig.formDefaultRule(this,e)[e.prop])this.$set(this.rules,t.prop+"."+e.prop,this.localConfig.formDefaultRule(this,e)[e.prop]);else{let n=null;e.validateExpression&&(n=(n,a,r)=>{this.formData[t.prop][e.prop]<e.validateExpression.min||this.formData[t.prop][e.prop]>e.validateExpression.max?r(new Error(this.$l("请输入正确范围内的数据"))):"Reg"==e.validatorType?(e.validateExpression&&(e.validateExpression=JSON.parse(JSON.stringify(e.validateExpression))),new RegExp(e.validateExpression.isTrue).test(a)?r():r(new Error(this.$l("请输入正确格式")))):r()}),this.$set(this.rules,t.prop+"."+e.prop,[{required:!!e.isRequired,message:["CustomInput","Amount","Rate","CustomTextarea"].includes(this.elementTypeChange[e.elementType])||"amount"==e.prop?this.$l("请输入")+this.$l(e.label):this.$l("请选择")+this.$l(e.label),validator:n||void 0}])}}})},changeFormData(e,t,n,a,r){this.$emit("changeFormData",{val:e,prop:t,type:n,item:a,group:r})},dialogChangeFn(e,t,n,a,r){this.$emit("dialogChangeFn",{obj:e,val:t,prop:n,type:a,group:r})},async getFormData(){var e,t;Object.keys(this.detailData).length||this.initPageDone&&this.initPageDone();let n={data:{...this.detailData}},a=JSON.parse((null===(e=n.data)||void 0===e?void 0:e.extInfo)||(null===(t=this.formData)||void 0===t?void 0:t.extInfo)||"{}");Object.keys(this.formData).map(e=>{null!==this.formData[e]&&(Array.isArray(this.formData[e])?(n.data.hasOwnProperty(e)&&n.data[e]?this.formData[e]=[...n.data[e]]:this.formData[e]=[...this.formData[e]],Array.isArray(a[e])?this.$set(this.formData,e,this.formData[e].map((t,n)=>(t={...t,...a[e][n]},t.id=Date.now()+n,t))):this.$set(this.formData,e,this.formData[e].map((e,t)=>(e.id=Date.now()+t,e)))):this.formData[e]={...this.formData[e],...n.data[e],...a[e]})}),this.formGroups.map(e=>{e.elements&&(e.elements||[]).map(t=>{if(t.prop.includes(",")){let[a,r]=t.prop.split(",");["FORM","UNIT_FORM"].includes(e.unitType)?this.formData[e.prop][t.prop]=n.data[e.prop][a]+","+n.data[e.prop][r]:(n.data[e.prop]||[]).map((n,i)=>(this.$set(this.formData[e.prop][i],t.prop,n[a]+","+n[r]),n[t.prop]=n[a]+","+n[r],n))}this.$emit("getFormData",t)})}),this.initPageDone&&this.initPageDone()},addTableRow(e,t){let n={};t.map(e=>{n[e.prop]=""}),this.formData[e].push({...n,id:Date.now()})},deleteTableRow(e){if(this.slList[e].length<1)return this.$message.warning(this.$l("请先选择至少一条数据"));this.$msgboxPor({title:this.$l("确认要删除吗?"),message:this.$l("内容从页面删除,将不可恢复"),type:"error",customClass:"question",confirmButtonText:this.$l("确定"),cancelButtonText:this.$l("取消")}).then(()=>{this.formData[e]=this.formData[e].filter(t=>!this.slList[e].some(e=>e.id==t.id))})},deleteRow(e,t,n){this.$msgboxPor({title:this.$l("确认要删除吗?"),message:this.$l("内容从页面删除,将不可恢复"),type:"error",customClass:"question",confirmButtonText:this.$l("确定"),cancelButtonText:this.$l("取消")}).then(()=>{this.formData[n]=this.formData[n].filter(t=>!(e.id==t.id))})},async submit(){let e=await this.$refs["dynamicForms"].validate();if(e)return this.$emit("submit",{...this.handleSubmitData(),investTx:{...this.formData.investTx||{},beIds:this.fileUploadTableData.map(e=>e.beid)}}),{...this.formData,investTx:{...this.formData.investTx||{},beIds:this.fileUploadTableData.map(e=>e.beid)}}},save(){this.$emit("save",{...this.handleSubmitData(),investTx:{...this.formData.investTx||{},beIds:this.fileUploadTableData.map(e=>e.beid)}})},handleSubmitData(){let e=JSON.parse(JSON.stringify(this.formData));return e.extInfo={},Object.keys(e).map(t=>{if(e[t])if(this.isStaticUnit[t]&&(e.extInfo||(e.extInfo={}),e.extInfo[t]=e[t]),Array.isArray(e[t])){if(!this.isShowGroupObjectT[t])return e[t]=null;e[t].map((n,a)=>{Object.keys(n).map(r=>{if(this.isStaticField[t][r]&&(e.extInfo[t][a][r]=e[t][a][r]),r.includes(",")){let[i,s]=r.split(","),[o,l]=(n[r]||"").split(",");e[t][a][i]=void 0===o?"":o,e[t][a][s]=void 0===l?"":l}})})}else Object.keys(e[t]).map(n=>{if(""===e[t][n]&&(e[t][n]=null),this.isStaticField[t]&&this.isStaticField[t][n]&&(e.extInfo[t]||(e.extInfo[t]={}),e.extInfo[t][n]=e[t][n]),this.isShowObjectT[t]&&0===this.isShowObjectT[t][n]&&(e[t][n]=null),n.includes(",")){let[a,r]=n.split(","),[i,s]=(e[t][n]||"").split(",");e[t][a]=void 0===i?"":i,e[t][r]=void 0===s?"":s}})}),e.extInfo&&(e.extInfo=JSON.stringify(e.extInfo)),e},cancel(){this.$emit("cancel")},getNo(e,t){this.$emit("getNo",e,t)},changVariable(e){if(["",null,void 0].includes(e))return e||"";let t=String(e);if(t.includes("N("))return Number(t.replace("N(","").replace(")",""));if(t.includes("S("))return String(t.replace("S(","").replace(")",""));if(t.includes("EXP("))return new Function("this",t.replace("EXP(","").replace(")",""))(this);if("${nowDate}"==t)return(0,a.dayjs)().format("YYYY-MM-DD");if(t&&t.includes("$")){let e=t.replace("${","").replace("}","");return this.variable[e]||""}return e||""}},created(){this.getDynamicForms()}}},"6dbc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("aaf1")),r=l(n("6311")),i=l(n("6f70")),s=l(n("675a")),o=n("ed08");function l(e){return e&&e.__esModule?e:{default:e}}t.default={name:"obverse",mixins:[a.default],data(){return{dialogView:!1,infoPrint:[],bg_1:r.default,bg_2:i.default,icon:s.default,time:(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),billDetailForm:{},outInfo:{},cdInfo:{},bsInfo:{}}},mounted(){this.setData(),console.log((0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),"parseTime(new Date(), 'YYYY-MM-DD HH:mm')")},methods:{setData(){var e,t,n,a,r,i,s,o;this.billDetailForm={...null===(e=this.formData)||void 0===e?void 0:e.billPositiveInfo,...null===(t=this.formData)||void 0===t?void 0:t.billBackInfo}||{},this.outInfo=(null===(n=this.formData)||void 0===n||null===(a=n.txGrntVos)||void 0===a?void 0:a.find(e=>"GT01"==e.grntType))||{},this.cdInfo=(null===(r=this.formData)||void 0===r||null===(i=r.txGrntVos)||void 0===i?void 0:i.find(e=>"GT02"==e.grntType))||{},this.bsInfo=(null===(s=this.formData)||void 0===s||null===(o=s.txGrntVos)||void 0===o?void 0:o.find(e=>"GT03"==e.grntType))||{}},setView(e){this.time=(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}")}},created(){}}},"6dd8":function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,a){return e[0]===t&&(n=a,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),a=this.__entries__[n];return a&&a[1]},t.prototype.set=function(t,n){var a=e(this.__entries__,t);~a?this.__entries__[a][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,a=e(n,t);~a&&n.splice(a,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,a=this.__entries__;n<a.length;n++){var r=a[n];e.call(t,r[1],r[0])}},t}()}(),a="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,r=function(){return"undefined"!==typeof e&&e.Math===Math?e:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),i=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(r):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)}}(),s=2;function o(e,t){var n=!1,a=!1,r=0;function o(){n&&(n=!1,e()),a&&c()}function l(){i(o)}function c(){var e=Date.now();if(n){if(e-r<s)return;a=!0}else n=!0,a=!1,setTimeout(l,t);r=e}return c}var l=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!==typeof MutationObserver,d=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=o(this.refresh.bind(this),l)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var e=this.updateObservers_();e&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){a&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){a&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,a=c.some((function(e){return!!~n.indexOf(e)}));a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,a=Object.keys(t);n<a.length;n++){var r=a[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||r},p=M(0,0,0,0);function m(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){var a=e["border-"+n+"-width"];return t+m(a)}),0)}function _(e){for(var t=["top","right","bottom","left"],n={},a=0,r=t;a<r.length;a++){var i=r[a],s=e["padding-"+i];n[i]=m(s)}return n}function v(e){var t=e.getBBox();return M(0,0,t.width,t.height)}function b(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var a=h(e).getComputedStyle(e),r=_(a),i=r.left+r.right,s=r.top+r.bottom,o=m(a.width),l=m(a.height);if("border-box"===a.boxSizing&&(Math.round(o+i)!==t&&(o-=g(a,"left","right")+i),Math.round(l+s)!==n&&(l-=g(a,"top","bottom")+s)),!w(e)){var c=Math.round(o+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(o-=c),1!==Math.abs(u)&&(l-=u)}return M(r.left,r.top,o,l)}var y=function(){return"undefined"!==typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"===typeof e.getBBox}}();function w(e){return e===h(e).document.documentElement}function k(e){return a?y(e)?v(e):b(e):p}function T(e){var t=e.x,n=e.y,a=e.width,r=e.height,i="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(i.prototype);return f(s,{x:t,y:n,width:a,height:r,top:n,right:t+a,bottom:r+n,left:t}),s}function M(e,t,n,a){return{x:e,y:t,width:n,height:a}}var S=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=k(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),D=function(){function e(e,t){var n=T(t);f(this,{target:e,contentRect:n})}return e}(),L=function(){function e(e,t,a){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=a}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new S(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new D(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!==typeof WeakMap?new WeakMap:new n,C=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=d.getInstance(),a=new L(t,n,this);x.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));var N=function(){return"undefined"!==typeof r.ResizeObserver?r.ResizeObserver:C}();t["default"]=N}.call(this,n("c8ba"))},"6df8":function(e,t,n){"use strict";n.r(t);var a=n("d77c"),r=n("4937");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},"6e42":function(e,t,n){},"6e48":function(e,t,n){"use strict";var a=n("001d");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},"6e98":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
176
176
|
//! moment.js locale configuration
|
|
177
177
|
var t=e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t}))},"6eb2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return e.btn?t("el-dropdown",{directives:[{name:"hasG",rawName:"v-hasG",value:e.permission,expression:"permission"}],attrs:{trigger:"hover"},on:{command:e.handleExport}},[t("el-button",{attrs:{plain:"",size:"mini"}},[e._v(e._s(e.$l("导出")))]),t("el-dropdown-menu",{staticStyle:{"margin-right":"0px"},attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"xls"}},[e._v(e._s(e.$l(".xls格式")))]),t("el-dropdown-item",{attrs:{command:"xlsx"}},[e._v(e._s(e.$l(".xlsx格式")))])],1)],1):t("el-dropdown",{directives:[{name:"hasG",rawName:"v-hasG",value:e.permission,expression:"permission"}],staticClass:"custom-drop",staticStyle:{width:"100%",cursor:"pointer","min-width":"60px","text-align":"center"},attrs:{trigger:"hover",placement:"right-start","hide-timeout":2e3},on:{command:e.handleExport}},[t("el-link",{staticClass:"export-name",attrs:{underline:!1}},[e._v(e._s(e.$l("导出")))]),t("el-dropdown-menu",{staticStyle:{"margin-right":"0px"},attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:"xls"}},[e._v(e._s(e.$l(".xls格式")))]),t("el-dropdown-item",{attrs:{command:"xlsx"}},[e._v(e._s(e.$l(".xlsx格式")))])],1)],1)},t.staticRenderFns=[]},"6ed1":function(e,t,n){"use strict";n.r(t);var a=n("2cba"),r=n("f554");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("24dc");var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,"6bc0df1e",null);t["default"]=o.exports},"6f12":function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
178
178
|
//! moment.js locale configuration
|
|
@@ -292,7 +292,7 @@ var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta
|
|
|
292
292
|
//! moment.js locale configuration
|
|
293
293
|
var t=e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});function n(e,t,n,a){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return a||t?r[n][0]:r[n][1]}return t}))},cf75:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
294
294
|
//! moment.js locale configuration
|
|
295
|
-
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function a(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function r(e,t,n,a){var r=i(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function i(e){var n=Math.floor(e%1e3/100),a=Math.floor(e%100/10),r=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),a>0&&(i+=(""!==i?" ":"")+t[a]+"maH"),r>0&&(i+=(""!==i?" ":"")+t[r]),""===i?"pagh":i}var s=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:a,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},cf76:function(e,t,n){"use strict";n.r(t);var a=n("9181"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},cf7a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[e.readOnly?t("FillTable",{attrs:{data:e.tableData,columns:e.AllColumns,"max-height":e.tableHeight,showSetsize:!0,"cell-default":!0}}):t("el-form",{ref:"formRef",attrs:{model:e.formData}},[t("el-table",{ref:"t-box",staticClass:"t-box",attrs:{data:e.formData.tableData,"max-height":e.tableHeight,size:e.size,border:"","header-align":"center"},on:{"selection-change":e.handleSelectionChange}},[e.selection?t("el-table-column",{attrs:{type:"selection",width:"62",fixed:"left",align:"center"}}):e._e(),t("el-table-column",{attrs:{type:"index",width:"56",fixed:"left",label:e.$l("序号"),align:"center"}}),e._l(e._columns,(function(n){return t("el-table-column",e._b({key:n.prop,attrs:{"header-align":"center","min-width":"250","show-overflow-tooltip":!1},scopedSlots:e._u([{key:"default",fn:function({$index:a,row:r,column:i}){return[t("el-form-item",{attrs:{prop:`tableData.${a}.${n.prop}`,rules:[{required:e._requireProps.includes(n.prop),trigger:["blur","change"],message:"请输入/选择"+n.label}]}},[e._t(n.slotName,null,{scope:{$index:a,row:r,column:i,item:n}})],2)]}}],null,!0)},"el-table-column",n,!1),[t("template",{slot:"header"},[e.headerProps.includes(n.prop)?t("span",{staticClass:"req-h"},[e._v("*")]):e._e(),e._v(" "+e._s(e.$l(n.label))+" ")])],2)})),e._l(e.exFields,(function(n){return t("el-table-column",e._b({key:n.prop,attrs:{"header-align":"center","min-width":"250","show-overflow-tooltip":!1},scopedSlots:e._u([{key:"default",fn:function({$index:a,row:r}){return[t("el-form-item",{attrs:{prop:`tableData.${a}.${n.prop}`,rules:[{required:e._requireProps.includes(n.prop),trigger:["blur","change"],message:"请输入/选择"+n.label}]}},[t(n.type,{tag:"component",attrs:{disabled:e.disabled||r["disabled"],items:n},model:{value:r[n.prop],callback:function(t){e.$set(r,n.prop,t)},expression:"row[item.prop]"}})],1)]}}],null,!0)},"el-table-column",n,!1),[t("template",{slot:"header"},[e.headerProps.includes(n.prop)?t("span",{staticClass:"req-h"},[e._v("*")]):e._e(),e._v(" "+e._s(e.$l(n.label))+" "),n.fieldDescription?t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:n.fieldDescription,placement:"top-start"}},[t("i",{staticClass:"n20-icon-xinxitishi"})]):e._e()],1)],2)})),t("TableSetSize",{attrs:{size:e.size},on:{"update:size":function(t){e.size=t},resize:t=>e.sizeBind=t}})],2)],1)],1)},t.staticRenderFns=[]},cfd7:function(e,t,n){"use strict";var a=n("ea4f");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2934");function r(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(r=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}t.default={props:{settingSource:{type:[Number,String],default:2}},computed:{IsPayment(){return 2==this.settingSource}},components:{SelectTreeUnitForm:()=>Promise.resolve().then(()=>r(n("9d01"))),NstcBank:()=>Promise.resolve().then(()=>r(n("a8a6")))},data(){return{defaultSelect:[],formInline:{},currencyList:[]}},mounted(){this.getCurrencyList()},methods:{async handleSubmit(){this.$refs["formRef"].validate(e=>{e&&this.$emit("handleSubmit",this.formInline)})},handleCurrencyChange(e){const t=this.currencyList.find(t=>t.currencyNo===e);this.formInline["currencyName"]=t["currencyName"]},handleUnitChange(e){const[t]=e||[];this.formInline.unitName=null===t||void 0===t?void 0:t.unitName},getCurrencyList(){(0,a.getCurrencyData)({isEnable:1},!1).then(e=>{this.currencyList=e})}}}},d077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("ed08"),r=n("2934"),i=n("ed08"),s=n("2d0e");t.default={name:"Budgetaccount",components:{ClPage:s.Page,CLTableSetSize:s.TableSetSize,ClPagination:s.Pagination,ClAdvancedFilter:s.AdvancedFilter},props:{unitNo:{type:String},visible:{type:Boolean,default:!1},isNeedQueryPlan:{type:Boolean,default:!0},isChild:{type:Boolean,default:!1},isSetColumns:{type:Boolean,default:!1},businessDate:{type:String,default:""},currencyNo:{type:String,default:""},rpDir:{type:[Number,String],default:1},payTool:{type:String,default:""}},data(e){return{filterList:[{id:(0,a.randomString)(11),label:e.$l("预算单位"),type:"select",value:"budgetUnitNo",slotName:"budgetUnitNo",options:[],isDefault:!0,required:!0,props:{filterable:!0,clearable:!0,labelKey:"budgetUnitName",valueKey:"budgetUnitNo"}},{id:(0,a.randomString)(11),label:e.$l("预算系列"),type:"select",value:"groupId",slotName:"groupId",options:[],isDefault:!0,required:!0,props:{filterable:!0,clearable:!0,labelKey:"groupName",valueKey:"groupId"}},{id:(0,a.randomString)(11),label:e.$l("预算科目名称"),type:"text",value:"budgetAccountNameLike",isDefault:!0,props:{clearable:!0}}],size:"small",sizeBind:{},parseTime:i.parseTime,budgetTypeId:"",form:{budgetUnitNo:"",groupId:"",termId:"",budgetAccountNameLike:""},budgetUnitNameArr:[],groupNameArr:[],termNameArr:[],budgetAccountData:{},amountPlanData:{},pagination:{page:1,size:50,total:0},rules:{budgetUnitNo:[{required:!0,message:e.$l("请选择预算单位"),trigger:"change"}],groupId:[{required:!0,message:e.$l("请选择预算系列"),trigger:"change"}],termId:[{required:!0,message:e.$l("请选择预算期间"),trigger:"change"}]},columns1:[],tableData1:[],showPlan:!1}},watch:{"form.groupId"(e){var t;let n=null===(t=this.groupNameArr)||void 0===t?void 0:t.filter(t=>t.groupId==e);if(!n||0==n.length)return;let a=n&&n.length>0?n[0].bussBudgetTypeId:"";this.budgetTypeId=a},"form.budgetUnitNo"(e){this.budgetUnitChange()},visible(e){e&&(this.setColumns(),this.tableData1=[],this.budgetAccountData={},this.amountPlanData={},this.showPlan=!1,this.getInitData()),e||(this.queryReset(),this.clearValid())}},methods:{setColumns(){this.columns1=[{prop:"budgetAccountCode",label:this.$l("预算科目编码"),align:"center",width:144},{prop:"budgetAccountName",label:this.$l("预算科目名称"),width:230}]},paginationChange(e){this.pagination=e,this.submitForm("searchForm",!1)},async getUnitBudgetAllPullDown(){await(0,r.getUnitBudgetAllPullDown)({unitNo:this.unitNo}).then(e=>{this.budgetUnitNameArr=e,this.filterList.forEach(e=>{"budgetUnitNo"==e.value&&(e.options=this.budgetUnitNameArr)}),1==this.budgetUnitNameArr.length?(this.form.budgetUnitNo=this.budgetUnitNameArr[0].budgetUnitNo,this.groupNameArr=this.budgetUnitNameArr[0].groupList,this.filterList.forEach(e=>{"groupId"==e.value&&(e.options=this.groupNameArr)}),1==this.groupNameArr.length&&(this.form.groupId=this.groupNameArr[0].groupId,this.budgetTypeId=this.groupNameArr[0].budgetTypeId)):(this.form.groupId="",this.budgetTypeId=""),this.getTermName()})},budgetUnitChange(){var e,t;this.groupNameArr=null===(e=this.budgetUnitNameArr.find(e=>e.budgetUnitNo==this.form.budgetUnitNo))||void 0===e?void 0:e.groupList,1==(null===(t=this.groupNameArr)||void 0===t?void 0:t.length)?(this.filterList.forEach(e=>{"groupId"==e.value&&this.$set(e,"options",this.groupNameArr)}),this.form.groupId=this.groupNameArr[0].groupId,this.budgetTypeId=this.groupNameArr[0].budgetTypeId):(this.form.groupId="",this.budgetTypeId=""),this.getTermName()},async getTermName(){let e={unitNo:this.unitNo,budgetUnitNo:this.form.budgetUnitNo,groupId:this.form.groupId,occupyTerm:1},t=await(0,r.getQuotaTerm)(e);t&&t.length>0&&(this.form.termId=t[0].termId,this.submitForm("searchForm",!0))},submitForm(e,t=!0){if(this.tableData1=[],t&&(this.pagination.page=1),!this.form.budgetUnitNo||!this.form.groupId||!this.form.termId)return;this.form.budgetAccountNameLike=this.form.budgetAccountNameLike&&this.form.budgetAccountNameLike.replace(/\s/g,"");let n={...this.form,businessDate:"",currencyNo:this.currencyNo,rpDir:1==this.rpDir?2:1,"page.current":this.pagination.page,"page.size":this.pagination.size};(0,r.getBudgetQuota)(n).then(e=>{this.tableData1=this.transData1(e.list),this.pagination.total=e.total})},queryReset(){this.budgetUnitNameArr.length&&this.budgetUnitNameArr.length>1?this.form={budgetUnitNo:"",groupId:"",termId:"",budgetAccountNameLike:""}:this.budgetUnitNameArr.length&&1==this.budgetUnitNameArr.length?(this.getUnitBudgetAllPullDown(),this.form.budgetAccountNameLike=""):this.form={budgetUnitNo:"",groupId:"",termId:"",budgetAccountNameLike:""}},clearValid(){let e=this.$refs.searchForm;e&&e.clearValidate()},async getInitData(){this.queryReset(),this.clearValid(),await this.getUnitBudgetAllPullDown(),this.submitForm("searchForm",!0)},choseBudget(e){this.budgetAccountData=e,this.getCfbAmountPlanData()},getCfbAmountPlanData(){let e=this.budgetUnitNameArr.filter(e=>e.budgetUnitNo==this.form.budgetUnitNo)||[],t={...this.budgetAccountData,budgetUnitNo:this.form.budgetUnitNo,budgetUnitName:e[0].budgetUnitName,groupId:this.form.groupId};this.$emit("receive",t),this.close()},close(){this.groupNameArr=[],this.termNameArr=[],this.$emit("cancel")},transData1(e){return e.forEach(e=>{e.transAmount=(0,i.amountFormat)(e.amount),e.transUsedAmount=(0,i.amountFormat)(e.amount-e.usedAmount),e.amount=(0,i.amountFormat)(e.amount),e.balanceAmount=(0,i.amountFormat)(e.balanceAmount)}),e}}}},d177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const a=window._g_import_g_||(window._g_import_g_={});async function r(e,t){try{if(a[e])return a[e];const n=await t();return a[e]=n,n}catch(n){throw console.error(`模块 ${e} 导入失败:`,n),n}}t.default=r},d1c9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("ed08");function i(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(i=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}t.default={name:"NstcAutoFillDetection",props:{settingSource:{type:[Number,String],default:2}},components:{CLPageHeader:a.PageHeader,PageHeader:a.PageHeader,Page:a.Page,HandEntred:()=>Promise.resolve().then(()=>i(n("5a1e"))),HandEntredThird:()=>Promise.resolve().then(()=>i(n("2c82"))),SelectEntries:()=>Promise.resolve().then(()=>i(n("60b1"))),RuleHit:()=>Promise.resolve().then(()=>i(n("a92e"))),FillInfo:()=>Promise.resolve().then(()=>i(n("8c69"))),THIRD_ACCOUNT:()=>Promise.resolve().then(()=>i(n("5266")))},data(){return{isComponent:"SelectEntries",ruleData:[],fillData:[],searchData:{radio:"SelectEntries",accountType:"BANK_ACCOUNT"},formData:{}}},methods:{goBackCommon:r.goBackCommon,handleRadio(){let e={SelectEntries_BANK_ACCOUNT:"SelectEntries",SelectEntries_THIRD_ACCOUNT:"THIRD_ACCOUNT",HandEntred_BANK_ACCOUNT:"HandEntred",HandEntred_THIRD_ACCOUNT:"HandEntredThird"};this.isComponent=e[`${this.searchData.radio}_${this.searchData.accountType}`],this.ruleData=[],this.fillData=[],this.formData={}},async handleSubmit(e){try{var t,n,r;let i="/api/aims/record/record-matching/1.0/ruleChecking",s="/api/aims/record/record-matching/1.0/third/ruleChecking",o={BANK_ACCOUNT:i,THIRD_ACCOUNT:s};const l=await a.axios.post(o[this.searchData.accountType]||i,{...e,balanceDir:2==this.settingSource?1:2});if(this.formData=l,Array.isArray(l.data)){const e=[],t=[];return l.data.forEach(n=>{n.matchingFillCommons.forEach(e=>{const a=e.fillValue?JSON.parse(e.fillValue):{},r={...e,fillValue:(null===a||void 0===a?void 0:a.budgetAccountName)||(null===a||void 0===a?void 0:a.name)};t.push(r),n[e.fillFieldCode]=(null===a||void 0===a?void 0:a.budgetAccountName)||(null===a||void 0===a?void 0:a.name)}),e.push(n)}),this.ruleData=e,void(e.length>1?this.fillData=[]:this.fillData=t)}this.fillData=((null===(t=l.data)||void 0===t?void 0:t.fillCommons)||[]).map(e=>{const t=e.fillValue?JSON.parse(e.fillValue):{};return{...e,fillValue:(null===t||void 0===t?void 0:t.budgetAccountName)||(null===t||void 0===t?void 0:t.name)}});const c=[];null===(n=l.data)||void 0===n||null===(r=n.matchingVos)||void 0===r||r.forEach(e=>{e.matchingFillCommons.forEach(t=>{const n=t.fillValue?JSON.parse(t.fillValue):{};e[t.fillFieldCode]=(null===n||void 0===n?void 0:n.budgetAccountName)||(null===n||void 0===n?void 0:n.name)}),c.push(e)}),this.ruleData=c}catch{this.handleRadio()}}}}},d1d5:function(e,t,n){"use strict";var a=n("f3d7");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d1e1:function(e,t,n){"use strict";var a=n("2017");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var a=r(n("d177"));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(i=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}async function s(e,t,r="yyyy-MM-dd"){const{read:s,utils:o}=await(0,a.default)("xlsx",()=>Promise.resolve().then(()=>i(n("25ca"))));let l=new Promise((t,n)=>{if(e instanceof Blob)e.arrayBuffer().then(e=>{try{const n=s(e,{type:"array",cellDates:!0,dateNF:r,raw:!0});t(n)}catch(a){n(a)}});else if(e instanceof ArrayBuffer)try{const n=s(e,{type:"array",cellDates:!0,dateNF:r,raw:!0});t(n)}catch(a){n(a)}});return l.then(e=>{let n=t||e.SheetNames[0],a=e.Sheets[n];if(!a)return Promise.reject(`工作表:${t} 不存在`);const i=a["!merges"]||[];i.length>0&&i.forEach(e=>{const t=e.s,n=e.e,r=o.encode_cell(t),i=a[r].v;for(let s=t.r;s<=n.r;s++)for(let e=t.c;e<=n.c;e++){const t=o.encode_cell({r:s,c:e});a[t]={t:"s",v:i}}});let s=o.sheet_to_json(a,{header:1,defval:"",cellDates:!0,dateNF:r,raw:!1});return Promise.resolve(s)})}},d233:function(e,t,n){"use strict";var a=n("b313"),r=n("5402"),i=Object.prototype.hasOwnProperty,s=Array.isArray,o=r(),l=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},u=function(e){return o.get(e)},d=function(e,t){o.set(e,t)},f=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),h=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(s(n)){for(var a=[],r=0;r<n.length;++r)"undefined"!==typeof n[r]&&a.push(n[r]);t.obj[t.prop]=a}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)"undefined"!==typeof e[a]&&(n[a]=e[a]);return n},m=function e(t,n,a){if(!n)return t;if("object"!==typeof n&&"function"!==typeof n){if(s(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];if(c(t)){var r=u(t)+1;t[r]=n,d(t,r)}else(a&&(a.plainObjects||a.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t){if(c(n)){for(var o=Object.keys(n),f=a&&a.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<o.length;h++){var m=parseInt(o[h],10);f[m+1]=n[o[h]]}return l(f,u(n)+1)}return[t].concat(n)}var g=t;return s(t)&&!s(n)&&(g=p(t,a)),s(t)&&s(n)?(n.forEach((function(n,r){if(i.call(t,r)){var s=t[r];s&&"object"===typeof s&&n&&"object"===typeof n?t[r]=e(s,n,a):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var s=n[r];return i.call(t,r)?t[r]=e(t[r],s,a):t[r]=s,t}),g)},g=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},_=function(e,t,n){var a=e.replace(/\+/g," ");if("iso-8859-1"===n)return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(r){return a}},v=1024,b=function(e,t,n,r,i){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",l=0;l<s.length;l+=v){for(var c=s.length>=v?s.slice(l,l+v):s,u=[],d=0;d<c.length;++d){var h=c.charCodeAt(d);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||i===a.RFC1738&&(40===h||41===h)?u[u.length]=c.charAt(d):h<128?u[u.length]=f[h]:h<2048?u[u.length]=f[192|h>>6]+f[128|63&h]:h<55296||h>=57344?u[u.length]=f[224|h>>12]+f[128|h>>6&63]+f[128|63&h]:(d+=1,h=65536+((1023&h)<<10|1023&c.charCodeAt(d)),u[u.length]=f[240|h>>18]+f[128|h>>12&63]+f[128|h>>6&63]+f[128|63&h])}o+=u.join("")}return o},y=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var r=t[a],i=r.obj[r.prop],s=Object.keys(i),o=0;o<s.length;++o){var l=s[o],c=i[l];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:i,prop:l}),n.push(c))}return h(t),e},w=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},k=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},T=function(e,t,n,a){if(c(e)){var r=u(e)+1;return e[r]=t,d(e,r),e}var i=[].concat(e,t);return i.length>n?l(p(i,{plainObjects:a}),i.length-1):i},M=function(e,t){if(s(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)};e.exports={arrayToObject:p,assign:g,combine:T,compact:y,decode:_,encode:b,isBuffer:k,isOverflow:c,isRegExp:w,maybeMap:M,merge:m}},d263:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e");t.default={name:"Detail",components:{ClDescriptions:a.Descriptions},props:{formData:{type:Object,default:()=>({})},extendFields:{type:Array,default:()=>[]},labelStyle:{type:String,default:""},fieldDifferences:{type:Object,default:()=>({})}},computed:{extendAbled(){return this.extendFields.filter(e=>1===e.isEnabled)}},methods:{formatFieldValue(e,t){var n;if(!e&&0!==e)return"";const a=null===(n=t.fieldProperty)||void 0===n?void 0:n.toLowerCase();switch(a){case"date":return this.formatDate(e);case"bigdecimal":return this.formatNumber(e);case"select":case"multiselect":return e;default:return e}},getFieldDisplayValue(e){const t=this.formData[e.fieldNo];return this.formatFieldValue(t,e)},getFieldOldValue(e){var t,n;const a=null===(t=this.fieldDifferences)||void 0===t||null===(n=t.oldValue)||void 0===n?void 0:n[e.fieldNo];return this.formatFieldValue(a,e)},formatDate(e){if(!e)return"";if("string"===typeof e&&e.includes("-"))return e;try{const t=new Date(e);return t.toISOString().split("T")[0]}catch(t){return e}},formatNumber(e){if(!e&&0!==e)return"";const t=parseFloat(e);if(isNaN(t))return e;const n=t.toFixed(2),[a,r]=n.split("."),i=a.replace(/\B(?=(\d{3})+(?!\d))/g,",");return`${i}.${r}`}}}},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
295
|
+
var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq",t}function a(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret",t}function r(e,t,n,a){var r=i(e);switch(n){case"ss":return r+" lup";case"mm":return r+" tup";case"hh":return r+" rep";case"dd":return r+" jaj";case"MM":return r+" jar";case"yy":return r+" DIS"}}function i(e){var n=Math.floor(e%1e3/100),a=Math.floor(e%100/10),r=e%10,i="";return n>0&&(i+=t[n]+"vatlh"),a>0&&(i+=(""!==i?" ":"")+t[a]+"maH"),r>0&&(i+=(""!==i?" ":"")+t[r]),""===i?"pagh":i}var s=e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:n,past:a,s:"puS lup",ss:r,m:"wa’ tup",mm:r,h:"wa’ rep",hh:r,d:"wa’ jaj",dd:r,M:"wa’ jar",MM:r,y:"wa’ DIS",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return s}))},cf76:function(e,t,n){"use strict";n.r(t);var a=n("9181"),r=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=r.a},cfd7:function(e,t,n){"use strict";var a=n("ea4f");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2934");function r(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(r=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}t.default={props:{settingSource:{type:[Number,String],default:2}},computed:{IsPayment(){return 2==this.settingSource}},components:{SelectTreeUnitForm:()=>Promise.resolve().then(()=>r(n("9d01"))),NstcBank:()=>Promise.resolve().then(()=>r(n("a8a6")))},data(){return{defaultSelect:[],formInline:{},currencyList:[]}},mounted(){this.getCurrencyList()},methods:{async handleSubmit(){this.$refs["formRef"].validate(e=>{e&&this.$emit("handleSubmit",this.formInline)})},handleCurrencyChange(e){const t=this.currencyList.find(t=>t.currencyNo===e);this.formInline["currencyName"]=t["currencyName"]},handleUnitChange(e){const[t]=e||[];this.formInline.unitName=null===t||void 0===t?void 0:t.unitName},getCurrencyList(){(0,a.getCurrencyData)({isEnable:1},!1).then(e=>{this.currencyList=e})}}}},d077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("ed08"),r=n("2934"),i=n("ed08"),s=n("2d0e");t.default={name:"Budgetaccount",components:{ClPage:s.Page,CLTableSetSize:s.TableSetSize,ClPagination:s.Pagination,ClAdvancedFilter:s.AdvancedFilter},props:{unitNo:{type:String},visible:{type:Boolean,default:!1},isNeedQueryPlan:{type:Boolean,default:!0},isChild:{type:Boolean,default:!1},isSetColumns:{type:Boolean,default:!1},businessDate:{type:String,default:""},currencyNo:{type:String,default:""},rpDir:{type:[Number,String],default:1},payTool:{type:String,default:""}},data(e){return{filterList:[{id:(0,a.randomString)(11),label:e.$l("预算单位"),type:"select",value:"budgetUnitNo",slotName:"budgetUnitNo",options:[],isDefault:!0,required:!0,props:{filterable:!0,clearable:!0,labelKey:"budgetUnitName",valueKey:"budgetUnitNo"}},{id:(0,a.randomString)(11),label:e.$l("预算系列"),type:"select",value:"groupId",slotName:"groupId",options:[],isDefault:!0,required:!0,props:{filterable:!0,clearable:!0,labelKey:"groupName",valueKey:"groupId"}},{id:(0,a.randomString)(11),label:e.$l("预算科目名称"),type:"text",value:"budgetAccountNameLike",isDefault:!0,props:{clearable:!0}}],size:"small",sizeBind:{},parseTime:i.parseTime,budgetTypeId:"",form:{budgetUnitNo:"",groupId:"",termId:"",budgetAccountNameLike:""},budgetUnitNameArr:[],groupNameArr:[],termNameArr:[],budgetAccountData:{},amountPlanData:{},pagination:{page:1,size:50,total:0},rules:{budgetUnitNo:[{required:!0,message:e.$l("请选择预算单位"),trigger:"change"}],groupId:[{required:!0,message:e.$l("请选择预算系列"),trigger:"change"}],termId:[{required:!0,message:e.$l("请选择预算期间"),trigger:"change"}]},columns1:[],tableData1:[],showPlan:!1}},watch:{"form.groupId"(e){var t;let n=null===(t=this.groupNameArr)||void 0===t?void 0:t.filter(t=>t.groupId==e);if(!n||0==n.length)return;let a=n&&n.length>0?n[0].bussBudgetTypeId:"";this.budgetTypeId=a},"form.budgetUnitNo"(e){this.budgetUnitChange()},visible(e){e&&(this.setColumns(),this.tableData1=[],this.budgetAccountData={},this.amountPlanData={},this.showPlan=!1,this.getInitData()),e||(this.queryReset(),this.clearValid())}},methods:{setColumns(){this.columns1=[{prop:"budgetAccountCode",label:this.$l("预算科目编码"),align:"center",width:144},{prop:"budgetAccountName",label:this.$l("预算科目名称"),width:230}]},paginationChange(e){this.pagination=e,this.submitForm("searchForm",!1)},async getUnitBudgetAllPullDown(){await(0,r.getUnitBudgetAllPullDown)({unitNo:this.unitNo}).then(e=>{this.budgetUnitNameArr=e,this.filterList.forEach(e=>{"budgetUnitNo"==e.value&&(e.options=this.budgetUnitNameArr)}),1==this.budgetUnitNameArr.length?(this.form.budgetUnitNo=this.budgetUnitNameArr[0].budgetUnitNo,this.groupNameArr=this.budgetUnitNameArr[0].groupList,this.filterList.forEach(e=>{"groupId"==e.value&&(e.options=this.groupNameArr)}),1==this.groupNameArr.length&&(this.form.groupId=this.groupNameArr[0].groupId,this.budgetTypeId=this.groupNameArr[0].budgetTypeId)):(this.form.groupId="",this.budgetTypeId=""),this.getTermName()})},budgetUnitChange(){var e,t;this.groupNameArr=null===(e=this.budgetUnitNameArr.find(e=>e.budgetUnitNo==this.form.budgetUnitNo))||void 0===e?void 0:e.groupList,1==(null===(t=this.groupNameArr)||void 0===t?void 0:t.length)?(this.filterList.forEach(e=>{"groupId"==e.value&&this.$set(e,"options",this.groupNameArr)}),this.form.groupId=this.groupNameArr[0].groupId,this.budgetTypeId=this.groupNameArr[0].budgetTypeId):(this.form.groupId="",this.budgetTypeId=""),this.getTermName()},async getTermName(){let e={unitNo:this.unitNo,budgetUnitNo:this.form.budgetUnitNo,groupId:this.form.groupId,occupyTerm:1},t=await(0,r.getQuotaTerm)(e);t&&t.length>0&&(this.form.termId=t[0].termId,this.submitForm("searchForm",!0))},submitForm(e,t=!0){if(this.tableData1=[],t&&(this.pagination.page=1),!this.form.budgetUnitNo||!this.form.groupId||!this.form.termId)return;this.form.budgetAccountNameLike=this.form.budgetAccountNameLike&&this.form.budgetAccountNameLike.replace(/\s/g,"");let n={...this.form,businessDate:"",currencyNo:this.currencyNo,rpDir:1==this.rpDir?2:1,"page.current":this.pagination.page,"page.size":this.pagination.size};(0,r.getBudgetQuota)(n).then(e=>{this.tableData1=this.transData1(e.list),this.pagination.total=e.total})},queryReset(){this.budgetUnitNameArr.length&&this.budgetUnitNameArr.length>1?this.form={budgetUnitNo:"",groupId:"",termId:"",budgetAccountNameLike:""}:this.budgetUnitNameArr.length&&1==this.budgetUnitNameArr.length?(this.getUnitBudgetAllPullDown(),this.form.budgetAccountNameLike=""):this.form={budgetUnitNo:"",groupId:"",termId:"",budgetAccountNameLike:""}},clearValid(){let e=this.$refs.searchForm;e&&e.clearValidate()},async getInitData(){this.queryReset(),this.clearValid(),await this.getUnitBudgetAllPullDown(),this.submitForm("searchForm",!0)},choseBudget(e){this.budgetAccountData=e,this.getCfbAmountPlanData()},getCfbAmountPlanData(){let e=this.budgetUnitNameArr.filter(e=>e.budgetUnitNo==this.form.budgetUnitNo)||[],t={...this.budgetAccountData,budgetUnitNo:this.form.budgetUnitNo,budgetUnitName:e[0].budgetUnitName,groupId:this.form.groupId};this.$emit("receive",t),this.close()},close(){this.groupNameArr=[],this.termNameArr=[],this.$emit("cancel")},transData1(e){return e.forEach(e=>{e.transAmount=(0,i.amountFormat)(e.amount),e.transUsedAmount=(0,i.amountFormat)(e.amount-e.usedAmount),e.amount=(0,i.amountFormat)(e.amount),e.balanceAmount=(0,i.amountFormat)(e.balanceAmount)}),e}}}},d177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const a=window._g_import_g_||(window._g_import_g_={});async function r(e,t){try{if(a[e])return a[e];const n=await t();return a[e]=n,n}catch(n){throw console.error(`模块 ${e} 导入失败:`,n),n}}t.default=r},d1c9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e"),r=n("ed08");function i(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(i=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}t.default={name:"NstcAutoFillDetection",props:{settingSource:{type:[Number,String],default:2}},components:{CLPageHeader:a.PageHeader,PageHeader:a.PageHeader,Page:a.Page,HandEntred:()=>Promise.resolve().then(()=>i(n("5a1e"))),HandEntredThird:()=>Promise.resolve().then(()=>i(n("2c82"))),SelectEntries:()=>Promise.resolve().then(()=>i(n("60b1"))),RuleHit:()=>Promise.resolve().then(()=>i(n("a92e"))),FillInfo:()=>Promise.resolve().then(()=>i(n("8c69"))),THIRD_ACCOUNT:()=>Promise.resolve().then(()=>i(n("5266")))},data(){return{isComponent:"SelectEntries",ruleData:[],fillData:[],searchData:{radio:"SelectEntries",accountType:"BANK_ACCOUNT"},formData:{}}},methods:{goBackCommon:r.goBackCommon,handleRadio(){let e={SelectEntries_BANK_ACCOUNT:"SelectEntries",SelectEntries_THIRD_ACCOUNT:"THIRD_ACCOUNT",HandEntred_BANK_ACCOUNT:"HandEntred",HandEntred_THIRD_ACCOUNT:"HandEntredThird"};this.isComponent=e[`${this.searchData.radio}_${this.searchData.accountType}`],this.ruleData=[],this.fillData=[],this.formData={}},async handleSubmit(e){try{var t,n,r;let i="/api/aims/record/record-matching/1.0/ruleChecking",s="/api/aims/record/record-matching/1.0/third/ruleChecking",o={BANK_ACCOUNT:i,THIRD_ACCOUNT:s};const l=await a.axios.post(o[this.searchData.accountType]||i,{...e,balanceDir:2==this.settingSource?1:2});if(this.formData=l,Array.isArray(l.data)){const e=[],t=[];return l.data.forEach(n=>{n.matchingFillCommons.forEach(e=>{const a=e.fillValue?JSON.parse(e.fillValue):{},r={...e,fillValue:(null===a||void 0===a?void 0:a.budgetAccountName)||(null===a||void 0===a?void 0:a.name)};t.push(r),n[e.fillFieldCode]=(null===a||void 0===a?void 0:a.budgetAccountName)||(null===a||void 0===a?void 0:a.name)}),e.push(n)}),this.ruleData=e,void(e.length>1?this.fillData=[]:this.fillData=t)}this.fillData=((null===(t=l.data)||void 0===t?void 0:t.fillCommons)||[]).map(e=>{const t=e.fillValue?JSON.parse(e.fillValue):{};return{...e,fillValue:(null===t||void 0===t?void 0:t.budgetAccountName)||(null===t||void 0===t?void 0:t.name)}});const c=[];null===(n=l.data)||void 0===n||null===(r=n.matchingVos)||void 0===r||r.forEach(e=>{e.matchingFillCommons.forEach(t=>{const n=t.fillValue?JSON.parse(t.fillValue):{};e[t.fillFieldCode]=(null===n||void 0===n?void 0:n.budgetAccountName)||(null===n||void 0===n?void 0:n.name)}),c.push(e)}),this.ruleData=c}catch{this.handleRadio()}}}}},d1d5:function(e,t,n){"use strict";var a=n("f3d7");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d1e1:function(e,t,n){"use strict";var a=n("2017");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d225:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var a=r(n("d177"));function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(i=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}async function s(e,t,r="yyyy-MM-dd"){const{read:s,utils:o}=await(0,a.default)("xlsx",()=>Promise.resolve().then(()=>i(n("25ca"))));let l=new Promise((t,n)=>{if(e instanceof Blob)e.arrayBuffer().then(e=>{try{const n=s(e,{type:"array",cellDates:!0,dateNF:r,raw:!0});t(n)}catch(a){n(a)}});else if(e instanceof ArrayBuffer)try{const n=s(e,{type:"array",cellDates:!0,dateNF:r,raw:!0});t(n)}catch(a){n(a)}});return l.then(e=>{let n=t||e.SheetNames[0],a=e.Sheets[n];if(!a)return Promise.reject(`工作表:${t} 不存在`);const i=a["!merges"]||[];i.length>0&&i.forEach(e=>{const t=e.s,n=e.e,r=o.encode_cell(t),i=a[r].v;for(let s=t.r;s<=n.r;s++)for(let e=t.c;e<=n.c;e++){const t=o.encode_cell({r:s,c:e});a[t]={t:"s",v:i}}});let s=o.sheet_to_json(a,{header:1,defval:"",cellDates:!0,dateNF:r,raw:!1});return Promise.resolve(s)})}},d233:function(e,t,n){"use strict";var a=n("b313"),r=n("5402"),i=Object.prototype.hasOwnProperty,s=Array.isArray,o=r(),l=function(e,t){return o.set(e,t),e},c=function(e){return o.has(e)},u=function(e){return o.get(e)},d=function(e,t){o.set(e,t)},f=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),h=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(s(n)){for(var a=[],r=0;r<n.length;++r)"undefined"!==typeof n[r]&&a.push(n[r]);t.obj[t.prop]=a}}},p=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},a=0;a<e.length;++a)"undefined"!==typeof e[a]&&(n[a]=e[a]);return n},m=function e(t,n,a){if(!n)return t;if("object"!==typeof n&&"function"!==typeof n){if(s(t))t.push(n);else{if(!t||"object"!==typeof t)return[t,n];if(c(t)){var r=u(t)+1;t[r]=n,d(t,r)}else(a&&(a.plainObjects||a.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!==typeof t){if(c(n)){for(var o=Object.keys(n),f=a&&a.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<o.length;h++){var m=parseInt(o[h],10);f[m+1]=n[o[h]]}return l(f,u(n)+1)}return[t].concat(n)}var g=t;return s(t)&&!s(n)&&(g=p(t,a)),s(t)&&s(n)?(n.forEach((function(n,r){if(i.call(t,r)){var s=t[r];s&&"object"===typeof s&&n&&"object"===typeof n?t[r]=e(s,n,a):t.push(n)}else t[r]=n})),t):Object.keys(n).reduce((function(t,r){var s=n[r];return i.call(t,r)?t[r]=e(t[r],s,a):t[r]=s,t}),g)},g=function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},_=function(e,t,n){var a=e.replace(/\+/g," ");if("iso-8859-1"===n)return a.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(a)}catch(r){return a}},v=1024,b=function(e,t,n,r,i){if(0===e.length)return e;var s=e;if("symbol"===typeof e?s=Symbol.prototype.toString.call(e):"string"!==typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",l=0;l<s.length;l+=v){for(var c=s.length>=v?s.slice(l,l+v):s,u=[],d=0;d<c.length;++d){var h=c.charCodeAt(d);45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||i===a.RFC1738&&(40===h||41===h)?u[u.length]=c.charAt(d):h<128?u[u.length]=f[h]:h<2048?u[u.length]=f[192|h>>6]+f[128|63&h]:h<55296||h>=57344?u[u.length]=f[224|h>>12]+f[128|h>>6&63]+f[128|63&h]:(d+=1,h=65536+((1023&h)<<10|1023&c.charCodeAt(d)),u[u.length]=f[240|h>>18]+f[128|h>>12&63]+f[128|h>>6&63]+f[128|63&h])}o+=u.join("")}return o},y=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var r=t[a],i=r.obj[r.prop],s=Object.keys(i),o=0;o<s.length;++o){var l=s[o],c=i[l];"object"===typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:i,prop:l}),n.push(c))}return h(t),e},w=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},k=function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},T=function(e,t,n,a){if(c(e)){var r=u(e)+1;return e[r]=t,d(e,r),e}var i=[].concat(e,t);return i.length>n?l(p(i,{plainObjects:a}),i.length-1):i},M=function(e,t){if(s(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)};e.exports={arrayToObject:p,assign:g,combine:T,compact:y,decode:_,encode:b,isBuffer:k,isOverflow:c,isRegExp:w,maybeMap:M,merge:m}},d255:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[e.readOnly?t("FillTable",{attrs:{data:e.tableData,columns:e.AllColumns,"max-height":e.tableHeight,showSetsize:!0,"cell-default":!0}}):t("el-form",{ref:"formRef",attrs:{model:e.formData}},[t("el-table",{ref:"t-box",staticClass:"t-box",attrs:{data:e.formData.tableData,"max-height":e.tableHeight,size:e.size,border:"","header-align":"center"},on:{"selection-change":e.handleSelectionChange}},[e.selection?t("el-table-column",{attrs:{type:"selection",width:"62",fixed:"left",align:"center"}}):e._e(),t("el-table-column",{attrs:{type:"index",width:"56",fixed:"left",label:e.$l("序号"),align:"center"}}),e._l(e.displayColumns,(function(n,a){return t("el-table-column",e._b({key:`${n.prop}-${a}`,attrs:{"header-align":"center","min-width":"250","show-overflow-tooltip":!1},scopedSlots:e._u([{key:"default",fn:function({$index:a,row:r,column:i}){return[t("el-form-item",{attrs:{prop:`tableData.${a}.${n.prop}`,rules:[{required:e._requireProps.includes(n.prop),trigger:["blur","change"],message:"请输入/选择"+n.label}]}},[e._isFixedColumn(n.prop)?e._t(n.slotName,null,{scope:{$index:a,row:r,column:i,item:n}}):t(n.type,{tag:"component",attrs:{disabled:e.disabled||r["disabled"],items:n},model:{value:r[n.prop],callback:function(t){e.$set(r,n.prop,t)},expression:"row[item.prop]"}})],2)]}}],null,!0)},"el-table-column",n,!1),[t("template",{slot:"header"},[e.headerProps.includes(n.prop)?t("span",{staticClass:"req-h"},[e._v("*")]):e._e(),e._v(" "+e._s(e.$l(n.label))+" "),n.fieldDescription?t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:n.fieldDescription,placement:"top-start"}},[t("i",{staticClass:"n20-icon-xinxitishi"})]):e._e()],1)],2)})),t("TableSetSize",{attrs:{size:e.size},on:{"update:size":function(t){e.size=t},resize:t=>e.sizeBind=t}})],2)],1)],1)},t.staticRenderFns=[]},d263:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("2d0e");t.default={name:"Detail",components:{ClDescriptions:a.Descriptions},props:{formData:{type:Object,default:()=>({})},extendFields:{type:Array,default:()=>[]},labelStyle:{type:String,default:""},fieldDifferences:{type:Object,default:()=>({})}},computed:{extendAbled(){return this.extendFields.filter(e=>1===e.isEnabled)}},methods:{formatFieldValue(e,t){var n;if(!e&&0!==e)return"";const a=null===(n=t.fieldProperty)||void 0===n?void 0:n.toLowerCase();switch(a){case"date":return this.formatDate(e);case"bigdecimal":return this.formatNumber(e);case"select":case"multiselect":return e;default:return e}},getFieldDisplayValue(e){const t=this.formData[e.fieldNo];return this.formatFieldValue(t,e)},getFieldOldValue(e){var t,n;const a=null===(t=this.fieldDifferences)||void 0===t||null===(n=t.oldValue)||void 0===n?void 0:n[e.fieldNo];return this.formatFieldValue(a,e)},formatDate(e){if(!e)return"";if("string"===typeof e&&e.includes("-"))return e;try{const t=new Date(e);return t.toISOString().split("T")[0]}catch(t){return e}},formatNumber(e){if(!e&&0!==e)return"";const t=parseFloat(e);if(isNaN(t))return e;const n=t.toFixed(2),[a,r]=n.split("."),i=a.replace(/\B(?=(\d{3})+(?!\d))/g,",");return`${i}.${r}`}}}},d26a:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
296
296
|
//! moment.js locale configuration
|
|
297
297
|
var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},n={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"},a=e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return n[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,n){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}});return a}))},d295:function(e,t,n){"use strict";var a=n("3878");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d2bb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"DialogO",props:{title:{type:String,default:""},width:{type:String,default:"30%"},top:{type:String,default:"15vh"},fullscreen:{type:Boolean,default:!1},dialogVisible:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!1},beforeClose:{type:Function,default:()=>{}},customClass:{type:String,default:""},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},center:{type:Boolean,default:!1},destroyOnClose:{type:Boolean,default:!1}},methods:{open(){this.$emit("open")},opened(){this.$emit("opened")},close(){this.$emit("close")},closed(){this.$emit("closed")}}}},d2c6:function(e,t,n){"use strict";n.r(t);var a=n("32db"),r=n("dde1");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},d2d4:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
298
298
|
//! moment.js locale configuration
|
|
@@ -302,9 +302,9 @@ var t=e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_A
|
|
|
302
302
|
//! moment.js locale configuration
|
|
303
303
|
var t=e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}});return t}))},d707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("90e7"),r=n("27f0"),i=n("2d0e"),s=n("ed08"),o=n("6261");function l(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(l=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}const c={logicalOperation:"AND",root:!0,matchingRules:[{...r.NODE_GROUP,key:(0,s.uuid)()}],children:[{logicalOperation:"AND",matchingRules:[{...r.NODE_GROUP,key:(0,s.uuid)()},{...r.NODE_GROUP,key:(0,s.uuid)()}]}]};function u(e,t){var n,a;if(null===e||void 0===e||null===(n=e.matchingRules)||void 0===n||n.forEach(e=>{var n;(e.matchingValueType||(e.matchingValueType="FIXED"),"DYNAMIC"===e.matchingValueType)&&t.$set(e,"TmValues",null===(n=e.matchingValues[0])||void 0===n?void 0:n.split("."));t.$set(e,"mValues",e.matchingValues),t.$set(e,"key",(0,s.uuid)())}),null!==e&&void 0!==e&&null!==(a=e.children)&&void 0!==a&&a.length)for(let r of null===e||void 0===e?void 0:e.children)u(r,t)}t.default={name:"NstcAutoFillService",components:{CLPageHeader:i.PageHeader,CLSecondaryTab:i.SecondaryTab,CLPage:i.Page,addTemplate:()=>Promise.resolve().then(()=>l(n("5b77"))),ConditionGroup:()=>Promise.resolve().then(()=>l(n("3235"))),addFill:()=>Promise.resolve().then(()=>l(n("a437")))},props:{fillType:{type:String,default:"BANK_ACCOUNT"},settingSource:{type:[String,Number],default:"2"},pageRelaNo:{type:Object,default:()=>({submmit:null})},disableFillBuss:{type:Boolean,default:!1},defaultFillBuss:{type:String,default:"COMMON"},slotList:{type:Array,default:()=>[]},matchingId:{type:String,default:""}},data(e){return{slotName:"aaa",form:{refillBasis:1,matchingRuleType:"",usedAccountType:"BANK_ACCOUNT",isSetOnUnit:0,usedScope:"all",isAutoConfirm:1,matchingRuleName:"",usedBusiness:"",matchingPriority:1,matchingFillCommons:[],matchingFillDimensions:[]},activeName:e.$l("匹配规则"),activeValue:"ConditionGroup",list:[{name:e.$l("匹配规则"),value:"ConditionGroup"},{name:e.$l("补填信息"),value:"addFill"}],emptyList:["IS_NOT_EMPTY","IS_EMPTY"],tree:JSON.parse(JSON.stringify(c)),cltNos:[],options:[],ruleData:{},fillData:{},filedList:[]}},computed:{mcId(){return this.matchingId?this.matchingId:this.$route.query.matchingId},headerTitle(){return this.$route.query.title?this.$route.query.title:this.$route.path.includes("edit")?this.$l("修改补填规则"):this.$l("新增补填规则")}},async created(){this.matchingSetting()},async mounted(){this.disableFillBuss&&(this.form.usedBusiness=this.defaultFillBuss),this.queryDatasetList(),this.init()},methods:{async handleAccountChange(e){this.tree=JSON.parse(JSON.stringify(c)),this.form.matchingFillCommons=[],this.form.matchingFillDimensions=[],this.filedList=await(0,a.matchingSetting)(1,this.settingSource,e)},async queryDatasetList(){let e=await(0,o.queryDatasetList)({datasetNos:["VW_DATASET_RECORD_ACCOUNT","VW_DATASET_RECORD_UNIT","VW_DATASET_RECORD_CUSTOMER_SUPPLIER"],page:{size:-1}});this.options=(e||[]).map(e=>({label:e.datasetName,value:e.datasetNo,children:e.datasetFieldSettings.map(e=>({label:e.fieldName,value:e.fieldCode}))}))},goBackCommon(){(0,s.goBackCommon)()},async matchingSetting(){this.filedList=await(0,a.matchingSetting)(1,this.settingSource,this.fillType)},async init(){var e;if(!this.mcId)return;let t=await(0,a.matchingInfo)(this.mcId);this.form=t,null!==(e=t.matchingFillCommons)&&void 0!==e&&e.length?this.form.matchingFillCommons=t.matchingFillCommons.map(e=>this.list2obj(e)):this.form.matchingFillCommons=[],this.form.matchingFillDimensions=t.matchingFillDimensions.map(e=>this.list2obj(e));let n={...t.matchingHierarchy,root:!0};u(n,this),this.tree=n},list2obj(e){var t;let n={budgetAccountCode:"budgetAccountName"},a=void 0;try{a=JSON.parse(e.fillValue)}catch{a={}}let r=null!==(t=a[n[e.fillFieldCode]])&&void 0!==t?t:a.value;return"customName"==e.fillFieldCode&&"DYNAMIC"==e.matchingValueType&&(r=r.split(".")),"multiSelect"==a.fieldProperty&&(Array.isArray(r)||(r=r.split(","))),{...e,...a,fValues:r}},unitOptions(e){this.cltNos=[...e]},clickTab(e){this.activeName=e.name,this.activeValue=e.value},async vaiildGroup(){var e,t;null===(e=this.$refs.ConditionGroup)||void 0===e||e.validFn();for(let a of(null===(n=this.form)||void 0===n?void 0:n.matchingFillCommons)||[]){var n;if(!a.fillFieldCode||!a.fValues)return this.clickTab({name:this.$l("补填信息"),value:"addFill"}),void this.$nextTick(()=>{var e;null===(e=this.$refs.addFill)||void 0===e||e.validate()})}if("unit"!=this.form.usedScope&&this.form.isSetOnUnit&&(null===(t=this.form.matchingFillDimensions)||void 0===t||!t.length))return this.$message.warning(this.$l("请设置按‘单位’分别设置预算科目")),void this.clickTab({name:this.$l("补填信息"),value:"addFill"});for(let a of this.form.matchingFillDimensions)if(!a.dimensionCode||!a.fValues)return this.clickTab({name:this.$l("补填信息"),value:"addFill"}),void this.$nextTick(()=>{var e;null===(e=this.$refs.addFill)||void 0===e||e.validate()});return!0},checkGroup(){let e=this;function t(n){var a,r;if(null===n||void 0===n||null===(a=n.matchingRules)||void 0===a||a.forEach(t=>{var n,a;if(!t.matchingOperation)throw e.clickTab({name:e.$l("匹配规则"),value:"ConditionGroup"}),e.$nextTick(()=>{var t;null===(t=e.$refs.ConditionGroup)||void 0===t||t.validFn()}),new Error("");let r=!(null!==(n=t.mValues)&&void 0!==n&&n.length)&&!(null!==(a=t.TmValues)&&void 0!==a&&a.length);if(!e.emptyList.includes(t.matchingOperation)&&r)throw e.clickTab({name:e.$l("匹配规则"),value:"ConditionGroup"}),e.$nextTick(()=>{var t;null===(t=e.$refs.ConditionGroup)||void 0===t||t.validFn()}),new Error("")}),null!==n&&void 0!==n&&null!==(r=n.children)&&void 0!==r&&r.length)for(let e of null===n||void 0===n?void 0:n.children)t(e)}t(this.tree)},async vaildFill(){var e;await(null===(e=this.$refs.addFill)||void 0===e?void 0:e.validate()),this.checkGroup()},delData(){let e=this;function t(n){var a,r;if(null===n||void 0===n||null===(a=n.matchingRules)||void 0===a||!a.length)throw e.$message.warning(e.$l("条件分组内的条件不能为空,请添加条件")),new Error("");for(let e of(null===n||void 0===n?void 0:n.matchingRules)||[]){var i,s,o;if("FIXED"==e.matchingValueType)null!==(i=e.mValues)&&void 0!==i&&i.length?e.matchingValues=e.mValues||[]:e.matchingValues=[];else if(null!==(s=e.TmValues)&&void 0!==s&&s.length)e.matchingValues=[null===(o=e.TmValues)||void 0===o?void 0:o.join(".")];else e.matchingValues=[]}if(null!==n&&void 0!==n&&null!==(r=n.children)&&void 0!==r&&r.length)for(let e of null===n||void 0===n?void 0:n.children)t(e)}return t(this.tree),this.tree},dealMC(){var e,t;return null!==(e=this.form)&&void 0!==e&&null!==(t=e.matchingFillCommons)&&void 0!==t&&t.length?this.form.matchingFillCommons.map(e=>{let t=void 0;try{t=JSON.parse(e.fillValue)}catch{t={}}return"multiSelect"==t.fieldProperty&&Array.isArray(t.value)&&(t.name=t.name.join(","),t.value=t.value.join(",")),e.fillValue=JSON.stringify(t),e}):[]},async submit(){if(await this.$refs.basicRef.submit(),"ConditionGroup"==this.activeValue){let e=await this.vaiildGroup();if(!e)return}else await this.vaildFill();let e=this.dealMC(),t={...this.form,matchingFillCommons:e,matchingHierarchy:this.delData(this.tree),settingSource:this.settingSource};"copy"==this.$route.query.type&&delete t.matchingId,await(0,a.matchingSave)(t),this.$message.success(this.$l("保存成功")),(0,s.goBackCommon)()}}}},d716:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
304
304
|
//! moment.js locale configuration
|
|
305
|
-
var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},d729:function(e,t,n){"use strict";var a=n("c2ce");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d77c:function(e,t,n){"use strict";var a=n("c85e");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d7f3:function(e,t,n){},d803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appUrl=void 0;t.appUrl={sdm:"/sdm-print",SDM:"/lcms",RMP:"/rmp",FCM:"/sas",FTS:"/cms",PAMENT:"/ibs-pay",GDPS:"/gdps",EDL:"/edl",OCS:"/ocs",DEPOSIT:"/ibs-deposit",GDT:"/gdebit",GDTPLAN:"/gdebit-plan",CLMS:"/credit",GWMS:"/guarantee",USER:"/user-web",LCMS:"/lcms",FER:"/cgs",STS:"/sts",AIMS:"/aims","IBBS-IDS":"/ibbs","IBBS-FTL":"/ibbs",FBCM:"/nfbcm/opinionIndex",PRMS:"/prms",PTMS:"/payment",RPLS:"/plan",CTMS:"/payee",CFB:"/cfb/approve",LMS:"/lms",LGM:"/lgm",INVEST:"/invest-web",TSS:"/innerbank/settlement",DMS:"/dms-deposit",GTSB:"/fcm",ICS:"/nics/view/bizFlow",IMES:"/imes/model/modelView",BILL_BUSINESS:"/dft-bill-business",BILL_EBANK:"/dft-bill-ebank",BILL_INTERBANK:"/dft-bill-interbank","bill-group":"/gts-bill",BILL_MANAGER:"/dft-bill-manager",BBMS:"/ticket-web",ACCOUNT:"/stm-settlement",ORDER:"/stm-settlement",POSITION:"/stm-settlement",VOUCHER:"/stm-settlement","custman-core":"/cst-custman",DPS:"/dps/bizflow",TRANSACTION:"/stm-settlement/transaction",INTEREST:"/stm-settlement",FEMS:"/forex-web",FLOW_UP:"/gbz-grpbiz",FLOW_DOWN:"/gbz-grpbiz",FLOW_BALANCE_CLEAN:"/gbz-grpbiz",FLOW_GROUP:"/gbz-grpbiz",SIS_MANAGER:"/sis-sisman","gbz-grpbiz":"/gbz-grpbiz",ARMS:"/acntrec_web",PRCMAN:"/prc-prcman"}},d81d:function(e,t,n){},d833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("fa7d"),r=n("2934"),i=n("2f62"),s=n("27f0"),o=n("e890");function l(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(l=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}const c=n("a00f"),u={};c.keys().forEach(e=>{const t=c(e).default;u[t.name]=t});const d={text:"FillInput",date:"FillDate",bigDecimal:"FillBigDecimal",select:"FillSelect",multiSelect:"FillMultiSelect"};t.default={name:"FillComponent",props:{options:{type:Array,default:()=>[]},value:{type:[String,Array],default:""},row:{type:Object},settingSource:{type:[String,Number],default:"1"},isSameUnit:{type:Boolean},isNeedQueryPlan:{type:Boolean,default:!0},basicForm:{type:Object,default:()=>{}},idx:{type:Number},TmValues:{type:Array,default:()=>[]}},components:{PaymentCategory:()=>Promise.resolve().then(()=>l(n("8134"))),PaymentCategoryT:()=>Promise.resolve().then(()=>l(n("774b"))),SelectBudgetAccountSettingDialog:()=>Promise.resolve().then(()=>l(n("0ff5"))),...u},data(e){return this.associatedBusinessOptions=s.ASSOCIATED_BUSINESS_OPTIONS,{typeMap:d,businessTypeOptions:[],manageUnits:[],currentData:[{recDate:(0,a.parseTime)(Date.now(),"{y}-{m}-{d}"),curCode:"CNY"}],paymentTypeList:[]}},computed:{isCustomType(){return!!this.typeMap[this.row.fieldProperty]||!1},isCustomName(){return"customName"===this.row.fillFieldCode&&"DYNAMIC"==this.row.matchingValueType},_cltNo(){var e;return(null===(e=this.basicForm.cltNo)||void 0===e?void 0:e[0])||""},bussList(){if("INTERNAL_BORROWING"==this.basicForm.usedBusiness)return this.businessTypeOptions;if("FTS"==this.basicForm.usedBusiness){const e=s.ASSOCIATED_BUSINESS_OPTIONS.filter(e=>!["FTS_005","FTS_006"].includes(e.code));return e.splice(4,0,{label:(0,o.$l)("资金调拨"),name:(0,o.$l)("资金调拨"),code:"FTS_013",type:"up",isCross:!1}),e}return this.associatedBusinessOptions},budgetInfo(){try{return JSON.parse(this.row.fillValue)}catch{return{}}},...(0,i.mapState)("common",["useFundsData","ftsBusinessType"]),val:{get(){return this.value},set(e){this.$emit("input",e)}},optionsT(){const e=["UNIT_NAME","REL_CORP_NAME"];return this.options.filter(e=>this.TmValues.includes(e.value)).map(t=>({...t,children:t.children.filter(t=>e.includes(t.value))}))}},mounted(){this.getPaymentTypeList(),this.init()},methods:{async init(){let e=await(0,r.getMamDataDocListApi)({typeCodeList:["ManageUnit","lms.ledgerType"],isEnabled:1}),t=(e.list||[]).map(e=>({...e,label:e.name,value:e.code}));this.manageUnits=t.filter(e=>"ManageUnit"==e.typeCode),this.businessTypeOptions=t.filter(e=>"lms.ledgerType"==e.typeCode)},async getPaymentTypeList(){let e=await(0,r.getDataDoc)({typeCode:"ptms.payType"});this.paymentTypeList=e||[]},changeVal(e){this.$emit("getCode",{name:e.flowName||e.conPropName,value:e.conProp||e.flowNo},this.idx)},changeCustom(){var e,t,n;let a=null===(e=this.$refs.cascader)||void 0===e?void 0:e.getCheckedNodes(),r=a[0];this.$emit("getCustom",{name:null===r||void 0===r||null===(t=r.pathLabels)||void 0===t?void 0:t.join("-"),value:null===(n=r.path)||void 0===n?void 0:n.join(".")},this.idx)},changeT(e,t,n){this.$emit("getCode",{name:this[n].filter(t=>t.code==e)[0].name,value:e},this.idx)},handChange(e){let t={name:e,value:e,fieldProperty:this.row.fieldProperty||"text",fieldDocKey:this.row.fieldDocKey};this.$emit("getCode",t,this.idx)},budgetChange(e,t){this.$emit("change",e,this.idx),this.$emit("input",e.budgetAccountName)}}}},d86d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu.apply(null,arguments)}}},[e.multiple?t("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?t("span",[t("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){return e.deleteTag(t,e.selected[0])}}},[t("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?t("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[t("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():t("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(n){return t("el-tag",{key:e.getValueKey(n),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:n.hitState,type:"info","disable-transitions":""},on:{close:function(t){return e.deleteTag(t,n)}}},[t("span",{staticClass:"el-select__tags-text"},[e._v(e._s(n.currentLabel))])])})),1),e.filterable?t("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.handleNavigate("next"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.handleNavigate("prev"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption.apply(null,arguments))},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag.apply(null,arguments)},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),t("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.stopPropagation(),t.preventDefault(),e.handleNavigate("next"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption.apply(null,arguments))},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?t("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),t("template",{slot:"suffix"},[t("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?t("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),t("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[t("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[t("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?t("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):t("p",{staticClass:"el-select-dropdown__empty"},[e._v(" "+e._s(e.emptyText)+" ")])]:e._e()],2)],1)],1)},t.staticRenderFns=[]},d8bb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("aaf1")),r=l(n("6311")),i=l(n("6f70")),s=l(n("675a")),o=n("ed08");function l(e){return e&&e.__esModule?e:{default:e}}t.default={name:"reverse",mixins:[a.default],data(){return{infoPrint:[],bg_1:r.default,bg_2:i.default,icon:s.default,time:(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),billDetailForm:{}}},mounted(){this.setData()},methods:{setData(){var e,t,n,a,r;this.billDetailForm=(null===(e=this.formData)||void 0===e?void 0:e.billBackInfo)||{},this.billDetailForm.draftType=(null===(t=this.formData)||void 0===t||null===(n=t.billPositiveInfo)||void 0===n?void 0:n.draftType)||"AC01",this.stockVo=(null===(a=this.formData)||void 0===a?void 0:a.stockVo)||{},this.billActorVos=(null===(r=this.formData)||void 0===r?void 0:r.billActorVos)||[]},setView(e){this.time=(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),this.billDetailForm=e,this.formatData()},formatData(){this.billDetailForm.history&&0===this.billDetailForm.historys.length&&this.billDetailForm.historys.forEach(e=>{e.rows=[],Object.keys(e).forEach(t=>{if(t.includes("column")&&t.includes("Title")&&e[t]){const n=t.replace(/[^\d]/gi,""),a={name:e[t],value:e[`column${n}Value`]};a.value=a.value&&"-"!==a.value?a.value:"--",e.rows.push(a)}})})}}}},d8f7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("8bbf")),r=n("526f");function i(e){return e&&e.__esModule?e:{default:e}}let s,o=!1,l=!1;const c=function(){if(a.default.prototype.$isServer)return;let e=d.modalDom;return e?o=!0:(o=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){d.doOnModalClick&&d.doOnModalClick()}))),e},u={},d={modalFade:!0,getInstance:function(e){return u[e]},register:function(e,t){e&&t&&(u[e]=t)},deregister:function(e){e&&(u[e]=null,delete u[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){const e=d.modalStack[d.modalStack.length-1];if(!e)return;const t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()},openModal:function(e,t,n,i,s){if(a.default.prototype.$isServer)return;if(!e||void 0===t)return;this.modalFade=s;const l=this.modalStack;for(let a=0,r=l.length;a<r;a++){const t=l[a];if(t.id===e)return}const u=c();if((0,r.addClass)(u,"v-modal"),this.modalFade&&!o&&(0,r.addClass)(u,"v-modal-enter"),i){let e=i.trim().split(/\s+/);e.forEach(e=>(0,r.addClass)(u,e))}setTimeout(()=>{(0,r.removeClass)(u,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(u):document.body.appendChild(u),t&&(u.style.zIndex=t),u.tabIndex=0,u.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:i})},closeModal:function(e){const t=this.modalStack,n=c();if(t.length>0){const a=t[t.length-1];if(a.id===e){if(a.modalClass){let e=a.modalClass.trim().split(/\s+/);e.forEach(e=>(0,r.removeClass)(n,e))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}}0===t.length&&(this.modalFade&&(0,r.addClass)(n,"v-modal-leave"),setTimeout(()=>{0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,r.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get(){return l||(s=s||(a.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),s},set(e){s=e}});const f=function(){if(!a.default.prototype.$isServer&&d.modalStack.length>0){const e=d.modalStack[d.modalStack.length-1];if(!e)return;const t=d.getInstance(e.id);return t}};a.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){const e=f();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}}));t.default=d},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
305
|
+
var t=e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}});return t}))},d729:function(e,t,n){"use strict";var a=n("c2ce");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d753:function(e,t,n){"use strict";var a=n("d255");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d77c:function(e,t,n){"use strict";var a=n("c85e");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},d7f3:function(e,t,n){},d803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appUrl=void 0;t.appUrl={sdm:"/sdm-print",SDM:"/lcms",RMP:"/rmp",FCM:"/sas",FTS:"/cms",PAMENT:"/ibs-pay",GDPS:"/gdps",EDL:"/edl",OCS:"/ocs",DEPOSIT:"/ibs-deposit",GDT:"/gdebit",GDTPLAN:"/gdebit-plan",CLMS:"/credit",GWMS:"/guarantee",USER:"/user-web",LCMS:"/lcms",FER:"/cgs",STS:"/sts",AIMS:"/aims","IBBS-IDS":"/ibbs","IBBS-FTL":"/ibbs",FBCM:"/nfbcm/opinionIndex",PRMS:"/prms",PTMS:"/payment",RPLS:"/plan",CTMS:"/payee",CFB:"/cfb/approve",LMS:"/lms",LGM:"/lgm",INVEST:"/invest-web",TSS:"/innerbank/settlement",DMS:"/dms-deposit",GTSB:"/fcm",ICS:"/nics/view/bizFlow",IMES:"/imes/model/modelView",BILL_BUSINESS:"/dft-bill-business",BILL_EBANK:"/dft-bill-ebank",BILL_INTERBANK:"/dft-bill-interbank","bill-group":"/gts-bill",BILL_MANAGER:"/dft-bill-manager",BBMS:"/ticket-web",ACCOUNT:"/stm-settlement",ORDER:"/stm-settlement",POSITION:"/stm-settlement",VOUCHER:"/stm-settlement","custman-core":"/cst-custman",DPS:"/dps/bizflow",TRANSACTION:"/stm-settlement/transaction",INTEREST:"/stm-settlement",FEMS:"/forex-web",FLOW_UP:"/gbz-grpbiz",FLOW_DOWN:"/gbz-grpbiz",FLOW_BALANCE_CLEAN:"/gbz-grpbiz",FLOW_GROUP:"/gbz-grpbiz",SIS_MANAGER:"/sis-sisman","gbz-grpbiz":"/gbz-grpbiz",ARMS:"/acntrec_web",PRCMAN:"/prc-prcman"}},d81d:function(e,t,n){},d833:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("fa7d"),r=n("2934"),i=n("2f62"),s=n("27f0"),o=n("e890");function l(e,t){if("function"==typeof WeakMap)var n=new WeakMap,a=new WeakMap;return(l=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?a:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const n in e)"default"!==n&&{}.hasOwnProperty.call(e,n)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,n))&&(i.get||i.set)?r(s,n,i):s[n]=e[n]);return s})(e,t)}const c=n("a00f"),u={};c.keys().forEach(e=>{const t=c(e).default;u[t.name]=t});const d={text:"FillInput",date:"FillDate",bigDecimal:"FillBigDecimal",select:"FillSelect",multiSelect:"FillMultiSelect"};t.default={name:"FillComponent",props:{options:{type:Array,default:()=>[]},value:{type:[String,Array],default:""},row:{type:Object},settingSource:{type:[String,Number],default:"1"},isSameUnit:{type:Boolean},isNeedQueryPlan:{type:Boolean,default:!0},basicForm:{type:Object,default:()=>{}},idx:{type:Number},TmValues:{type:Array,default:()=>[]}},components:{PaymentCategory:()=>Promise.resolve().then(()=>l(n("8134"))),PaymentCategoryT:()=>Promise.resolve().then(()=>l(n("774b"))),SelectBudgetAccountSettingDialog:()=>Promise.resolve().then(()=>l(n("0ff5"))),...u},data(e){return this.associatedBusinessOptions=s.ASSOCIATED_BUSINESS_OPTIONS,{typeMap:d,businessTypeOptions:[],manageUnits:[],currentData:[{recDate:(0,a.parseTime)(Date.now(),"{y}-{m}-{d}"),curCode:"CNY"}],paymentTypeList:[]}},computed:{isCustomType(){return!!this.typeMap[this.row.fieldProperty]||!1},isCustomName(){return"customName"===this.row.fillFieldCode&&"DYNAMIC"==this.row.matchingValueType},_cltNo(){var e;return(null===(e=this.basicForm.cltNo)||void 0===e?void 0:e[0])||""},bussList(){if("INTERNAL_BORROWING"==this.basicForm.usedBusiness)return this.businessTypeOptions;if("FTS"==this.basicForm.usedBusiness){const e=s.ASSOCIATED_BUSINESS_OPTIONS.filter(e=>!["FTS_005","FTS_006"].includes(e.code));return e.splice(4,0,{label:(0,o.$l)("资金调拨"),name:(0,o.$l)("资金调拨"),code:"FTS_013",type:"up",isCross:!1}),e}return this.associatedBusinessOptions},budgetInfo(){try{return JSON.parse(this.row.fillValue)}catch{return{}}},...(0,i.mapState)("common",["useFundsData","ftsBusinessType"]),val:{get(){return this.value},set(e){this.$emit("input",e)}},optionsT(){const e=["UNIT_NAME","REL_CORP_NAME"];return this.options.filter(e=>this.TmValues.includes(e.value)).map(t=>({...t,children:t.children.filter(t=>e.includes(t.value))}))}},mounted(){this.getPaymentTypeList(),this.init()},methods:{async init(){let e=await(0,r.getMamDataDocListApi)({typeCodeList:["ManageUnit","lms.ledgerType"],isEnabled:1}),t=(e.list||[]).map(e=>({...e,label:e.name,value:e.code}));this.manageUnits=t.filter(e=>"ManageUnit"==e.typeCode),this.businessTypeOptions=t.filter(e=>"lms.ledgerType"==e.typeCode)},async getPaymentTypeList(){let e=await(0,r.getDataDoc)({typeCode:"ptms.payType"});this.paymentTypeList=e||[]},changeVal(e){this.$emit("getCode",{name:e.flowName||e.conPropName,value:e.conProp||e.flowNo},this.idx)},changeCustom(){var e,t,n;let a=null===(e=this.$refs.cascader)||void 0===e?void 0:e.getCheckedNodes(),r=a[0];this.$emit("getCustom",{name:null===r||void 0===r||null===(t=r.pathLabels)||void 0===t?void 0:t.join("-"),value:null===(n=r.path)||void 0===n?void 0:n.join(".")},this.idx)},changeT(e,t,n){this.$emit("getCode",{name:this[n].filter(t=>t.code==e)[0].name,value:e},this.idx)},handChange(e){let t={name:e,value:e,fieldProperty:this.row.fieldProperty||"text",fieldDocKey:this.row.fieldDocKey};this.$emit("getCode",t,this.idx)},budgetChange(e,t){this.$emit("change",e,this.idx),this.$emit("input",e.budgetAccountName)}}}},d86d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu.apply(null,arguments)}}},[e.multiple?t("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?t("span",[t("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){return e.deleteTag(t,e.selected[0])}}},[t("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?t("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[t("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():t("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(n){return t("el-tag",{key:e.getValueKey(n),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:n.hitState,type:"info","disable-transitions":""},on:{close:function(t){return e.deleteTag(t,n)}}},[t("span",{staticClass:"el-select__tags-text"},[e._v(e._s(n.currentLabel))])])})),1),e.filterable?t("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.handleNavigate("next"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.handleNavigate("prev"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption.apply(null,arguments))},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag.apply(null,arguments)},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),t("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.stopPropagation(),t.preventDefault(),e.handleNavigate("next"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev"))},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption.apply(null,arguments))},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?t("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),t("template",{slot:"suffix"},[t("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?t("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),t("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[t("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[t("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?t("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):t("p",{staticClass:"el-select-dropdown__empty"},[e._v(" "+e._s(e.emptyText)+" ")])]:e._e()],2)],1)],1)},t.staticRenderFns=[]},d8bb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=l(n("aaf1")),r=l(n("6311")),i=l(n("6f70")),s=l(n("675a")),o=n("ed08");function l(e){return e&&e.__esModule?e:{default:e}}t.default={name:"reverse",mixins:[a.default],data(){return{infoPrint:[],bg_1:r.default,bg_2:i.default,icon:s.default,time:(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),billDetailForm:{}}},mounted(){this.setData()},methods:{setData(){var e,t,n,a,r;this.billDetailForm=(null===(e=this.formData)||void 0===e?void 0:e.billBackInfo)||{},this.billDetailForm.draftType=(null===(t=this.formData)||void 0===t||null===(n=t.billPositiveInfo)||void 0===n?void 0:n.draftType)||"AC01",this.stockVo=(null===(a=this.formData)||void 0===a?void 0:a.stockVo)||{},this.billActorVos=(null===(r=this.formData)||void 0===r?void 0:r.billActorVos)||[]},setView(e){this.time=(0,o.parseTime)(new Date,"{y}-{m}-{d} {h}:{i}"),this.billDetailForm=e,this.formatData()},formatData(){this.billDetailForm.history&&0===this.billDetailForm.historys.length&&this.billDetailForm.historys.forEach(e=>{e.rows=[],Object.keys(e).forEach(t=>{if(t.includes("column")&&t.includes("Title")&&e[t]){const n=t.replace(/[^\d]/gi,""),a={name:e[t],value:e[`column${n}Value`]};a.value=a.value&&"-"!==a.value?a.value:"--",e.rows.push(a)}})})}}}},d8f7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n("8bbf")),r=n("526f");function i(e){return e&&e.__esModule?e:{default:e}}let s,o=!1,l=!1;const c=function(){if(a.default.prototype.$isServer)return;let e=d.modalDom;return e?o=!0:(o=!1,e=document.createElement("div"),d.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){d.doOnModalClick&&d.doOnModalClick()}))),e},u={},d={modalFade:!0,getInstance:function(e){return u[e]},register:function(e,t){e&&t&&(u[e]=t)},deregister:function(e){e&&(u[e]=null,delete u[e])},nextZIndex:function(){return d.zIndex++},modalStack:[],doOnModalClick:function(){const e=d.modalStack[d.modalStack.length-1];if(!e)return;const t=d.getInstance(e.id);t&&t.closeOnClickModal&&t.close()},openModal:function(e,t,n,i,s){if(a.default.prototype.$isServer)return;if(!e||void 0===t)return;this.modalFade=s;const l=this.modalStack;for(let a=0,r=l.length;a<r;a++){const t=l[a];if(t.id===e)return}const u=c();if((0,r.addClass)(u,"v-modal"),this.modalFade&&!o&&(0,r.addClass)(u,"v-modal-enter"),i){let e=i.trim().split(/\s+/);e.forEach(e=>(0,r.addClass)(u,e))}setTimeout(()=>{(0,r.removeClass)(u,"v-modal-enter")},200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(u):document.body.appendChild(u),t&&(u.style.zIndex=t),u.tabIndex=0,u.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:i})},closeModal:function(e){const t=this.modalStack,n=c();if(t.length>0){const a=t[t.length-1];if(a.id===e){if(a.modalClass){let e=a.modalClass.trim().split(/\s+/);e.forEach(e=>(0,r.removeClass)(n,e))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}}0===t.length&&(this.modalFade&&(0,r.addClass)(n,"v-modal-leave"),setTimeout(()=>{0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",d.modalDom=void 0),(0,r.removeClass)(n,"v-modal-leave")},200))}};Object.defineProperty(d,"zIndex",{configurable:!0,get(){return l||(s=s||(a.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),s},set(e){s=e}});const f=function(){if(!a.default.prototype.$isServer&&d.modalStack.length>0){const e=d.modalStack[d.modalStack.length-1];if(!e)return;const t=d.getInstance(e.id);return t}};a.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){const e=f();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}}));t.default=d},d925:function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},d9f8:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
306
306
|
//! moment.js locale configuration
|
|
307
|
-
var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},da2a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{ref:"formRef",staticClass:"label-width-12em",attrs:{"label-width":"12em",model:e.form,rules:e.rules}},[t("CLExpandablePane",{attrs:{title:e.$l("匹配基本规则")}},[t("el-form-item",{staticClass:"m-b-m m-t-s auto-form-item",attrs:{label:e.$l("适用范围"),prop:"usedScope"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",filterable:"",placeholder:e.$l("请选择")},on:{change:e.applyRangeChange},model:{value:e.form.usedScope,callback:function(t){e.$set(e.form,"usedScope",t)},expression:"form.usedScope"}},e._l(e.scopeOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-tooltip",{staticClass:"m-l-ss",attrs:{effect:"dark",content:e.$l("适用范围+适用单位确定该条规则适用的单位范围"),placement:"top"}},[t("i",{staticClass:"n20-icon-xinxitishi",staticStyle:{color:"var(--color-text-secondary)"}})])],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("适用单位"),prop:"cltNo",rules:[{required:"all"!==e.form.usedScope,message:e.$l("至少选择一个单位"),trigger:["blur"]}]}},[t("SelectTreeUnitForm",{ref:"selectTreeUnitForm",attrs:{searchUnitNo:e.userUnitNo,showAllCheck:"",multiple:!0,placeholder:e.$l("请选择"),url:"/api/nstc-gtcp/1.0/fundTree",moduleNo:1==e.settingSource?"CTMS":"PTMS","node-key":"id",relaNo:"payment001",upDateValue:e.defaultSelect,disabled:"all"==e.form.usedScope},on:{dataChange:e.dataChange},model:{value:e.form.cltNo,callback:function(t){e.$set(e.form,"cltNo",t)},expression:"form.cltNo"}})],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("规则名称"),prop:"matchingRuleName"}},[t("el-input",{directives:[{name:"title",rawName:"v-title"}],staticClass:"input-w",attrs:{clearable:"","show-overflow-tooltip":!0,maxlength:64,placeholder:e.$l("请输入")},model:{value:e.form.matchingRuleName,callback:function(t){e.$set(e.form,"matchingRuleName",t)},expression:"form.matchingRuleName"}})],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("规则类型"),prop:"matchingRuleType"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",filterable:"",placeholder:e.$l("请选择")},model:{value:e.form.matchingRuleType,callback:function(t){e.$set(e.form,"matchingRuleType",t)},expression:"form.matchingRuleType"}},e._l(e.methodOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("匹配优先级"),prop:"matchingPriority"}},[t("NstcIntegerInput",{staticClass:"input-w",attrs:{clearable:"",min:1,placeholder:e.$l("请输入"),max:9999},model:{value:e.form.matchingPriority,callback:function(t){e.$set(e.form,"matchingPriority",t)},expression:"form.matchingPriority"}}),t("el-tooltip",{staticClass:"m-l-ss",attrs:{effect:"dark",content:e.$l("输入正整数,数字越大,匹配优先级越高"),placement:"top"}},[t("i",{staticClass:"n20-icon-xinxitishi",staticStyle:{color:"var(--color-text-secondary)"}})])],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("适用业务"),prop:"usedBusiness"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",filterable:"",disabled:e.disableFillBuss,placeholder:e.$l("请选择")},model:{value:e.form.usedBusiness,callback:function(t){e.$set(e.form,"usedBusiness",t)},expression:"form.usedBusiness"}},e._l(e.fillMethodOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("适用账户"),prop:"usedAccountType"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",placeholder:e.$l("请选择")},on:{change:e.applyAccountChange},model:{value:e.form.usedAccountType,callback:function(t){e.$set(e.form,"usedAccountType",t)},expression:"form.usedAccountType"}},e._l(e.accountTypeOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("是否自动确认"),prop:"isAutoConfirm"}},[t("el-radio-group",{model:{value:e.form.isAutoConfirm,callback:function(t){e.$set(e.form,"isAutoConfirm",t)},expression:"form.isAutoConfirm"}},[t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$l("是")))]),t("el-radio",{attrs:{label:0}},[e._v(e._s(e.$l("否")))])],1)],1)],1)],1)},t.staticRenderFns=[]},da62:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{staticClass:"configurable-form"},[e._t("top"),e.isDetail?t("div",[t("Detail",{attrs:{"form-data":e.formData,"extend-fields":e.extendFields,"label-style":e.labelStyle,fieldDifferences:e.fieldDifferences},scopedSlots:e._u([{key:"label",fn:function(t){return[e._t("label",null,null,t)]}},{key:"field",fn:function(t){return[e._t("field",null,null,t)]}}],null,!0)})],1):t("el-form",{ref:"dynamicForm",class:e.labelWidthClass,attrs:{model:e.formData,rules:e.formRules,"label-width":e.labelWidth,"label-position":"right"}},[e._l(e.extendFields,(function(n){return[1===n.isEnabled&&e.getFieldComponent(n)?t("el-form-item",{key:n.id,attrs:{label:n.fieldName,prop:n.fieldNo}},[t("div",{staticClass:"flex-box flex-v"},[t(e.getFieldComponent(n),e._b({key:n.fieldNo+"_"+n.fieldProperty,tag:"component",staticClass:"input-w",attrs:{value:e.getDisplayValue(n),disabled:e.readOnly},on:{input:t=>e.updateFieldValue(n.fieldNo,t),change:function(t){return e.handleFieldChange(n,t)}}},"component",e.getFieldProps(n),!1),[e.isSelectField(n)||e.isMultiSelectField(n)?e._l(e.fieldSelectOptions[n.fieldNo],(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e()],2),n.fieldDescription?t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:n.fieldDescription,placement:"top-start"}},[t("i",{staticClass:"n20-icon-xinxitishi ml-4"})]):e._e()],1)]):e._e()]}))],2),e._t("bottom")],2)},t.staticRenderFns=[]},da6a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"title",rawName:"v-title"}],class:e.readOnly&&e._value?"url-link-input-text":""},[t("el-input",{staticClass:"input-w",attrs:{placeholder:e.$l(e.readOnly?"--":"请输入"),disabled:e.readOnly},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}}),e.readOnly&&e._value?t("div",{staticClass:"url-link-input-mask",on:{click:e.openNewPage}}):e._e()],1)},t.staticRenderFns=[]},da76:function(e,t,n){"use strict";n.r(t);var a=n("
|
|
307
|
+
var t=e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}});return t}))},da2a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("el-form",{ref:"formRef",staticClass:"label-width-12em",attrs:{"label-width":"12em",model:e.form,rules:e.rules}},[t("CLExpandablePane",{attrs:{title:e.$l("匹配基本规则")}},[t("el-form-item",{staticClass:"m-b-m m-t-s auto-form-item",attrs:{label:e.$l("适用范围"),prop:"usedScope"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",filterable:"",placeholder:e.$l("请选择")},on:{change:e.applyRangeChange},model:{value:e.form.usedScope,callback:function(t){e.$set(e.form,"usedScope",t)},expression:"form.usedScope"}},e._l(e.scopeOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1),t("el-tooltip",{staticClass:"m-l-ss",attrs:{effect:"dark",content:e.$l("适用范围+适用单位确定该条规则适用的单位范围"),placement:"top"}},[t("i",{staticClass:"n20-icon-xinxitishi",staticStyle:{color:"var(--color-text-secondary)"}})])],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("适用单位"),prop:"cltNo",rules:[{required:"all"!==e.form.usedScope,message:e.$l("至少选择一个单位"),trigger:["blur"]}]}},[t("SelectTreeUnitForm",{ref:"selectTreeUnitForm",attrs:{searchUnitNo:e.userUnitNo,showAllCheck:"",multiple:!0,placeholder:e.$l("请选择"),url:"/api/nstc-gtcp/1.0/fundTree",moduleNo:1==e.settingSource?"CTMS":"PTMS","node-key":"id",relaNo:"payment001",upDateValue:e.defaultSelect,disabled:"all"==e.form.usedScope},on:{dataChange:e.dataChange},model:{value:e.form.cltNo,callback:function(t){e.$set(e.form,"cltNo",t)},expression:"form.cltNo"}})],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("规则名称"),prop:"matchingRuleName"}},[t("el-input",{directives:[{name:"title",rawName:"v-title"}],staticClass:"input-w",attrs:{clearable:"","show-overflow-tooltip":!0,maxlength:64,placeholder:e.$l("请输入")},model:{value:e.form.matchingRuleName,callback:function(t){e.$set(e.form,"matchingRuleName",t)},expression:"form.matchingRuleName"}})],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("规则类型"),prop:"matchingRuleType"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",filterable:"",placeholder:e.$l("请选择")},model:{value:e.form.matchingRuleType,callback:function(t){e.$set(e.form,"matchingRuleType",t)},expression:"form.matchingRuleType"}},e._l(e.methodOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("匹配优先级"),prop:"matchingPriority"}},[t("NstcIntegerInput",{staticClass:"input-w",attrs:{clearable:"",min:1,placeholder:e.$l("请输入"),max:9999},model:{value:e.form.matchingPriority,callback:function(t){e.$set(e.form,"matchingPriority",t)},expression:"form.matchingPriority"}}),t("el-tooltip",{staticClass:"m-l-ss",attrs:{effect:"dark",content:e.$l("输入正整数,数字越大,匹配优先级越高"),placement:"top"}},[t("i",{staticClass:"n20-icon-xinxitishi",staticStyle:{color:"var(--color-text-secondary)"}})])],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("适用业务"),prop:"usedBusiness"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",filterable:"",disabled:e.disableFillBuss,placeholder:e.$l("请选择")},model:{value:e.form.usedBusiness,callback:function(t){e.$set(e.form,"usedBusiness",t)},expression:"form.usedBusiness"}},e._l(e.fillMethodOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("适用账户"),prop:"usedAccountType"}},[t("el-select",{staticClass:"input-w",attrs:{clearable:"",placeholder:e.$l("请选择")},on:{change:e.applyAccountChange},model:{value:e.form.usedAccountType,callback:function(t){e.$set(e.form,"usedAccountType",t)},expression:"form.usedAccountType"}},e._l(e.accountTypeOptions,(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),t("el-form-item",{staticClass:"m-b-m auto-form-item",attrs:{label:e.$l("是否自动确认"),prop:"isAutoConfirm"}},[t("el-radio-group",{model:{value:e.form.isAutoConfirm,callback:function(t){e.$set(e.form,"isAutoConfirm",t)},expression:"form.isAutoConfirm"}},[t("el-radio",{attrs:{label:1}},[e._v(e._s(e.$l("是")))]),t("el-radio",{attrs:{label:0}},[e._v(e._s(e.$l("否")))])],1)],1)],1)],1)},t.staticRenderFns=[]},da62:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{staticClass:"configurable-form"},[e._t("top"),e.isDetail?t("div",[t("Detail",{attrs:{"form-data":e.formData,"extend-fields":e.extendFields,"label-style":e.labelStyle,fieldDifferences:e.fieldDifferences},scopedSlots:e._u([{key:"label",fn:function(t){return[e._t("label",null,null,t)]}},{key:"field",fn:function(t){return[e._t("field",null,null,t)]}}],null,!0)})],1):t("el-form",{ref:"dynamicForm",class:e.labelWidthClass,attrs:{model:e.formData,rules:e.formRules,"label-width":e.labelWidth,"label-position":"right"}},[e._l(e.extendFields,(function(n){return[1===n.isEnabled&&e.getFieldComponent(n)?t("el-form-item",{key:n.id,attrs:{label:n.fieldName,prop:n.fieldNo}},[t("div",{staticClass:"flex-box flex-v"},[t(e.getFieldComponent(n),e._b({key:n.fieldNo+"_"+n.fieldProperty,tag:"component",staticClass:"input-w",attrs:{value:e.getDisplayValue(n),disabled:e.readOnly},on:{input:t=>e.updateFieldValue(n.fieldNo,t),change:function(t){return e.handleFieldChange(n,t)}}},"component",e.getFieldProps(n),!1),[e.isSelectField(n)||e.isMultiSelectField(n)?e._l(e.fieldSelectOptions[n.fieldNo],(function(e){return t("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})):e._e()],2),n.fieldDescription?t("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:n.fieldDescription,placement:"top-start"}},[t("i",{staticClass:"n20-icon-xinxitishi ml-4"})]):e._e()],1)]):e._e()]}))],2),e._t("bottom")],2)},t.staticRenderFns=[]},da6a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"title",rawName:"v-title"}],class:e.readOnly&&e._value?"url-link-input-text":""},[t("el-input",{staticClass:"input-w",attrs:{placeholder:e.$l(e.readOnly?"--":"请输入"),disabled:e.readOnly},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}}),e.readOnly&&e._value?t("div",{staticClass:"url-link-input-mask",on:{click:e.openNewPage}}):e._e()],1)},t.staticRenderFns=[]},da76:function(e,t,n){"use strict";n.r(t);var a=n("d753"),r=n("b1db");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,"c18894b2",null);t["default"]=o.exports},da9f:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("SelectTreeUnitForm",e._b({key:e.items.prop,ref:"unitRef",attrs:{upDateValue:e.upDateValue,url:e.$attrs.url?e.$attrs.url:"/api/nstc-gtcp/1.0/fundTree",listUrl:e.$attrs.listUrl?e.$attrs.listUrl:"/api/nstc-gtcp/1.0/fundTree",placeholder:e._f("$l")(e.$attrs.placeholder?e.$attrs.placeholder:"请选择"),isUnitDataScope:"1",moduleNo:e.moduleNo,relaNo:e.relaNo,disabled:e.disabled,multiple:e.multiple,"node-key":"id"},on:{dataChange:e.dataChange},model:{value:e.unitData,callback:function(t){e.unitData=t},expression:"unitData"}},"SelectTreeUnitForm",e.$attrs,!1))},t.staticRenderFns=[]},dae1:function(e,t,n){"use strict";n.r(t);var a=n("dcaa"),r=n("fcc4");for(var i in r)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(i);n("2355");var s=n("2877"),o=Object(s["a"])(r["default"],a["render"],a["staticRenderFns"],!1,null,null,null);t["default"]=o.exports},db29:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
308
308
|
//! moment.js locale configuration
|
|
309
309
|
var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,i=e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,a){return e?/-MMM-/.test(a)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}});return i}))},db3a:function(e,t,n){"use strict";var a=n("a757");n.o(a,"render")&&n.d(t,"render",(function(){return a["render"]})),n.o(a,"staticRenderFns")&&n.d(t,"staticRenderFns",(function(){return a["staticRenderFns"]}))},dc2e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("InputNumber",e._g(e._b({attrs:{max:999.999999,min:0,type:e.type,"is-clearable":!0,"d-num":6,suffix:"‰",placeholder:e._f("$l")(e.$attrs.placeholder?e.$attrs.placeholder:"请输入")},model:{value:e._value,callback:function(t){e._value=t},expression:"_value"}},"InputNumber",e.$attrs,!1),e.$listeners))},t.staticRenderFns=[]},dc34:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.staticRenderFns=t.render=void 0;t.render=function(){var e=this,t=e._self._c;return t("div",[t("CLSelectTree",e._b({staticClass:"input-w",attrs:{data:e.treeData,"default-expand-all":"",props:{children:"children",label:e.nodeName,value:e.nodeKey,disabled:e=>!Number(e.activeFlag||0)}},on:{change:e.treeChange},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}},"CLSelectTree",e.$attrs,!1))],1)},t.staticRenderFns=[]},dc4d:function(e,t,n){(function(e,t){t(n("c1df"))})(0,(function(e){"use strict";
|
|
310
310
|
//! moment.js locale configuration
|