@@ -139,6 +167,7 @@
import { getLngPngDemandContractList, getLngPngDemandPointDely, getLngPngDemandContractQty, getLngPngDemandPurList, getLngPngDemandRate } from '/@/api/dayPlan/Demand';
import NP from 'number-precision';
+ const numFormat = "###,###,###,###,###,###.000"
const userStore = useUserStore();
const userInfo = userStore.getUserInfo;
const router = useRouter();
@@ -189,27 +218,31 @@
formState.value.cuCode = res?.comp?.code
formState.value.comId = res?.comp?.id
const res1 = await getLngPngDemandRate({}) || []
- formState.value.rateM3Gj = res1[0].rateM3Gj
+ formState.value.rateM3Gj = res1[0]?.rateM3Gj
}
})
+ function numBlur(record) {
+ record.qtyDemandM3 = record.qtyDemandM3 ? record.qtyDemandM3.toFixed(3) : ''
+ record.qtyDemandGj = record.qtyDemandGj ? record.qtyDemandGj.toFixed(3) : ''
+ }
async function numChange (k, record) {
if (k == 'qtyDemandGj') {
record.qtyDemandM3 = Number(formState.value.rateM3Gj) ? Number(record.qtyDemandGj)/Number(formState.value.rateM3Gj) : ''
} else {
record.qtyDemandGj = Number(record.qtyDemandM3)*Number(formState.value.rateM3Gj) || ''
}
- record.qtyDemandM3 = record.qtyDemandM3 ? record.qtyDemandM3.toFixed(5) : ''
- record.qtyDemandGj = record.qtyDemandGj ? record.qtyDemandGj.toFixed(5) : ''
+ // record.qtyDemandM3 = record.qtyDemandM3 ? record.qtyDemandM3.toFixed(3) : ''
+ // record.qtyDemandGj = record.qtyDemandGj ? record.qtyDemandGj.toFixed(3) : ''
let num = 0;
let num1 = 0;
dataList.value.forEach(v => {
num=NP.plus(num, (Number(v.qtyDemandM3) || 0))
num1=NP.plus(num1, (Number(v.qtyDemandGj) || 0))
})
- formState.value.qtyDemandM3 = num
- formState.value.qtyDemandGj = num1
+ formState.value.qtyDemandM3 = num.toFixed(3)
+ formState.value.qtyDemandGj = num1.toFixed(3)
}
const datePlanChange = async (val) => {
if (!val) {
diff --git a/src/views/dayPlan/Demand/components/config.ts b/src/views/dayPlan/Demand/components/config.ts
index 7aca503..688b4ac 100644
--- a/src/views/dayPlan/Demand/components/config.ts
+++ b/src/views/dayPlan/Demand/components/config.ts
@@ -6,6 +6,16 @@ export const formConfig = {
};
export const searchFormSchema: FormSchema[] = [
+ {
+ field: 'datePlan',
+ label: '计划日期',
+ component: 'RangePicker',
+ componentProps: {
+ format: 'YYYY-MM-DD',
+ style: { width: '100%' },
+ getPopupContainer: () => document.body,
+ },
+ },
{
field: 'pointDelyName',
@@ -51,7 +61,7 @@ export const columns: BasicColumn[] = [
title: '版本号',
componentType: 'input',
align: 'left',
- width: 100,
+ width: 80,
sorter: true,
},
@@ -118,15 +128,6 @@ export const columns: BasicColumn[] = [
sorter: true,
},
- {
- dataIndex: 'note',
- title: '备注',
- componentType: 'input',
- align: 'left',
-
- sorter: true,
- },
-
{
dataIndex: 'reply',
title: '批复意见',
diff --git a/src/views/dayPlan/Demand/index.vue b/src/views/dayPlan/Demand/index.vue
index ca413a8..b147b12 100644
--- a/src/views/dayPlan/Demand/index.vue
+++ b/src/views/dayPlan/Demand/index.vue
@@ -18,11 +18,18 @@
+
+ {{ Number.format(Number.parse(record.qtyDemandGj),numFormat) }}
+
+
+
+ {{ Number.format(Number.parse(record.qtySalesGj),numFormat) }}
+
- {{ NP.divide(Number(record.qtySalesM3), 10000) }}
+ {{ Number.format(Number.parse( NP.divide(Number(record.qtySalesM3), 10000)),numFormat) }}
- {{ NP.divide(Number(record.qtyDemandM3), 10000) }}
+ {{ Number.format(Number.parse( NP.divide(Number(record.qtyDemandM3), 10000)),numFormat) }}
@@ -68,9 +75,10 @@
import useEventBus from '/@/hooks/event/useEventBus';
import { cloneDeep } from 'lodash-es';
import NP from 'number-precision';
-
+ import dayjs from 'dayjs';
+ const defaultDate = ref([dayjs().format('YYYY-MM-DD'),dayjs().add(1, 'day').format('YYYY-MM-DD')]);
const { bus, CREATE_FLOW, FLOW_PROCESSED, FORM_LIST_MODIFIED } = useEventBus();
-
+ const numFormat = "###,###,###,###,###,###.000"
const { notification } = useMessage();
const { t } = useI18n();
defineEmits(['register']);
@@ -124,7 +132,8 @@
const [registerModal, { openModal }] = useModal();
const [registerImportModal, { openModal: openImportModal }] = useModal();
- const formName='日计划-客户需求';
+ // const formName='管道气日计划';
+ const formName=currentRoute.value.meta?.title;
const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
title: '' || (formName + '列表'),
api: getLngPngDemandPage,
@@ -134,8 +143,44 @@
rowProps: {
gutter: 16,
},
- schemas: customSearchFormSchema,
- fieldMapToTime: [],
+ schemas: [
+ {
+ field: 'datePlan',
+ label: '计划日期',
+ component: 'RangePicker',
+ defaultValue: defaultDate.value,
+ componentProps: {
+ format: 'YYYY-MM-DD',
+ style: { width: '100%' },
+ getPopupContainer: () => document.body,
+ },
+ },
+
+ {
+ field: 'pointDelyName',
+ label: '下载点',
+ component: 'Input',
+ },
+ {
+ field: 'kName',
+ label: '销售合同名称/编码',
+ component: 'Input',
+ },
+ {
+ field: 'approCode',
+ label: '审批状态',
+ component: 'XjrSelect',
+ componentProps: {
+ datasourceType: 'dic',
+ params: { itemId: '1990669393069129729' },
+ labelField: 'name',
+ valueField: 'value',
+
+ getPopupContainer: () => document.body,
+ },
+ },
+ ],
+ fieldMapToTime: [['datePlan', ['startDate', 'endDate'], 'YYYY-MM-DD']],
showResetButton: true,
submitButtonOptions: {
text: '搜索',
@@ -150,6 +195,7 @@
},
},
},
+ immediate: false,
beforeFetch: (params) => {
return { ...params, FormId: formIdComputedRef.value, PK: 'id',page:params.limit };
},
@@ -209,7 +255,7 @@
path: '/dayPlan/Demand/createForm',
query: {
formPath: 'dayPlan/Demand',
- formName: formName,
+ formName: "查看"+formName,
formId:currentRoute.value.meta.formId,
id: record.id,
type:'view'
@@ -237,7 +283,7 @@
path: '/dayPlan/Demand/createForm',
query: {
formPath: 'dayPlan/Demand',
- formName: formName,
+ formName: "新建"+formName,
formId:currentRoute.value.meta.formId
}
});
@@ -249,7 +295,7 @@
path: '/dayPlan/Demand/createForm',
query: {
formPath: 'dayPlan/Demand',
- formName: formName,
+ formName: "编辑"+formName,
formId:currentRoute.value.meta.formId,
id: record.id,
type: 'edit'
@@ -262,7 +308,7 @@
path: '/dayPlan/Demand/createForm',
query: {
formPath: 'dayPlan/Demand',
- formName: formName,
+ formName: "对比"+formName,
formId:currentRoute.value.meta.formId,
id: record.id,
type: 'compare'
@@ -394,6 +440,7 @@
reload()
}
onMounted(() => {
+ reload({ searchInfo: { startDate: defaultDate.value[0], endDate: defaultDate.value[1] }});
if (schemaIdComputedRef.value) {
bus.on(FLOW_PROCESSED, handleRefresh);
@@ -557,7 +604,10 @@
};
\ No newline at end of file
diff --git a/src/views/dayPlan/PngAppro/components/basicForm.vue b/src/views/dayPlan/PngAppro/components/basicForm.vue
index 275f530..874943d 100644
--- a/src/views/dayPlan/PngAppro/components/basicForm.vue
+++ b/src/views/dayPlan/PngAppro/components/basicForm.vue
@@ -10,37 +10,53 @@
{{ formState.kName}}
- {{ formState.qtyContractGj }}
+
+ {{ Number.format(Number.parse(formState.qtyContractGj ||0),numFormat)}}
+
- {{ formState.qtyContractM3 }}
+
+ {{ Number.format(Number.parse(formState.qtyContractM3||0 ),numFormat)}}
+
{{ formState.rateK }}
- {{ formState.qtyPlanGj }}
+
+ {{ Number.format(Number.parse(formState.qtyPlanGj||0 ),numFormat)}}
+
- {{ formState.qtyPlanM3 }}
+
+ {{ Number.format(Number.parse(formState.qtyPlanM3||0 ),numFormat)}}
+
{{ formState.rateMp }}
- {{ formState.qtyDemandGj }}
+
+ {{ Number.format(Number.parse(formState.qtyDemandGj||0 ),numFormat)}}
+
- {{ formState.qtyDemandM3 }}
+
+ {{ Number.format(Number.parse(formState.qtyDemandM3||0 ),numFormat)}}
+
{{ formState.rateS }}
- {{ formState.qtySalesGj }}
+
+ {{ Number.format(Number.parse(formState.qtySalesGj||0 ),numFormat)}}
+
- {{ formState.qtySalesM3 }}
+
+ {{ Number.format(Number.parse(formState.qtySalesM3||0),numFormat)}}
+
{{ formState.rateM3Gj }}
@@ -75,7 +91,7 @@
-
+
{{ record.pointUpName }}
@@ -87,18 +103,28 @@
{{ record.kpName }}
- {{ record.qtyDemandGj }}
+
+ {{ Number.format(Number.parse(record.qtyDemandGj ),numFormat)}}
+
- {{ record.qtyDemandM3 }}
+
+ {{ Number.format(Number.parse(record.qtyDemandM3 ),numFormat)}}
+
-
+
+ {{ Number.format(Number.parse(record.qtySalesGj || 0),numFormat) }}
+
+
-
+
+ {{ Number.format(Number.parse(record.qtySalesM3 || 0),numFormat) }}
+
+
{{ record.note }}
@@ -120,6 +146,7 @@
changeList: []
});
+ const numFormat = "###,###,###,###,###,###.000"
const columns= ref([
{ title: t('序号'), dataIndex: 'index', key: 'index', customRender: (column) => `${column.index + 1}` ,width: 100},
{ title: t('上载点'), dataIndex: 'pointUpName', width:400},
@@ -127,8 +154,8 @@
{ title: t('采购合同'), dataIndex: 'kpName', width: 400},
{ title: t('指定量(吉焦)'), dataIndex: 'qtyDemandGj', width: 300},
{ title: t('指定量(万方)'), dataIndex: 'qtyDemandM3', width: 200},
- { title: t('批复量(吉焦)'), dataIndex: 'qtySalesGj', width: 200},
- { title: t('批复量(万方)'), dataIndex: 'qtySalesM3', width: 200},
+ { title: t('批复量(吉焦)'), dataIndex: 'qtySalesGj', width: 250},
+ { title: t('批复量(万方)'), dataIndex: 'qtySalesM3', width: 250},
{ title: t('备注'), dataIndex: 'note', width: 300},
]);
const formState = ref()
@@ -141,8 +168,8 @@
num+=(Number(v.qtySalesGj) || 0)
num1+=(Number(v.qtySalesM3) || 0)
})
- formState.value.qtySalesGj = num
- formState.value.qtySalesM3 = num1
+ formState.value.qtySalesGj = num.toFixed(3)
+ formState.value.qtySalesM3 = num1.toFixed(3)
}
function getFormValue () {
let obj = {
diff --git a/src/views/dayPlan/PngAppro/components/config.ts b/src/views/dayPlan/PngAppro/components/config.ts
index 4622b68..28c994f 100644
--- a/src/views/dayPlan/PngAppro/components/config.ts
+++ b/src/views/dayPlan/PngAppro/components/config.ts
@@ -6,7 +6,21 @@ export const formConfig = {
};
export const searchFormSchema: FormSchema[] = [
-
+ {
+ field: 'cuCode',
+ label: '客户名称',
+ component: 'Input',
+ },
+ {
+ field: 'kName',
+ label: '合同名称',
+ component: 'Input',
+ },
+ {
+ field: 'pointDelyName',
+ label: '下载点',
+ component: 'Input',
+ },
{
field: 'datePlan',
label: '计划日期',
@@ -17,12 +31,8 @@ export const searchFormSchema: FormSchema[] = [
getPopupContainer: () => document.body,
},
},
+
{
- field: 'cuCode',
- label: '客户名称/简称/编码',
- component: 'Input',
- },
- {
field: 'approCode',
label: '审批状态',
component: 'XjrSelect',
@@ -215,7 +225,7 @@ export const columns: BasicColumn[] = [
},
{
- dataIndex: 'poinDelyName',
+ dataIndex: 'pointDelyName',
title: '下载点',
componentType: 'input',
align: 'left',
diff --git a/src/views/dayPlan/PngAppro/index.vue b/src/views/dayPlan/PngAppro/index.vue
index 72c1f06..432b403 100644
--- a/src/views/dayPlan/PngAppro/index.vue
+++ b/src/views/dayPlan/PngAppro/index.vue
@@ -15,6 +15,18 @@
+
+ {{ Number.format(Number.parse(record.qtyDemandGj),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyDemandM3),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtySalesGj),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtySalesM3),numFormat) }}
+
{{ record.approName }}
@@ -61,7 +73,9 @@
import useEventBus from '/@/hooks/event/useEventBus';
import { cloneDeep } from 'lodash-es';
-
+ import { DataFormat, FormatOption, DATE_FORMAT, FormatType } from '/@/utils/dataFormat';
+
+ const numFormat = "###,###,###,###,###,###.000"
const { bus, CREATE_FLOW, FLOW_PROCESSED, FORM_LIST_MODIFIED } = useEventBus();
const { notification } = useMessage();
@@ -115,7 +129,8 @@
const [registerModal, { openModal}] = useModal();
const [registerApproStatus, { openModal: openModalApproStatus}] = useModal();
- let formName='管道气销售审批';
+ // let formName='管道气销售审批';
+ const formName=currentRoute.value.meta?.title;
let curPath = 'dayPlan/PngAppro/index'
const [registerTable, { reload, clearSelectedRowKeys, setTableData }] = useTable({
title: '' || (formName + '列表'),
@@ -204,7 +219,7 @@
path: '/dayPlan/PngAppro/createForm',
query: {
formPath: curPath,
- formName: formName,
+ formName: "查看"+formName,
formId:currentRoute.value.meta.formId,
id: record.id,
type: 'view'
@@ -247,7 +262,7 @@
path: '/dayPlan/PngAppro/createForm',
query: {
formPath: curPath,
- formName: formName,
+ formName: "审批"+formName,
formId:currentRoute.value.meta.formId,
id: record.id
}
@@ -258,7 +273,7 @@
path: '/dayPlan/PngAppro/createForm',
query: {
formPath: curPath,
- formName: formName+'对比',
+ formName: '对比'+formName,
formId:currentRoute.value.meta.formId,
id: record.demandOrgId,
type: 'compare'
@@ -444,24 +459,31 @@
:deep(.ant-table-selection-col) {
width: 50px;
}
- :deep( .ant-col-8:nth-child(1)) {
+ :deep( .ant-col-8:nth-child(4)) {
width: 320px !important;
max-width: 320px !important;;
}
- :deep(.ant-col-8:nth-child(1) .ant-form-item-label) {
+ :deep(.ant-col-8:nth-child(4) .ant-form-item-label) {
width: 80px !important;
}
- :deep( .ant-col-8:nth-child(2)) {
- width: 360px !important;
+ :deep( .w-full .ant-col-8:nth-child(1)) {
+ width: 320px !important;
max-width: 320px !important;;
}
- :deep(.ant-col-8:nth-child(2) .ant-form-item-label) {
- width: 160px !important;
- }
- :deep(.ant-col-8:nth-child(2) .ant-form-item-label .ant-form-item-no-colon) {
- width: 160px !important;
- max-width: 160px !important;
+ :deep(.w-full .ant-col-8:nth-child(1) .ant-form-item-label) {
+ width: 80px !important;
}
+ // :deep( .ant-col-8:nth-child(2)) {
+ // width: 360px !important;
+ // max-width: 320px !important;;
+ // }
+ // :deep(.ant-col-8:nth-child(2) .ant-form-item-label) {
+ // width: 160px !important;
+ // }
+ // :deep(.ant-col-8:nth-child(2) .ant-form-item-label .ant-form-item-no-colon) {
+ // width: 160px !important;
+ // max-width: 160px !important;
+ // }
.show{
display: flex;
}
diff --git a/src/views/dayPlan/PngApproGd/components/config.ts b/src/views/dayPlan/PngApproGd/components/config.ts
index 862853a..8805a95 100644
--- a/src/views/dayPlan/PngApproGd/components/config.ts
+++ b/src/views/dayPlan/PngApproGd/components/config.ts
@@ -28,12 +28,26 @@ export const columns: BasicColumn[] = [
width: 100,
sorter: true,
},
+ {
+ dataIndex: 'cuSname',
+ title: '客户名称',
+ componentType: 'input',
+ align: 'left',
+ sorter: true,
+ },
+ {
+ dataIndex: 'comName,',
+ title: '交易主体',
+ componentType: 'input',
+ align: 'left',
+ sorter: true,
+ },
{
dataIndex: 'daysSign',
title: '当日/次日',
componentType: 'input',
align: 'left',
-
+ width: 100,
sorter: true,
},
{
@@ -45,11 +59,19 @@ export const columns: BasicColumn[] = [
sorter: true,
},
{
+ dataIndex: 'qtyGjAll',
+ title: '全部上报量(吉焦)',
+ componentType: 'input',
+ align: 'left',
+
+ sorter: true,
+ },
+ {
dataIndex: 'qtyGjGd',
title: '待管道审批量(吉焦)',
componentType: 'input',
align: 'left',
-
+ width: 170,
sorter: true,
},
@@ -67,7 +89,7 @@ export const columns: BasicColumn[] = [
title: '管道已审批量(吉焦)',
componentType: 'input',
align: 'left',
-
+ width: 170,
sorter: true,
},
diff --git a/src/views/dayPlan/PngApproGd/index.vue b/src/views/dayPlan/PngApproGd/index.vue
index 4d876d2..a03c341 100644
--- a/src/views/dayPlan/PngApproGd/index.vue
+++ b/src/views/dayPlan/PngApproGd/index.vue
@@ -15,6 +15,18 @@
+
+ {{ Number.format(Number.parse(record.qtyGjAll),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyGjGd),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyGjXs),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyGjYsp),numFormat) }}
+
@@ -52,7 +64,7 @@
import rejectReplyModal from '/@/components/common/rejectReplyModal.vue';
const { bus, CREATE_FLOW, FLOW_PROCESSED, FORM_LIST_MODIFIED } = useEventBus();
-
+ const numFormat = "###,###,###,###,###,###.000"
const { notification } = useMessage();
const { t } = useI18n();
defineEmits(['register']);
@@ -95,7 +107,8 @@
const schemaIdComputedRef = ref();
schemaIdComputedRef.value = currentRoute.value.meta.schemaId
const [registerModal, { openModal }] = useModal();
- const formName='管道气管道审批';
+ // const formName='管道气管道审批';
+ const formName=currentRoute.value.meta?.title;
const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
title: '' || (formName + '列表'),
api: getLngPngApproPage,
diff --git a/src/views/dayPlan/PngApproJsz/index.vue b/src/views/dayPlan/PngApproJsz/index.vue
index a391ed6..2dbbaa8 100644
--- a/src/views/dayPlan/PngApproJsz/index.vue
+++ b/src/views/dayPlan/PngApproJsz/index.vue
@@ -15,6 +15,18 @@
+
+ {{ Number.format(Number.parse(record.qtyGjAll),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyGjJsz),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyGjXs),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyGjYsp),numFormat) }}
+
@@ -51,9 +63,9 @@
import useEventBus from '/@/hooks/event/useEventBus';
import { cloneDeep } from 'lodash-es';
import rejectReplyModal from '/@/components/common/rejectReplyModal.vue';
-
+ import dayjs from 'dayjs';
const { bus, CREATE_FLOW, FLOW_PROCESSED, FORM_LIST_MODIFIED } = useEventBus();
-
+ const defaultDate = ref([dayjs().format('YYYY-MM-DD'),dayjs().add(1, 'day').format('YYYY-MM-DD')]);
const { notification } = useMessage();
const { t } = useI18n();
defineEmits(['register']);
@@ -63,7 +75,7 @@
const filterColumns = cloneDeep(filterColumnAuth(columns));
const customConfigColums =ref(filterColumns);
const customSearchFormSchema =ref(searchFormSchema);
-
+ const numFormat = "###,###,###,###,###,###.000"
const tableRef = ref();
//所有按钮
const buttons = ref([
@@ -96,7 +108,8 @@
const schemaIdComputedRef = ref();
schemaIdComputedRef.value = currentRoute.value.meta.schemaId
const [registerModal, { openModal }] = useModal();
- const formName='管道气接收站审批';
+ // const formName='管道气接收站审批';
+ const formName=currentRoute.value.meta?.title;
const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
title: '' || (formName + '列表'),
api: getLngPngApproPage,
@@ -106,10 +119,23 @@
rowProps: {
gutter: 16,
},
- schemas: customSearchFormSchema,
- fieldMapToTime: [['datePlan', ['startDate', 'endDate'], 'YYYY-MM-DD HH:mm:ss ', true],],
+ schemas: [
+ {
+ field: 'datePlan',
+ label: '计划日期',
+ component: 'RangePicker',
+ defaultValue: defaultDate.value,
+ componentProps: {
+ format: 'YYYY-MM-DD',
+ style: { width: '100%' },
+ getPopupContainer: () => document.body,
+ },
+ },
+ ],
+ fieldMapToTime: [['datePlan', ['startDate', 'endDate'], 'YYYY-MM-DD'],],
showResetButton: true,
},
+ immediate: false,
beforeFetch: (params) => {
return { ...params, FormId: formIdComputedRef.value, PK: 'id',page: params.limit };
},
@@ -308,7 +334,7 @@
}
onMounted(() => {
-
+ reload({ searchInfo: { startDate: defaultDate.value[0], endDate: defaultDate.value[1] }});
if (schemaIdComputedRef.value) {
bus.on(FLOW_PROCESSED, handleRefresh);
bus.on(CREATE_FLOW, handleRefresh);
@@ -390,4 +416,11 @@
.hide{
display: none !important;
}
+ :deep( .ant-col-8:nth-child(1)) {
+ width: 320px !important;
+ max-width: 320px !important;;
+ }
+ :deep(.ant-col-8:nth-child(1) .ant-form-item-label) {
+ width: 80px !important;
+ }
\ No newline at end of file
diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/config.ts b/src/views/dayPlan/PngMeasureSalesPur/components/config.ts
index 41bd0da..a09d9b6 100644
--- a/src/views/dayPlan/PngMeasureSalesPur/components/config.ts
+++ b/src/views/dayPlan/PngMeasureSalesPur/components/config.ts
@@ -67,7 +67,7 @@ export const columns: BasicColumn[] = [
componentType: 'input',
align: 'left',
ellipsis: true,
- width: 200,
+ width: 150,
sorter: true,
},
{
@@ -86,7 +86,7 @@ export const columns: BasicColumn[] = [
componentType: 'input',
align: 'left',
ellipsis: true,
- width: 200,
+ width: 150,
sorter: true,
},
@@ -171,7 +171,7 @@ export const columns: BasicColumn[] = [
sorter: true,
},
{
- dataIndex: 'ksNmae',
+ dataIndex: 'ksName',
title: '销售合同',
componentType: 'input',
align: 'left',
diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/createForm.vue b/src/views/dayPlan/PngMeasureSalesPur/components/createForm.vue
index 54629d0..a8d9a9a 100644
--- a/src/views/dayPlan/PngMeasureSalesPur/components/createForm.vue
+++ b/src/views/dayPlan/PngMeasureSalesPur/components/createForm.vue
@@ -12,11 +12,17 @@
+
+ {{ Number.format(Number.parse(record.qtySalesGj),numFormat) }}
+
+
+ {{ Number.format(Number.parse(record.qtyMeaGj || 0),numFormat) }}
+
- {{ NP.divide(Number(record.qtySalesM3), 10000) }}
+ {{ Number.format(Number.parse(NP.divide(Number(record.qtySalesM3), 10000)),numFormat) }}
- {{ NP.divide(Number(record.qtyMeaM3), 10000) }}
+ {{ Number.format(Number.parse(NP.divide(Number(record.qtyMeaM3), 10000)),numFormat) }}
@@ -43,7 +49,7 @@
import NP from 'number-precision';
const userStore = useUserStore();
-
+ const numFormat = "###,###,###,###,###,###.000"
const { bus, FORM_LIST_MODIFIED } = useEventBus();
const router = useRouter();
diff --git a/src/views/dayPlan/PngMeasureSalesPur/components/searchForm.vue b/src/views/dayPlan/PngMeasureSalesPur/components/searchForm.vue
index 4f3485f..29d949e 100644
--- a/src/views/dayPlan/PngMeasureSalesPur/components/searchForm.vue
+++ b/src/views/dayPlan/PngMeasureSalesPur/components/searchForm.vue
@@ -26,19 +26,31 @@
-