|
@@ -116,7 +116,12 @@
|
|
|
|
|
|
<script>
|
|
|
import option from "./config/mainList.json";
|
|
|
-import { getList, remove, getPorts } from "@/api/basicData/salesContract";
|
|
|
+import {
|
|
|
+ getList,
|
|
|
+ remove,
|
|
|
+ getPorts,
|
|
|
+ gainUser
|
|
|
+} from "@/api/basicData/salesContract";
|
|
|
import detailPage from "./detailsPage.vue";
|
|
|
import { defaultDate } from "@/util/date";
|
|
|
import { micrometerFormat } from "@/util/validate";
|
|
@@ -180,6 +185,9 @@ export default {
|
|
|
this.findObject(this.option.column, "orderStatus").dicData =
|
|
|
res.data.data;
|
|
|
});
|
|
|
+ gainUser().then(res => {
|
|
|
+ this.findObject(this.option.column, "createUser").dicData = res.data.data;
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
cellStyle() {
|
|
@@ -285,10 +293,10 @@ export default {
|
|
|
item.property == "predictOceanFreight" ||
|
|
|
item.property == "referenceOceanFreight" ||
|
|
|
item.property == "oceanFreight" ||
|
|
|
- item.property == "orderQuantity"||
|
|
|
- item.property == "actualQuantity"||
|
|
|
- item.property == "grossProfit"||
|
|
|
- item.property == "amount"||
|
|
|
+ item.property == "orderQuantity" ||
|
|
|
+ item.property == "actualQuantity" ||
|
|
|
+ item.property == "grossProfit" ||
|
|
|
+ item.property == "amount" ||
|
|
|
item.property == "purchaseAmount"
|
|
|
) {
|
|
|
let qtySum = 0;
|