|
@@ -31,6 +31,12 @@
|
|
|
<template slot-scope="{}" slot="corpIdLabel">
|
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="khEdit('KH')">客户名称:</span>
|
|
|
</template>
|
|
|
+ <template slot-scope="{}" slot="portOfLoadLabel">
|
|
|
+ <span style="color: #409EFF;cursor: pointer" @click.stop="khEdit('portOfLoad')">起运港:</span>
|
|
|
+ </template>
|
|
|
+ <template slot-scope="{}" slot="portOfDestinationLabel">
|
|
|
+ <span style="color: #409EFF;cursor: pointer" @click.stop="khEdit('portOfLoad')">目的港:</span>
|
|
|
+ </template>
|
|
|
<template slot="corpId">
|
|
|
<crop-select v-model="form.corpId" @getCorpData="getCorpData" corpType="KH"
|
|
|
:disabled="detailData.status == 1"></crop-select>
|
|
@@ -48,6 +54,13 @@
|
|
|
<template slot="belongToCorpId">
|
|
|
<crop-select v-model="form.belongToCorpId" corpType="GS" :disabled="detailData.status == 1"></crop-select>
|
|
|
</template>
|
|
|
+ <template slot="dateClause">
|
|
|
+ <el-select size="small" v-model="form.dateClause" placeholder="请选择" @change="dateClauseChange"
|
|
|
+ :disabled="detailData.status == 1" clearable>
|
|
|
+ <el-option v-for="item in dateClauseList" :key="item.id" :label="item.dictValue" :value="item.dictValue">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </template>
|
|
|
<template slot="priceTerms">
|
|
|
<el-select size="small" v-model="form.priceTerms" placeholder="请选择" @change="priceTermsChange" clearable
|
|
|
:disabled="detailData.status == 1">
|
|
@@ -134,6 +147,7 @@
|
|
|
<el-button v-if="goodsEditShow && detailData.status != 1" size="small" type="primary" @click="handleSave">
|
|
|
保存明细</el-button>
|
|
|
<el-button v-if="goodsEditShow" size="small" @click="handleClose">关闭明细</el-button>
|
|
|
+ <el-button type="info" size="small" @click="cnameData">刷新基础资料</el-button>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
<avue-form v-if="goodsEditShow" class="trading-form" v-model="goodsEditForm" :option="goodsEditOption">
|
|
@@ -156,10 +170,13 @@
|
|
|
</avue-form>
|
|
|
</el-row>
|
|
|
</template>
|
|
|
+ <template slot="codeHeader" slot-scope="{column}">
|
|
|
+ <span style="color: #409EFF;cursor: pointer" @click.stop="khEdit('cname')">{{column.label}}</span>
|
|
|
+ </template>
|
|
|
<template slot="menu" slot-scope="{ row, index }">
|
|
|
<div style="display:flex;justify-content: center;">
|
|
|
<el-button size="small" icon="el-icon-edit" type="text" @click="rowCell(row, index)"
|
|
|
- :disabled="disabled || detailData.status == 1">{{ row.$cellEdit ? "保存" : "修改" }}</el-button>
|
|
|
+ :disabled="disabled || detailData.status == 1">{{ row.$cellEdit ? "保存" : "修改" }}</el-button>
|
|
|
<el-button size="small" icon="el-icon-delete" type="text" @click="rowDel(row, index)"
|
|
|
:disabled="detailData.status == 1">删除</el-button>
|
|
|
<div v-if="!goodsEditShow"
|
|
@@ -180,26 +197,26 @@
|
|
|
<el-option v-for="(item, index) in itemtypeList" :key="index" :label="item.value" :value="item.value">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
- <span v-else>{{ row.itemType }}</span>
|
|
|
+ <span v-else>{{ row.itemType }}</span>
|
|
|
</template>
|
|
|
<template slot="ename" slot-scope="{ row, index }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.ename" size="small" placeholder="请点击右边按钮"
|
|
|
@change="editChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.ename }}</span>
|
|
|
+ <span v-else>{{ row.ename }}</span>
|
|
|
</template>
|
|
|
<template slot="itemProp" slot-scope="{ row, index }">
|
|
|
<span v-if="row.$cellEdit" style="display:flex">
|
|
|
<el-input v-model="row.itemProp" size="small" placeholder="请点击右边按钮" @change="editChange(row)"></el-input>
|
|
|
<el-button icon="el-icon-edit" size="mini" @click="openProperty(row, index)"></el-button>
|
|
|
</span>
|
|
|
- <span v-else>{{ row.itemProp }}</span>
|
|
|
+ <span v-else>{{ row.itemProp }}</span>
|
|
|
</template>
|
|
|
<template slot="itemDescription" slot-scope="{ row, index }">
|
|
|
<span v-if="row.$cellEdit" style="display:flex">
|
|
|
<el-input v-model="row.itemDescription" size="small" placeholder="请输入" @change="editChange(row)">
|
|
|
</el-input>
|
|
|
</span>
|
|
|
- <span v-else>{{ row.itemDescription }}</span>
|
|
|
+ <span v-else>{{ row.itemDescription }}</span>
|
|
|
</template>
|
|
|
<template slot="cname" slot-scope="{ row, index }">
|
|
|
<span v-if="row.$cellEdit" style="display:flex">
|
|
@@ -210,7 +227,7 @@
|
|
|
</el-select>
|
|
|
<el-button icon="el-icon-search" size="small" @click="rePick(row, index)"></el-button>
|
|
|
</span>
|
|
|
- <span v-else> {{ row.cname }}</span>
|
|
|
+ <span v-else> {{ row.cname }}</span>
|
|
|
</template>
|
|
|
<template slot="partsDescribe" slot-scope="{ row, index }">
|
|
|
<span v-if="row.$cellEdit" style="display:flex">
|
|
@@ -218,65 +235,65 @@
|
|
|
</el-input>
|
|
|
<el-button icon="el-icon-edit" size="mini" @click="partrePick(row, index)"></el-button>
|
|
|
</span>
|
|
|
- <span v-else>{{ row.partsDescribe }}</span>
|
|
|
+ <span v-else>{{ row.partsDescribe }}</span>
|
|
|
</template>
|
|
|
<template slot="priorityReferrer" slot-scope="{ row }">
|
|
|
<el-checkbox :disabled="!row.$cellEdit" v-model="row.priorityReferrer" :true-label="1" :false-label="0" />
|
|
|
</template>
|
|
|
<template slot="corpId" slot-scope="{ row }">
|
|
|
- <span>{{ row.corpName }}</span>
|
|
|
+ <span>{{ row.corpName }}</span>
|
|
|
</template>
|
|
|
<template slot="purchaseCost" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.purchaseCost" size="small" placeholder="请输入"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"></el-input>
|
|
|
- <span v-else>{{ row.purchaseCost | micrometerFormat }}</span>
|
|
|
+ <span v-else>{{ row.purchaseCost | micrometerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="purchaseAmount" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.purchaseAmount" size="small" placeholder="请输入"
|
|
|
@change="purchaseAmountChange(row)"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"></el-input>
|
|
|
- <span v-else>{{ row.purchaseAmount | micrometerFormat }}</span>
|
|
|
+ <span v-else>{{ row.purchaseAmount | micrometerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="price" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.price" size="small"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
@change="priceChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.price | micrometerFormat }}</span>
|
|
|
+ <span v-else>{{ row.price | micrometerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="amount" slot-scope="{ row }">
|
|
|
- <span>{{ row.amount | micrometerFormat }}</span>
|
|
|
+ <span>{{ row.amount | micrometerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="orderQuantity" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.orderQuantity" size="small"
|
|
|
oninput='this.value=this.value.replace(/[^(\d)]/g,"")' @change="priceChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.orderQuantity | IntegerFormat }}</span>
|
|
|
+ <span v-else>{{ row.orderQuantity | IntegerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="discount" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.discount" size="small"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
@change="discountChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.discount | isDiscount }}</span>
|
|
|
+ <span v-else>{{ row.discount | isDiscount }}</span>
|
|
|
</template>
|
|
|
<template slot="insurance" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.insurance" size="small"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
@change="priceChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.insurance | micrometerFormat }}</span>
|
|
|
+ <span v-else>{{ row.insurance | micrometerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="freight" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.freight" size="small"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
@change="priceChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.freight | micrometerFormat }}</span>
|
|
|
+ <span v-else>{{ row.freight | micrometerFormat }}</span>
|
|
|
</template>
|
|
|
<template slot="taxRate" slot-scope="{ row }">
|
|
|
<el-input v-if="row.$cellEdit" v-model="row.taxRate" size="small"
|
|
|
oninput="value=value.replace(/[^0-9.]/g,'').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
|
|
@change="taxRateChange(row)"></el-input>
|
|
|
- <span v-else>{{ row.taxRate | isPercentage }}</span>
|
|
|
+ <span v-else>{{ row.taxRate | isPercentage }}</span>
|
|
|
</template>
|
|
|
<template slot="itemMargin" slot-scope="{ row }">
|
|
|
- <span>{{ row.itemMargin | isPercentage }}</span>
|
|
|
+ <span>{{ row.itemMargin | isPercentage }}</span>
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
</trade-card>
|
|
@@ -373,6 +390,7 @@ import {
|
|
|
} from "@/util/calculate";
|
|
|
|
|
|
import _ from "lodash";
|
|
|
+import { revokeWarehousing } from "../../../api/basicData/financing";
|
|
|
export default {
|
|
|
name: "detailsPageEdit",
|
|
|
data() {
|
|
@@ -463,6 +481,7 @@ export default {
|
|
|
format: "yyyy-MM-dd",
|
|
|
valueFormat: "yyyy-MM-dd 00:00:00",
|
|
|
offset: 2,
|
|
|
+ row: true,
|
|
|
rules: [
|
|
|
{
|
|
|
required: true,
|
|
@@ -472,11 +491,27 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
+ label: "日期条款",
|
|
|
+ prop: "dateClause",
|
|
|
+ span: 6,
|
|
|
+ },
|
|
|
+ {
|
|
|
label: "日期说明",
|
|
|
prop: "dateDesc",
|
|
|
type: "textarea",
|
|
|
minRows: 1,
|
|
|
+ span: 12,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "货物类型",
|
|
|
+ prop: "cargoType",
|
|
|
span: 6,
|
|
|
+ type: "select",
|
|
|
+ dicData: [],
|
|
|
+ props: {
|
|
|
+ label: "dictValue",
|
|
|
+ value: "dictValue"
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
label: "起运港",
|
|
@@ -528,17 +563,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
- label: "订单状态",
|
|
|
- prop: "orderStatus",
|
|
|
- span: 6,
|
|
|
- type: "select",
|
|
|
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=order_status",
|
|
|
- props: {
|
|
|
- label: "dictValue",
|
|
|
- value: "dictValue"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
label: "价格条款",
|
|
|
prop: "priceTerms",
|
|
|
span: 6
|
|
@@ -557,17 +581,17 @@ export default {
|
|
|
span: 12,
|
|
|
},
|
|
|
{
|
|
|
- label: "币别",
|
|
|
- prop: "currency",
|
|
|
+ label: "订单状态",
|
|
|
+ prop: "orderStatus",
|
|
|
span: 6,
|
|
|
- rules: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: "",
|
|
|
- trigger: "blur"
|
|
|
- }
|
|
|
- ]
|
|
|
+ type: "select",
|
|
|
+ dicUrl: "/api/blade-system/dict-biz/dictionary?code=order_status",
|
|
|
+ props: {
|
|
|
+ label: "dictValue",
|
|
|
+ value: "dictValue"
|
|
|
+ }
|
|
|
},
|
|
|
+
|
|
|
{
|
|
|
label: "收款方式",
|
|
|
prop: "paymentType",
|
|
@@ -587,8 +611,8 @@ export default {
|
|
|
span: 12,
|
|
|
},
|
|
|
{
|
|
|
- label: "汇率",
|
|
|
- prop: "exchangeRate",
|
|
|
+ label: "币别",
|
|
|
+ prop: "currency",
|
|
|
span: 6,
|
|
|
rules: [
|
|
|
{
|
|
@@ -615,10 +639,20 @@ export default {
|
|
|
label: "单票毛利",
|
|
|
prop: "singleTicketMargin",
|
|
|
span: 6,
|
|
|
- row: true,
|
|
|
disabled: true
|
|
|
},
|
|
|
-
|
|
|
+ {
|
|
|
+ label: "汇率",
|
|
|
+ prop: "exchangeRate",
|
|
|
+ span: 6,
|
|
|
+ rules: [
|
|
|
+ {
|
|
|
+ required: true,
|
|
|
+ message: "",
|
|
|
+ trigger: "blur"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{
|
|
|
label: "箱型",
|
|
|
prop: "boxPile",
|
|
@@ -773,7 +807,8 @@ export default {
|
|
|
currencyList: [],
|
|
|
corpsattns: [],
|
|
|
allBoxs: [],
|
|
|
- search: {}
|
|
|
+ search: {},
|
|
|
+ dateClauseList: []
|
|
|
};
|
|
|
},
|
|
|
props: {
|
|
@@ -826,9 +861,16 @@ export default {
|
|
|
this.getWorkDicts("pricing_terms").then(res => {
|
|
|
this.priceTermsList = res.data.data;
|
|
|
});
|
|
|
+ this.getWorkDicts("date_clause").then(res => {
|
|
|
+ this.dateClauseList = res.data.data;
|
|
|
+ });
|
|
|
this.getWorkDicts("payment_term").then(res => {
|
|
|
this.paymentTermList = res.data.data;
|
|
|
});
|
|
|
+ this.getWorkDicts("cargo_type").then(res => {
|
|
|
+ this.findObject(this.option.column, "cargoType").dicData =
|
|
|
+ res.data.data;
|
|
|
+ });
|
|
|
getCode().then(res => {
|
|
|
this.currencyList = res.data.data;
|
|
|
});
|
|
@@ -885,9 +927,7 @@ export default {
|
|
|
})
|
|
|
} else {
|
|
|
this.$router.push({
|
|
|
- path: '/basicData/customerInformation/index', query: {
|
|
|
- add: "New"
|
|
|
- }
|
|
|
+ path: '/basicData/customerInformation/index',
|
|
|
})
|
|
|
}
|
|
|
} else if (staus == 'GS') {
|
|
@@ -900,11 +940,17 @@ export default {
|
|
|
})
|
|
|
} else {
|
|
|
this.$router.push({
|
|
|
- path: '/basicData/customerManagement/companyMaterial/index', query: {
|
|
|
- add: "New"
|
|
|
- }
|
|
|
+ path: '/basicData/customerManagement/companyMaterial/index'
|
|
|
})
|
|
|
}
|
|
|
+ } else if (staus == 'portOfLoad') {
|
|
|
+ this.$router.push({
|
|
|
+ path: '/basicData/customerManagement/companyMaterial/index'
|
|
|
+ })
|
|
|
+ } else if (staus == 'cname') {
|
|
|
+ this.$router.push({
|
|
|
+ path: '/basicData/commodityType/index'
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
},
|
|
@@ -1001,6 +1047,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ dateClauseChange(row) {
|
|
|
+ this.dateClauseList.forEach(e => {
|
|
|
+ if (row == e.dictValue) {
|
|
|
+ this.form.dateDesc = e.remark;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
rowCorpData(row) {
|
|
|
this.data[row.index].corpName = row.code;
|
|
|
},
|
|
@@ -1044,6 +1097,21 @@ export default {
|
|
|
this.goodsEditShow = false
|
|
|
this.goodsEditForm = this.$options.data().goodsEditForm
|
|
|
},
|
|
|
+ cnameData() {
|
|
|
+ this.goodsoptions = []
|
|
|
+ getGoods(1, 10).then(res => {
|
|
|
+ if (res.data.data.total > 0) {
|
|
|
+ this.goodsoptions = res.data.data.records;
|
|
|
+ if (Math.ceil(res.data.data.total / 10) > 1) {
|
|
|
+ for (let i = 2; i <= Math.ceil(res.data.data.total / 10); i++) {
|
|
|
+ getGoods(i, 10).then(e => {
|
|
|
+ this.goodsoptions = this.goodsoptions.concat(e.data.data.records);
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
cnameChange(row) {
|
|
|
this.goodsoptions.forEach(e => {
|
|
|
if (e.id == row.itemId) {
|
|
@@ -1219,6 +1287,11 @@ export default {
|
|
|
this.data[index].customThree = row.customThree;
|
|
|
this.data[index].customFour = row.customFour;
|
|
|
this.data[index].customFive = row.customFive;
|
|
|
+ this.data[index].customSix = row.customSix;
|
|
|
+ this.data[index].customSeven = row.customSeven;
|
|
|
+ this.data[index].customEight = row.customEight;
|
|
|
+ this.data[index].customNine = row.customNine;
|
|
|
+ this.data[index].customTen = row.customTen;
|
|
|
this.data[index].productRemark = this.getproductRemark(this.data[index])
|
|
|
},
|
|
|
partClosed() {
|
|
@@ -1400,12 +1473,18 @@ export default {
|
|
|
item.customThree = this.reData.customThree;
|
|
|
item.customFour = this.reData.customFour;
|
|
|
item.customFive = this.reData.customFive;
|
|
|
- item.partsList = this.reData.partsList;
|
|
|
+ item.customSix = this.reData.customSix;
|
|
|
+ item.customSeven = this.reData.customSeven;
|
|
|
+ item.customEight = this.reData.customEight;
|
|
|
+ item.customNine = this.reData.customNine;
|
|
|
+ item.customTen = this.reData.customTen;
|
|
|
+ item.item.partsList = this.reData.partsList;
|
|
|
item.partsPrice = this.reData.partsPrice;
|
|
|
item.itemDescription = e.cnameDescription;
|
|
|
item.itemType = this.reData.itemType;
|
|
|
item.tradeTerms = this.reData.tradeTerms;
|
|
|
item.partsDescribe = this.reData.partsDescribe;
|
|
|
+ item.attributeList = this.reData.attributeList;
|
|
|
item.purchaseCost = 0;
|
|
|
item.purchaseAmount = 0;
|
|
|
item.productPrice = productCal(
|
|
@@ -1475,6 +1554,11 @@ export default {
|
|
|
customThree: null,
|
|
|
customFour: null,
|
|
|
customFive: null,
|
|
|
+ customSix: null,
|
|
|
+ customSeven: null,
|
|
|
+ customEight: null,
|
|
|
+ customNine: null,
|
|
|
+ customTen: null,
|
|
|
itemDescription: e.cnameDescription,
|
|
|
partsList: [],
|
|
|
partsPrice: 0,
|
|
@@ -1495,12 +1579,56 @@ export default {
|
|
|
exchangeRate: this.form.exchangeRate,
|
|
|
partsDescribe: null,
|
|
|
productRemark: e.ename,
|
|
|
+ attributeList: this.getAttribute(e.goodsSpecificationList),
|
|
|
$cellEdit: true
|
|
|
});
|
|
|
+ this.importPart(this.transition(e.priceBankList), this.partsSum(this.transition(e.priceBankList)), Number(this.data.length - 1))
|
|
|
});
|
|
|
}
|
|
|
this.dialogVisible = false;
|
|
|
},
|
|
|
+ transition(rows) {
|
|
|
+ let data = []
|
|
|
+ rows.forEach(e => {
|
|
|
+ data.push({
|
|
|
+ goodId: e.itemId,
|
|
|
+ goodTypeId: e.goodTypeId,
|
|
|
+ goodTypeName: e.goodsTypeName,
|
|
|
+ ename: e.ename,
|
|
|
+ corpId: e.corpId,
|
|
|
+ corpName: e.corpName,
|
|
|
+ goodName: e.cname,
|
|
|
+ price: e.purchaseAmount,
|
|
|
+ goodNumber: 1,
|
|
|
+ amout: e.purchaseAmount,
|
|
|
+ partsCost: costCal(e.price, e.taxRate),
|
|
|
+ $cellEdit: true
|
|
|
+ })
|
|
|
+ })
|
|
|
+ return data
|
|
|
+ },
|
|
|
+ partsSum(rows) {
|
|
|
+ let qtySum = 0;
|
|
|
+ let amountSum = 0;
|
|
|
+ let amoutSum = 0;
|
|
|
+ rows.forEach(e => {
|
|
|
+ qtySum = _.add(qtySum, Number(e.goodNumber));
|
|
|
+ amountSum = _.add(amountSum, Number(e.amout));
|
|
|
+ amoutSum = Number(amountSum).toFixed(2);
|
|
|
+ });
|
|
|
+ return amoutSum
|
|
|
+ },
|
|
|
+ getAttribute(rows) {
|
|
|
+ let data = []
|
|
|
+ rows.forEach(e => {
|
|
|
+ data.push({
|
|
|
+ attributeData: JSON.parse(e.attributeData),
|
|
|
+ attributeName: e.attributeName,
|
|
|
+ attributeNo: e.attributeNo,
|
|
|
+ })
|
|
|
+ })
|
|
|
+ return JSON.stringify(data);
|
|
|
+ },
|
|
|
closeGoods() {
|
|
|
this.selectionList = [];
|
|
|
this.treeDeptId = "";
|
|
@@ -1556,6 +1684,11 @@ export default {
|
|
|
customThree: null,
|
|
|
customFour: null,
|
|
|
customFive: null,
|
|
|
+ customSix: null,
|
|
|
+ customSeven: null,
|
|
|
+ customEight: null,
|
|
|
+ customNine: null,
|
|
|
+ customTen: null,
|
|
|
corpId: e.corpId,
|
|
|
corpName: e.corpCode,
|
|
|
itemDescription: e.cnameDescription,
|
|
@@ -1972,6 +2105,10 @@ export default {
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.crud.doLayout();
|
|
|
});
|
|
|
+ this.getWorkDicts("cargo_type").then(res => {
|
|
|
+ this.findObject(this.tableOption.column, "cargoType").dicData =
|
|
|
+ res.data.data;
|
|
|
+ });
|
|
|
this.$message.success("保存成功");
|
|
|
//关闭窗口
|
|
|
this.$refs.crud.$refs.dialogColumn.columnBox = false;
|