From 558bb8daa88dc8c5d32d39e05bc50ad18ddd5879 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com>
Date: Wed, 21 Dec 2022 09:46:10 +0800
Subject: [PATCH] 12/21
---
src/views/main/BookingTemplate/addForm.vue | 165 +++++++++++-------
src/views/main/BookingTemplate/editForm.vue | 161 ++++++++++-------
src/views/main/BookingTemplate/index.vue | 63 ++++---
src/views/main/CommondbFrtlist/index.vue | 51 +-----
src/views/main/CommondbPackage/index.vue | 51 +-----
src/views/main/CommondbPortlist/index.vue | 51 +-----
src/views/main/CommondbPortloadlist/index.vue | 51 +-----
src/views/main/CommondbService/index.vue | 51 +-----
src/views/main/Customer/addForm.vue | 62 +++++++
.../main/ShippingCompanyMapping/index.vue | 32 +---
10 files changed, 336 insertions(+), 402 deletions(-)
diff --git a/src/views/main/BookingTemplate/addForm.vue b/src/views/main/BookingTemplate/addForm.vue
index d34208a..7e57ac9 100644
--- a/src/views/main/BookingTemplate/addForm.vue
+++ b/src/views/main/BookingTemplate/addForm.vue
@@ -1,23 +1,38 @@
+ @cancel="handleCancel"
+ >
-
-
+
+
-
- {{ item.name }}
+
+
+ {{ item.name }}
+
-
+
@@ -28,79 +43,97 @@
diff --git a/src/views/main/BookingTemplate/editForm.vue b/src/views/main/BookingTemplate/editForm.vue
index ebe3829..6e76f1d 100644
--- a/src/views/main/BookingTemplate/editForm.vue
+++ b/src/views/main/BookingTemplate/editForm.vue
@@ -1,24 +1,39 @@
+ @cancel="handleCancel"
+ >
-
-
-
+
+
+
-
- {{ item.name }}
+
+
+ {{ item.name }}
+
-
+
@@ -29,75 +44,93 @@
diff --git a/src/views/main/BookingTemplate/index.vue b/src/views/main/BookingTemplate/index.vue
index 9f16081..49350f4 100644
--- a/src/views/main/BookingTemplate/index.vue
+++ b/src/views/main/BookingTemplate/index.vue
@@ -1,19 +1,19 @@
-
-
-
+
+
- {{ item.name }}
+ {{ item.name }}
@@ -21,20 +21,24 @@
查询
- queryParam = {}">重置
+ (queryParam = {})">重置
-
-
+
- 新增订舱模板
-
+ 新增收发通模板
{{ showType(text) }}
@@ -68,7 +72,7 @@ export default {
queryParam: {},
columns: [
{
- title: '标题',
+ title: '代码',
align: 'center',
dataIndex: 'title'
},
@@ -97,12 +101,12 @@ export default {
title: '修改时间',
align: 'center',
dataIndex: 'updatedTime'
- },
+ }
],
tstyle: { 'padding-bottom': '0px', 'margin-bottom': '10px' },
// 加载数据方法 必须为 Promise 对象
loadData: parameter => {
- return BookingTemplatePage(Object.assign(parameter, this.queryParam)).then((res) => {
+ return BookingTemplatePage(Object.assign(parameter, this.queryParam)).then(res => {
return res.data
})
},
@@ -119,19 +123,24 @@ export default {
scopedSlots: { customRender: 'action' }
})
- this.typeData = [{
- code: 10,
- name: '收货人'
- }, {
- code: 20,
- name: '发货人'
- }, {
- code: 30,
- name: '通知人'
- }, {
- code: 40,
- name: '第二通知人'
- }]
+ this.typeData = [
+ {
+ code: 10,
+ name: '收货人'
+ },
+ {
+ code: 20,
+ name: '发货人'
+ },
+ {
+ code: 30,
+ name: '通知人'
+ },
+ {
+ code: 40,
+ name: '第二通知人'
+ }
+ ]
},
methods: {
/**
@@ -142,7 +151,7 @@ export default {
return obj
},
BookingTemplateDelete(record) {
- BookingTemplateDelete(record).then((res) => {
+ BookingTemplateDelete(record).then(res => {
if (res.success) {
this.$message.success('删除成功')
this.$refs.table.refresh()
diff --git a/src/views/main/CommondbFrtlist/index.vue b/src/views/main/CommondbFrtlist/index.vue
index 818283b..fbc0dd6 100644
--- a/src/views/main/CommondbFrtlist/index.vue
+++ b/src/views/main/CommondbFrtlist/index.vue
@@ -10,51 +10,14 @@
-
-
-
+
+
+
-
-
-
- {{ item.cnName }}
-
-
-
-
-
-
- {{ item.cnName }}
-
-
-
-
-
+
+
+
+
{{ item.name }}
diff --git a/src/views/main/CommondbPackage/index.vue b/src/views/main/CommondbPackage/index.vue
index 914f488..1657127 100644
--- a/src/views/main/CommondbPackage/index.vue
+++ b/src/views/main/CommondbPackage/index.vue
@@ -10,51 +10,14 @@
-
-
-
+
+
+
-
-
-
- {{ item.name }}
-
-
-
-
-
-
- {{ item.cnName }}
-
-
-
-
-
+
+
+
+
{{ item.name }}
diff --git a/src/views/main/CommondbPortlist/index.vue b/src/views/main/CommondbPortlist/index.vue
index 7e21633..c96a087 100644
--- a/src/views/main/CommondbPortlist/index.vue
+++ b/src/views/main/CommondbPortlist/index.vue
@@ -10,51 +10,14 @@
-
-
-
+
+
+
-
-
-
- {{ item.cnName }}
-
-
-
-
-
-
- {{ item.cnName }}
-
-
-
-
-
+
+
+
+
{{ item.name }}
diff --git a/src/views/main/CommondbPortloadlist/index.vue b/src/views/main/CommondbPortloadlist/index.vue
index 36e6a17..e60fe0e 100644
--- a/src/views/main/CommondbPortloadlist/index.vue
+++ b/src/views/main/CommondbPortloadlist/index.vue
@@ -10,51 +10,14 @@
-
-
-
+
+
+
-
-
-
- {{ item.cnName }}
-
-
-
-
-
-
- {{ item.cnName }}
-
-
-
-
-
+
+
+
+
{{ item.name }}
diff --git a/src/views/main/CommondbService/index.vue b/src/views/main/CommondbService/index.vue
index edd4cf2..1a666d1 100644
--- a/src/views/main/CommondbService/index.vue
+++ b/src/views/main/CommondbService/index.vue
@@ -10,51 +10,14 @@
-
-
-
+
+
+
-
-
-
- {{ item.name }}
-
-
-
-
-
-
- {{ item.cnName }}
-
-
-
-
-
+
+
+
+
{{ item.name }}
diff --git a/src/views/main/Customer/addForm.vue b/src/views/main/Customer/addForm.vue
index e6d144d..dc04bdd 100644
--- a/src/views/main/Customer/addForm.vue
+++ b/src/views/main/Customer/addForm.vue
@@ -104,6 +104,68 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
联系人信息
diff --git a/src/views/main/ShippingCompanyMapping/index.vue b/src/views/main/ShippingCompanyMapping/index.vue
index 040de13..96b6eec 100644
--- a/src/views/main/ShippingCompanyMapping/index.vue
+++ b/src/views/main/ShippingCompanyMapping/index.vue
@@ -10,32 +10,14 @@
-
-
-
+
+
+
-
-
-
- {{ item.cnName }}
-
-
-
-
-
+
+
+
+
{{ item.name }}