|
@@ -37,6 +37,12 @@
|
|
|
<template slot-scope="{ row }" slot="orderQuantity">
|
|
|
<span>{{ row.orderQuantity | IntegerFormat }}</span>
|
|
|
</template>
|
|
|
+ <template slot-scope="{ row }" slot="amount">
|
|
|
+ <span>{{ row.amount | decimalFormat }}</span>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="{ row }" slot="purchaseAmount">
|
|
|
+ <span>{{ row.purchaseAmount | decimalFormat }}</span>
|
|
|
+ </template>
|
|
|
<template slot="portOfLoadSearch">
|
|
|
<port-info v-model="search.portOfLoad" />
|
|
|
</template>
|
|
@@ -146,7 +152,7 @@ import {
|
|
|
} from "@/api/basicData/customerInquiry";
|
|
|
import detailPage from "./detailsPage";
|
|
|
import { defaultDate } from "@/util/date";
|
|
|
-import { micrometerFormat, IntegerFormat } from "@/util/validate";
|
|
|
+import { micrometerFormat, IntegerFormat,decimalFormat } from "@/util/validate";
|
|
|
import _ from "lodash";
|
|
|
export default {
|
|
|
name: "customerInformation",
|
|
@@ -163,7 +169,7 @@ export default {
|
|
|
pageSize: 20,
|
|
|
currentPage: 1,
|
|
|
total: 0,
|
|
|
- pageSizes: [10,20,30,40,50, 100, 200, 300, 400, 500]
|
|
|
+ pageSizes: [10, 20, 30, 40, 50, 100, 200, 300, 400, 500]
|
|
|
},
|
|
|
show: true,
|
|
|
detailData: {},
|
|
@@ -241,6 +247,9 @@ export default {
|
|
|
filters: {
|
|
|
IntegerFormat(num) {
|
|
|
return IntegerFormat(num);
|
|
|
+ },
|
|
|
+ decimalFormat(num){
|
|
|
+ return decimalFormat(num);
|
|
|
}
|
|
|
},
|
|
|
activated() {
|
|
@@ -451,8 +460,8 @@ export default {
|
|
|
);
|
|
|
if (inSave) {
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.crud.doLayout()
|
|
|
- })
|
|
|
+ this.$refs.crud.doLayout();
|
|
|
+ });
|
|
|
this.$message.success("保存成功");
|
|
|
//关闭窗口
|
|
|
this.$refs.crud.$refs.dialogColumn.columnBox = false;
|
|
@@ -463,8 +472,8 @@ export default {
|
|
|
const inSave = await this.delColumnData(this.getColumnName(0), option);
|
|
|
if (inSave) {
|
|
|
this.$nextTick(() => {
|
|
|
- this.$refs.crud.doLayout()
|
|
|
- })
|
|
|
+ this.$refs.crud.doLayout();
|
|
|
+ });
|
|
|
this.$message.success("重置成功");
|
|
|
this.$refs.crud.$refs.dialogColumn.columnBox = false;
|
|
|
}
|