Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
EcomWeb
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zihan.wu
2025-02-11 10:47:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4809ad05f2b524a4ceae27c8fcc21d14c5592229
4809ad05
1 parent
cf6d1f44
refactor(i18n):优化国际化文案并统一字段名称- 修改了多个组件中的字段标签,如"电商企业"改为"电商企业名称","运港代码"改为"指运港代码"
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
31 deletions
src/views/editReportingData/index.vue
src/views/exportBillQuery/index.vue
src/views/logisticsExitQuery/index.vue
src/views/editReportingData/index.vue
View file @
4809ad0
...
...
@@ -17,7 +17,7 @@
>
<el-row :gutter="5">
<el-col :span="3">
<Formitem label="电商企业" prop="ebccode">
<Formitem label="电商企业
名称
" prop="ebccode">
<el-select
type="text"
id="inputInner--ebccode"
...
...
@@ -36,7 +36,7 @@
</Formitem>
</el-col>
<el-col :span="3">
<Formitem label="物流企业" prop="logisticsCode">
<Formitem label="物流企业" prop="logisticsCode">
<el-input
type="text"
class="inputShadow"
...
...
@@ -282,7 +282,7 @@
</Formitem>
</el-col>
<el-col :span="3">
<Formitem label="运港代码" prop="portCode">
<Formitem label="
指
运港代码" prop="portCode">
<el-select
type="text"
id="inputInner--portCode"
...
...
@@ -475,7 +475,7 @@
</Formitem>
</el-col>
</el-row>
</el-form>
</el-form>
</section>
<div class="fold-unfold">
<img v-if="isFold" src="@/assets/images/fold.png" @click="()=>isFold = false" alt="">
...
...
@@ -496,21 +496,21 @@
:expandRowKeys="expandRowKeys"
>
<template slot="rowDataEdit" slot-scope="props">
<RowDataEditForm
<RowDataEditForm
ref="rowEditForm"
:rowDatas="props"
:rowDatas="props"
@cancelEditRowData="cancelEditRowData"
@rowFormDataSave="rowFormDataSave"
/>
/>
</template>
<template v-slot:destinationCountryRegionCode="scope">
<span>{{ mapDicDatas($store.getters.dict.COUNTRY_REGION_CODE, scope.row.destinationCountryRegionCode) }}</span>
<span>{{ mapDicDatas($store.getters.dict.COUNTRY_REGION_CODE, scope.row.destinationCountryRegionCode) }}</span>
</template>
<template v-slot:unit="scope">
<span>{{ mapDicDatas($store.getters.dict.MEASUREMENT_UNIT, scope.row.unit) }}</span>
<span>{{ mapDicDatas($store.getters.dict.MEASUREMENT_UNIT, scope.row.unit) }}</span>
</template>
<template v-slot:currency="scope">
<span>{{ mapCurrencyDatas($store.getters.dict.CURRENCY, scope.row.currency) }}</span>
<span>{{ mapCurrencyDatas($store.getters.dict.CURRENCY, scope.row.currency) }}</span>
</template>
<template slot="optionColumn">
<el-table-column align="left" label="操作" width="100">
...
...
@@ -524,7 +524,7 @@
</section>
<div class="addNewItem">
<i class="el-icon-circle-plus-outline" @click="addNewItem"></i>
<span @click="addNewItem">添加新物品</span>
<span @click="addNewItem">添加新物品</span>
</div>
<div style="margin-top: 20px; text-align: center">
<el-button
...
...
@@ -539,7 +539,7 @@
</div>
</div>
</template>
<script>
import RowDataEditForm from "./RowDataEditForm.vue";
import { getCustomerList, getPortList, getDeclareData, updateDeclareData } from "@/api/declareData-api.js";
...
...
@@ -552,7 +552,7 @@
if (value < 0) {
callback(new Error('数值不能为负'));
} else {
callback();
callback();
}
};
var checkPackNo = (rule, value, callback) => {
...
...
@@ -625,7 +625,7 @@
{ required: true, message: '请选择运抵国', trigger: 'change' }
],
portCode: [
{ required: true, message: '请选择运港代码', trigger: 'change' }
{ required: true, message: '请选择运
指运
港代码', trigger: 'change' }
],
freight: [
{ required: true, message: '请输入运费', trigger: 'blur' },
...
...
@@ -668,8 +668,8 @@
detialHeaderData: [
{
value: "rowDataEdit",
expand:true,
width:0,
expand:true,
width:0,
},
{
name: "企业商品货号",
...
...
@@ -707,7 +707,7 @@
value: "model",
width: "",
align: "left",
},
{
name: "账册备案料号",
...
...
@@ -805,7 +805,7 @@
} else {
return ''
}
},
mapCurrencyDatas(dicArr, code){
if (code != "") {
...
...
@@ -891,20 +891,20 @@
"totalPrice": 0,
"unit": ""
})
this.$nextTick(()=>{
this.$nextTick(()=>{
this.expandRowKeys = [orderNum]
})
},
updateRow(row){
if (this.expandRowKeys.length > 0) return
this.expandRowKeys = [row.gnum]
let obj = {}
this.expandRowKeys = [row.gnum]
let obj = {}
for (let key in row) {
obj[key] = row[key]
}
this.$nextTick(()=>{
this.$refs.rowEditForm.tableRowformData = obj
this.$nextTick(()=>{
this.$refs.rowEditForm.tableRowformData = obj
// const table = this.$refs.entryTable.$el.querySelector('.el-table__body-wrapper');
// table.scrollTop = row.gnum*51+10
})
...
...
@@ -976,7 +976,7 @@
},
};
</script>
<style scoped lang="scss">
.entry {
width: 100%;
...
...
@@ -984,12 +984,12 @@
padding: 10px;
background-color: #fff;
overflow: auto;
.entryInformation {
width: 100%;
height: 100%;
}
.entryTitle {
display: flex;
justify-content: space-between;
...
...
@@ -998,7 +998,7 @@
color: #000;
margin-bottom: 10px;
}
.titleBorder {
border-bottom: 1px solid #333;
}
...
...
@@ -1048,4 +1048,3 @@
}
}
</style>
\ No newline at end of file
...
...
src/views/exportBillQuery/index.vue
View file @
4809ad0
...
...
@@ -211,7 +211,7 @@ export default {
align: "left",
},
{
name: "电商企业",
name: "电商企业
名称
",
value: "ebcname",
width: "",
align: "left",
...
...
src/views/logisticsExitQuery/index.vue
View file @
4809ad0
...
...
@@ -48,7 +48,7 @@
</el-col>
<!-- 运单号 -->
<el-col :span="5">
<Formitem label="运单编号" prop="logisticsWaybillNumber">
<Formitem label="
物流
运单编号" prop="logisticsWaybillNumber">
<FormTextareaInput
:formData="sreachFormData"
dataKey="logisticsWaybillNumber"
...
...
Please
register
or
login
to post a comment