结算统计
This commit is contained in:
parent
754eae2c46
commit
a608e16b64
|
|
@ -1,14 +1,211 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="ChangeListManager">
|
||||||
|
<list default="true" id="af0b3075-1aac-488c-a9ee-e3a71367d44b" name="Changes" comment="付款单申请审核">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/js/car_demand_plan/child/choose_type_list.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/car_demand_plan/child/choose_type_list.js" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/js/car_settlement/branch_settlement_list.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/car_settlement/branch_settlement_list.js" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/js/car_settlement/sup_settlement_list.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/car_settlement/sup_settlement_list.js" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/js/public.js" beforeDir="false" afterPath="$PROJECT_DIR$/js/public.js" afterDir="false" />
|
||||||
|
</list>
|
||||||
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
|
</component>
|
||||||
|
<component name="FileTemplateManagerImpl">
|
||||||
|
<option name="RECENT_TEMPLATES">
|
||||||
|
<list>
|
||||||
|
<option value="HTML File" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="Git.Settings">
|
||||||
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
|
</component>
|
||||||
|
<component name="MarkdownSettingsMigration">
|
||||||
|
<option name="stateVersion" value="1" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectId" id="38sHK5K65rD8PwJRjHR2Tvjb74n" />
|
||||||
|
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
|
||||||
|
<component name="ProjectViewState">
|
||||||
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
|
<option name="showLibraryContents" value="true" />
|
||||||
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent">{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
"settings.editor.selected.configurable": "project.propVCSSupport.Confirmation"
|
"DefaultHtmlFileTemplate": "HTML File",
|
||||||
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
|
"WebServerToolWindowFactoryState": "false",
|
||||||
|
"last_opened_file_path": "H:/bns/project/2026/gz_car_ui/js/car_application_audit",
|
||||||
|
"settings.editor.selected.configurable": "project.propVCSSupport.Confirmation",
|
||||||
|
"vue.rearranger.settings.migration": "true"
|
||||||
}
|
}
|
||||||
}</component>
|
}</component>
|
||||||
|
<component name="RecentsManager">
|
||||||
|
<key name="CopyFile.RECENT_KEYS">
|
||||||
|
<recent name="H:\bns\project\2026\gz_car_ui\js\car_application_audit" />
|
||||||
|
<recent name="H:\bns\project\2026\gz_car_ui\page\car_application_audit\child" />
|
||||||
|
</key>
|
||||||
|
</component>
|
||||||
|
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||||
|
<component name="TaskManager">
|
||||||
|
<task active="true" id="Default" summary="Default task">
|
||||||
|
<changelist id="af0b3075-1aac-488c-a9ee-e3a71367d44b" name="Changes" comment="" />
|
||||||
|
<created>1769581296268</created>
|
||||||
|
<option name="number" value="Default" />
|
||||||
|
<option name="presentableId" value="Default" />
|
||||||
|
<updated>1769581296268</updated>
|
||||||
|
<workItem from="1769581304401" duration="5794000" />
|
||||||
|
<workItem from="1769648923645" duration="29629000" />
|
||||||
|
<workItem from="1769735831127" duration="21423000" />
|
||||||
|
<workItem from="1769995214050" duration="2713000" />
|
||||||
|
<workItem from="1770001970252" duration="1727000" />
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00001" summary="付款单申请">
|
||||||
|
<created>1769581455051</created>
|
||||||
|
<option name="number" value="00001" />
|
||||||
|
<option name="presentableId" value="LOCAL-00001" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769581455051</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00002" summary="付款单申请">
|
||||||
|
<created>1769581565904</created>
|
||||||
|
<option name="number" value="00002" />
|
||||||
|
<option name="presentableId" value="LOCAL-00002" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769581565904</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00003" summary="付款单申请">
|
||||||
|
<created>1769581846914</created>
|
||||||
|
<option name="number" value="00003" />
|
||||||
|
<option name="presentableId" value="LOCAL-00003" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769581846914</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00004" summary="付款单申请">
|
||||||
|
<created>1769582533816</created>
|
||||||
|
<option name="number" value="00004" />
|
||||||
|
<option name="presentableId" value="LOCAL-00004" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769582533816</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00005" summary="付款单申请">
|
||||||
|
<created>1769582821378</created>
|
||||||
|
<option name="number" value="00005" />
|
||||||
|
<option name="presentableId" value="LOCAL-00005" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769582821378</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00006" summary="付款单申请">
|
||||||
|
<created>1769584182012</created>
|
||||||
|
<option name="number" value="00006" />
|
||||||
|
<option name="presentableId" value="LOCAL-00006" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769584182012</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00007" summary="付款单申请">
|
||||||
|
<created>1769584474368</created>
|
||||||
|
<option name="number" value="00007" />
|
||||||
|
<option name="presentableId" value="LOCAL-00007" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769584474368</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00008" summary="付款单申请">
|
||||||
|
<created>1769587070828</created>
|
||||||
|
<option name="number" value="00008" />
|
||||||
|
<option name="presentableId" value="LOCAL-00008" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769587070828</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00009" summary="付款单申请审核">
|
||||||
|
<created>1769666357659</created>
|
||||||
|
<option name="number" value="00009" />
|
||||||
|
<option name="presentableId" value="LOCAL-00009" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769666357659</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00010" summary="付款单申请审核">
|
||||||
|
<created>1769666395075</created>
|
||||||
|
<option name="number" value="00010" />
|
||||||
|
<option name="presentableId" value="LOCAL-00010" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769666395075</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00011" summary="付款单申请审核">
|
||||||
|
<created>1769683682659</created>
|
||||||
|
<option name="number" value="00011" />
|
||||||
|
<option name="presentableId" value="LOCAL-00011" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769683682659</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00012" summary="付款单申请审核">
|
||||||
|
<created>1769692652460</created>
|
||||||
|
<option name="number" value="00012" />
|
||||||
|
<option name="presentableId" value="LOCAL-00012" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769692652460</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00013" summary="付款单申请审核">
|
||||||
|
<created>1769753323851</created>
|
||||||
|
<option name="number" value="00013" />
|
||||||
|
<option name="presentableId" value="LOCAL-00013" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769753323851</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00014" summary="付款单申请审核">
|
||||||
|
<created>1769758547610</created>
|
||||||
|
<option name="number" value="00014" />
|
||||||
|
<option name="presentableId" value="LOCAL-00014" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769758547610</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00015" summary="付款单申请审核">
|
||||||
|
<created>1769762030822</created>
|
||||||
|
<option name="number" value="00015" />
|
||||||
|
<option name="presentableId" value="LOCAL-00015" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769762030822</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00016" summary="付款单申请审核">
|
||||||
|
<created>1769764685634</created>
|
||||||
|
<option name="number" value="00016" />
|
||||||
|
<option name="presentableId" value="LOCAL-00016" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769764685634</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00017" summary="付款单申请审核">
|
||||||
|
<created>1769769931634</created>
|
||||||
|
<option name="number" value="00017" />
|
||||||
|
<option name="presentableId" value="LOCAL-00017" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1769769931634</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="18" />
|
||||||
|
<servers />
|
||||||
|
</component>
|
||||||
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
<option name="version" value="3" />
|
||||||
|
</component>
|
||||||
|
<component name="Vcs.Log.Tabs.Properties">
|
||||||
|
<option name="TAB_STATES">
|
||||||
|
<map>
|
||||||
|
<entry key="MAIN">
|
||||||
|
<value>
|
||||||
|
<State />
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</map>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="VcsContentAnnotationSettings">
|
<component name="VcsContentAnnotationSettings">
|
||||||
<option name="myShow1" value="true" />
|
<option name="myShow1" value="true" />
|
||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<option name="SHOW_DIRTY_RECURSIVELY" value="true" />
|
<option name="SHOW_DIRTY_RECURSIVELY" value="true" />
|
||||||
|
<MESSAGE value="付款单申请" />
|
||||||
|
<MESSAGE value="付款单申请审核" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="付款单申请审核" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
|
|
@ -160,15 +160,16 @@ function initTable() {
|
||||||
{
|
{
|
||||||
field: "times",
|
field: "times",
|
||||||
width: '15%',
|
width: '15%',
|
||||||
title: "<span style='color:red'> * </span>预计使用时间",
|
title: "<span style='color:red'> * </span>预计使用天数",
|
||||||
unresize: true,
|
unresize: true,
|
||||||
align: "center",
|
align: "center",
|
||||||
templet: (d) =>
|
edit: 'text',
|
||||||
|
/*templet: (d) =>
|
||||||
'<div class="layui-input-inline"><input type="text" class="layui-input date-picker" id="date_' +
|
'<div class="layui-input-inline"><input type="text" class="layui-input date-picker" id="date_' +
|
||||||
d.id +
|
d.id +
|
||||||
'" value="' +
|
'" value="' +
|
||||||
(d.times || "") +
|
(d.times || "") +
|
||||||
'" readonly></div>',
|
'" readonly></div>',*/
|
||||||
style: "outline: 1px solid #e6e6e6;outline-offset: -5px;",
|
style: "outline: 1px solid #e6e6e6;outline-offset: -5px;",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
@ -212,7 +213,7 @@ function initTable() {
|
||||||
$('.layui-table th[data-field="0"] input[type="checkbox"]').next().addClass('layui-form-checked');//data-field值默认为0,如果在分页部分自定义了属性名,则需要改成对应的属性名
|
$('.layui-table th[data-field="0"] input[type="checkbox"]').next().addClass('layui-form-checked');//data-field值默认为0,如果在分页部分自定义了属性名,则需要改成对应的属性名
|
||||||
}
|
}
|
||||||
// 初始化日期选择器
|
// 初始化日期选择器
|
||||||
res.data.forEach((item) => {
|
/*res.data.forEach((item) => {
|
||||||
laydate.render({
|
laydate.render({
|
||||||
elem: "#date_" + item.id,
|
elem: "#date_" + item.id,
|
||||||
done: (value) => {
|
done: (value) => {
|
||||||
|
|
@ -224,7 +225,7 @@ function initTable() {
|
||||||
updateOrAddObject(item.id, item)
|
updateOrAddObject(item.id, item)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
})
|
})*/
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
table.on('edit(currentTableId2)', function (obj) {
|
table.on('edit(currentTableId2)', function (obj) {
|
||||||
|
|
@ -238,6 +239,14 @@ function initTable() {
|
||||||
return layer.msg('需用量格式不正确,最大数量只能输入10,且为正整数!', { icon: 7 })
|
return layer.msg('需用量格式不正确,最大数量只能输入10,且为正整数!', { icon: 7 })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (field === 'times') { //
|
||||||
|
if (value) {
|
||||||
|
const regex = /^[1-9]\d{0,5}$/; // 只能正整数,最多6位
|
||||||
|
if (!regex.test(value)) {
|
||||||
|
obj.reedit();
|
||||||
|
return layer.msg('预计使用天数只能输入正整数!', { icon: 7 })
|
||||||
|
}
|
||||||
|
}
|
||||||
} else if (field === 'remarks') { // 备注
|
} else if (field === 'remarks') { // 备注
|
||||||
if (value) {
|
if (value) {
|
||||||
if (value.length > 255) {
|
if (value.length > 255) {
|
||||||
|
|
|
||||||
|
|
@ -81,11 +81,15 @@ function getStatisticByCompany() {
|
||||||
$('#num').html(parseInt(obj.comNum));
|
$('#num').html(parseInt(obj.comNum));
|
||||||
$('#num2').html(obj.proNum);
|
$('#num2').html(obj.proNum);
|
||||||
$('#num3').html(parseInt(obj.needNum));
|
$('#num3').html(parseInt(obj.needNum));
|
||||||
$('#num4').html("¥" + parseInt(obj.moneys));
|
$('#num4').html("¥" + formatMoney(obj.moneys));
|
||||||
$('#num5').html("¥" + parseInt(obj.payMoney));
|
$('#num5').html("¥" + formatMoney(obj.payMoney));
|
||||||
$('#num6').html("¥" + parseInt(obj.noPayMoney));
|
$('#num6').html("¥" + formatMoney(obj.noPayMoney));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
function formatMoney(val) {
|
||||||
|
if (val === null || val === undefined || val === '') return '0.00';
|
||||||
|
return Number(val).toFixed(2);
|
||||||
|
}
|
||||||
|
|
||||||
// 查询/重置
|
// 查询/重置
|
||||||
function queryTable() {
|
function queryTable() {
|
||||||
|
|
@ -293,4 +297,4 @@ function exportExcel() {
|
||||||
}
|
}
|
||||||
let url = dataUrl + "backstage/supApply/export3";
|
let url = dataUrl + "backstage/supApply/export3";
|
||||||
exportExcelUtil(url, '供应商结算统计', JSON.stringify(params));
|
exportExcelUtil(url, '供应商结算统计', JSON.stringify(params));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -26,12 +26,17 @@ function getSltSupInformation() {
|
||||||
$('#num').html(parseInt(obj.proNum));
|
$('#num').html(parseInt(obj.proNum));
|
||||||
$('#num2').html(obj.needPlan);
|
$('#num2').html(obj.needPlan);
|
||||||
$('#num3').html(parseInt(obj.supNum));
|
$('#num3').html(parseInt(obj.supNum));
|
||||||
$('#num4').html('¥' + parseInt(obj.money));
|
$('#num4').html('¥' + formatMoney(obj.money));
|
||||||
$('#num5').html('¥' + parseInt(obj.payMoney));
|
$('#num5').html('¥' + formatMoney(obj.payMoney));
|
||||||
$('#num6').html('¥' + parseInt(obj.noPayMoney));
|
$('#num6').html('¥' + formatMoney(obj.noPayMoney));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function formatMoney(val) {
|
||||||
|
if (val === null || val === undefined || val === '') return '0.00';
|
||||||
|
return Number(val).toFixed(2);
|
||||||
|
}
|
||||||
|
|
||||||
// 查询/重置
|
// 查询/重置
|
||||||
function queryTable(type) {
|
function queryTable(type) {
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
|
|
@ -276,4 +281,4 @@ function exportExcel() {
|
||||||
}
|
}
|
||||||
let url = dataUrl + "backstage/carStatistics/export";
|
let url = dataUrl + "backstage/carStatistics/export";
|
||||||
exportExcelUtil(url, '供应商结算统计', JSON.stringify(params));
|
exportExcelUtil(url, '供应商结算统计', JSON.stringify(params));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue