|
@@ -158,12 +158,30 @@
|
|
|
@change="exchangeRateChange"
|
|
|
/>
|
|
|
</template>
|
|
|
+ <template slot="boxPile">
|
|
|
+ <el-select
|
|
|
+ size="small"
|
|
|
+ v-model="form.boxPile"
|
|
|
+ placeholder="请选择"
|
|
|
+ clearable
|
|
|
+ filterable
|
|
|
+ :disabled="detailData.status == 1"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in allBoxs"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
<template slot="boxNumber">
|
|
|
<el-input
|
|
|
size="small"
|
|
|
v-model="form.boxNumber"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
- placeholder="请输入 起订量"
|
|
|
+ placeholder="请输入 箱量"
|
|
|
:disabled="detailData.status == 1"
|
|
|
/>
|
|
|
</template>
|
|
@@ -470,7 +488,7 @@
|
|
|
/>
|
|
|
<containerTitle title="合同附件"></containerTitle>
|
|
|
<c-upload
|
|
|
- typeUpload='CK'
|
|
|
+ typeUpload="CK"
|
|
|
:data="orderFilesList"
|
|
|
:disabled="detailData.status == 1"
|
|
|
:enumerationValue="76"
|
|
@@ -511,6 +529,7 @@
|
|
|
:table-loading="loading"
|
|
|
:data="goodsList"
|
|
|
ref="goodsCrud"
|
|
|
+ :search.sync="search"
|
|
|
@search-change="searchChange"
|
|
|
@refresh-change="refreshChange"
|
|
|
@selection-change="selectionChange"
|
|
@@ -572,6 +591,7 @@ import {
|
|
|
saveSell,
|
|
|
getPricedetail
|
|
|
} from "@/api/basicData/customerInquiry";
|
|
|
+import { getAllBoxs } from "@/api/basicData/portinformation";
|
|
|
import { getCorpsattn } from "@/api/basicData/customerInformation";
|
|
|
import reportDialog from "@/components/report-dialog/main";
|
|
|
import priceLibrary from "@/components/price-Library/main";
|
|
@@ -807,12 +827,6 @@ export default {
|
|
|
{
|
|
|
label: "箱型",
|
|
|
prop: "boxPile",
|
|
|
- type: "select",
|
|
|
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=boxType",
|
|
|
- props: {
|
|
|
- label: "dictValue",
|
|
|
- value: "dictValue"
|
|
|
- },
|
|
|
span: 8
|
|
|
},
|
|
|
{
|
|
@@ -937,7 +951,9 @@ export default {
|
|
|
priceTermsList: [],
|
|
|
paymentTermList: [],
|
|
|
currencyList: [],
|
|
|
- corpsattns: []
|
|
|
+ corpsattns: [],
|
|
|
+ allBoxs: [],
|
|
|
+ search: {}
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
@@ -999,6 +1015,9 @@ export default {
|
|
|
this.findObject(this.option.column, "portOfDestination").dicData =
|
|
|
res.data;
|
|
|
});
|
|
|
+ getAllBoxs().then(res => {
|
|
|
+ this.allBoxs = res.data.data;
|
|
|
+ });
|
|
|
getGoods(1, 500).then(res => {
|
|
|
this.goodsoptions = res.data.data.records;
|
|
|
});
|
|
@@ -1585,13 +1604,15 @@ export default {
|
|
|
this.onLoad(this.page);
|
|
|
},
|
|
|
searchChange(params, done) {
|
|
|
+ this.search = this.deepClone(params);
|
|
|
this.onLoad(this.page, params);
|
|
|
done();
|
|
|
},
|
|
|
//费用查询
|
|
|
onLoad(page, params = {}) {
|
|
|
+ let obj = this.deepClone(Object.assign(params, this.search));
|
|
|
this.loading = true;
|
|
|
- getGoods(page.currentPage, page.pageSize, this.treeDeptId, params)
|
|
|
+ getGoods(page.currentPage, page.pageSize, this.treeDeptId, obj)
|
|
|
.then(res => {
|
|
|
const data = res.data.data;
|
|
|
this.page.total = data.total;
|
|
@@ -1613,7 +1634,7 @@ export default {
|
|
|
cname: e.cname,
|
|
|
ename: e.ename,
|
|
|
priceCategory: e.goodsTypeName,
|
|
|
- purchaseCost:costCal(e.price,e.taxRate),
|
|
|
+ purchaseCost: costCal(e.price, e.taxRate),
|
|
|
purchaseAmount: e.purchaseAmount,
|
|
|
itemProp: null,
|
|
|
remarksOne: null,
|