Przeglądaj źródła

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-pc

mxx 4 lat temu
rodzic
commit
cbb193aa40

+ 0 - 0
public/logo.ico → public/img/logo.ico


+ 2 - 2
public/index.html

@@ -8,13 +8,13 @@
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
   <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
   <!-- 强制Chromium内核,作用于360浏览器、QQ浏览器等国产双核浏览器 -->
   <!-- 强制Chromium内核,作用于360浏览器、QQ浏览器等国产双核浏览器 -->
   <meta name="renderer" content="webkit" />
   <meta name="renderer" content="webkit" />
-
+  <link rel="icon" href="<%= BASE_URL %>logo.ico">
   <!-- 强制Chromium内核,作用于其他双核浏览器 -->
   <!-- 强制Chromium内核,作用于其他双核浏览器 -->
   <meta name="force-rendering" content="webkit" />
   <meta name="force-rendering" content="webkit" />
 
 
   <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
   <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核,否则强制本机支持的最高版本IE内核,作用于IE浏览器 -->
   <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
   <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
-  <!-- <link rel="manifest" href="<%= BASE_URL %>/manifest.json" /> -->
+  <link rel="manifest" href="<%= BASE_URL %>/manifest.json" />
   <link rel="icon" href="<%= BASE_URL %>logo.ico">
   <link rel="icon" href="<%= BASE_URL %>logo.ico">
   <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
   <% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV]) { %>
       <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">
       <link href="<%= htmlWebpackPlugin.options.cdn.css[process.env.VUE_APP_PACKAGE_ENV][i] %>" rel="stylesheet">

+ 4 - 4
public/manifest.json

@@ -3,13 +3,13 @@
   "short_name": "Winsea",
   "short_name": "Winsea",
   "icons": [
   "icons": [
     {
     {
-      "src": "/img/icons/winseaLogo_16x16.png",
-      "type": "image/png",
+      "src": "/img/logo.ico",
+      "type": "image/x-icon",
       "sizes": "16x16"
       "sizes": "16x16"
     },
     },
     {
     {
-      "src": "/img/icons/winseaLogo_144x144.png",
-      "type": "image/png",
+      "src": "/img/logo.ico",
+      "type": "image/x-icon",
       "sizes": "144x144"
       "sizes": "144x144"
     }
     }
   ],
   ],

BIN
public/winseaLogo.ico


+ 3 - 2
src/views/taskManagement/component/routers/route.js

@@ -85,7 +85,8 @@ const tranManagementRouter = {
         title: 'moveWarehouseTask',
         title: 'moveWarehouseTask',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
         module: 'tranManagement.tranManagementDriver.moveWarehouseTask',
         module: 'tranManagement.tranManagementDriver.moveWarehouseTask',
-      }
+      },
+      hidden: true,
     },
     },
     //移库查看
     //移库查看
     {
     {
@@ -96,7 +97,7 @@ const tranManagementRouter = {
       meta: {
       meta: {
         title: 'moveWarehouseTaskLook',
         title: 'moveWarehouseTaskLook',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
-        module: 'tranManagement.tranManagementDriver.moveWarehouseTaskLook',
+        module: 'warehouseManagement.warehouse.warehouseInfoTask.view',
       },
       },
       hidden: true
       hidden: true
     },
     },

+ 4 - 32
src/views/taskManagement/tranManagementTransport.vue

@@ -52,7 +52,7 @@
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="gainList.records"
         :data="gainList.records"
-        style="width: 100%; margin-top: 20px"
+        style="width: 100%; "
         height="780"
         height="780"
       >
       >
         <el-table-column type="index" label="序号">
         <el-table-column type="index" label="序号">
@@ -438,39 +438,11 @@ export default {
     handleCloe() {
     handleCloe() {
       this.dialogViewSpareMoney = false
       this.dialogViewSpareMoney = false
     },
     },
-    history(row) {
-      billoperatehis({ id: row.id })
-        .toPromise()
-        .then(response => {
-          this.historyList = response
-        })
-    },
+
     find() {
     find() {
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       this.getList()
     },
     },
-    async exportlist() {
-      const { data } = await export1(
-        {
-          compId: sessionStorage.getItem('ws-pf_compId'),
-          contractType: this.contractType,
-          currentPage: this.currentPage,
-          pageSize: this.pageSize,
-          searchType: this.searchType,
-          searchKeyWord: this.searchKeyWord,
-          startDate: this.startDate,
-          endDate: this.endDate
-        },
-        {},
-        { responseType: 'blob' }
-      ).toPromise()
-      downloadFile({
-        res: data,
-        fileName: `${this.date.year +
-          (this.date.month ? `-${this.date.month}` : '')}_采购合同`,
-        type: 'xls'
-      })
-    }
   }
   }
 }
 }
 </script>
 </script>
@@ -594,12 +566,12 @@ export default {
 }
 }
 /deep/.el-row {
 /deep/.el-row {
     -webkit-box-sizing: border-box;
     -webkit-box-sizing: border-box;
-    height: 60px;
+    height: 50px;
     box-sizing: border-box;
     box-sizing: border-box;
 }
 }
 /deep/.el-col-12 {
 /deep/.el-col-12 {
     width: 50%;
     width: 50%;
-    height: 60px;
+    height: 50px;
 }
 }
 .el-button--primary {
 .el-button--primary {
     background-color: #5878e8;
     background-color: #5878e8;

+ 186 - 115
src/views/taskManagement/tranManagementWarehouseInOutTask.vue

@@ -1,62 +1,89 @@
 <!--出入库任务-->
 <!--出入库任务-->
 <template>
 <template>
   <div class="container">
   <div class="container">
-    <div class="nav">
-      <ws-button
-        class="butt"
-        type="primary"
-        @click="handleAdd()"
-        v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.add`
+    <BaseHeaderLayout :leftSpan="14">
+      <template slot="left">
+        <ws-button
+          type="primary"
+          @click="handleAdd()"
+          v-hasPermission="
+            `warehouseManagement.warehouse.warehouseInfoTask.add`
           "
           "
-      >
-        <img
-          width="13"
-          height="13"
-          style="
+        >
+          <img
+            width="13"
+            height="13"
+            style="
               vertical-align: text-top;
               vertical-align: text-top;
               position: relative;
               position: relative;
               top: 2px;
               top: 2px;
               left: -4px;
               left: -4px;
             "
             "
-          src="../../../public/img/header-add.png"
-          alt
-        />添加
-      </ws-button>
-      <ws-button class="but" :type="primary == 1 ? 'primary' : ''" @click="handlestatus(1)">待审核</ws-button>
-      <ws-button class="but" :type="primary == 2 ? 'primary' : ''" @click="handlestatus(2)">已驳回</ws-button>
-      <ws-button class="but" :type="primary == 3 ? 'primary' : ''" @click="handlestatus(3)">执行中</ws-button>
-      <ws-button class="but" :type="primary == 4 ? 'primary' : ''" @click="handlestatus(4)">已完成</ws-button>
-      <ws-button class="but" :type="primary == 5 ? 'primary' : ''" @click="handlestatus('')">全部任务</ws-button>
-      <ws-input
-        v-model="warehouseName"
-        placeholder="可按合同编号或任务编号查找"
-        clearable
-        maxlength="500"
-        type="input"
-        class="Value"
-      ></ws-input>
-      <ws-button class="find" type="primary" @click="lookUp()">
-        <img
-          width="16"
-          height="16"
-          style="
-                vertical-align: text-top;
-                position: relative;
-                top: 0px;
-                left: -1px;
-              "
-          src="../../../public/img/sousuo.png"
-          alt
-        />
-      </ws-button>
-    </div>
+            src="../../../public/img/header-add.png"
+            alt
+          />添加
+        </ws-button>
+        <ws-button
+          class="but"
+          :type="primary == 1 ? 'primary' : ''"
+          @click="handlestatus(1)"
+          >待审核</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 2 ? 'primary' : ''"
+          @click="handlestatus(2)"
+          >已驳回</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 3 ? 'primary' : ''"
+          @click="handlestatus(3)"
+          >执行中</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 4 ? 'primary' : ''"
+          @click="handlestatus(4)"
+          >已完成</ws-button
+        >
+        <ws-button
+          class="but"
+          :type="primary == 5 ? 'primary' : ''"
+          @click="handlestatus('')"
+          >全部任务</ws-button
+        >
+      </template>
+      <template slot="right">
+        <ws-input
+          v-model="warehouseName"
+          placeholder="可按合同编号或任务编号查找"
+          clearable
+          maxlength="500"
+          type="input"
+        ></ws-input>
+        <ws-button class="find" type="primary" @click="lookUp()">
+          <img
+            width="16"
+            height="16"
+            style="
+              vertical-align: text-top;
+              position: relative;
+              top: 0px;
+              left: -1px;
+            "
+            src="../../../public/img/sousuo.png"
+            alt
+          />
+        </ws-button>
+      </template>
+    </BaseHeaderLayout>
     <div class="navv">
     <div class="navv">
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="gainList.records"
         :data="gainList.records"
         style="width: 100%; margin-top: 20px"
         style="width: 100%; margin-top: 20px"
-        height="650"
+        height="780"
       >
       >
         <el-table-column type="index" label="序号">
         <el-table-column type="index" label="序号">
           <template scope="scope">
           <template scope="scope">
@@ -64,14 +91,42 @@
             <span v-else>{{ scope.$index + 1 }}</span>
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="contractNo" label="合同编号" width="80"></el-table-column>
+        <el-table-column
+          prop="contractNo"
+          label="合同编号"
+          width="80"
+        ></el-table-column>
         <el-table-column prop="inOutTaskNo" label="任务编号"></el-table-column>
         <el-table-column prop="inOutTaskNo" label="任务编号"></el-table-column>
-        <el-table-column prop="warehouseName" class="table_td" label="库房名"></el-table-column>
-        <el-table-column prop="inOutType" class="table_td" label="出入库类型"></el-table-column>
-        <el-table-column prop="goodsName" class="table_td" label="货名"></el-table-column>
-        <el-table-column prop="weight" class="table_td" label="重量(吨)"></el-table-column>
-        <el-table-column prop="predictDate" class="table_td" label="预计日期"></el-table-column>
-        <el-table-column prop="publisher" class="table_td" label="发布者"></el-table-column>
+        <el-table-column
+          prop="warehouseName"
+          class="table_td"
+          label="库房名"
+        ></el-table-column>
+        <el-table-column
+          prop="inOutType"
+          class="table_td"
+          label="出入库类型"
+        ></el-table-column>
+        <el-table-column
+          prop="goodsName"
+          class="table_td"
+          label="货名"
+        ></el-table-column>
+        <el-table-column
+          prop="weight"
+          class="table_td"
+          label="重量(吨)"
+        ></el-table-column>
+        <el-table-column
+          prop="predictDate"
+          class="table_td"
+          label="预计日期"
+        ></el-table-column>
+        <el-table-column
+          prop="publisher"
+          class="table_td"
+          label="发布者"
+        ></el-table-column>
         <el-table-column prop="taskStatus" label="状态">
         <el-table-column prop="taskStatus" label="状态">
           <template slot-scope="scope">
           <template slot-scope="scope">
             <el-popover
             <el-popover
@@ -83,19 +138,33 @@
             >
             >
               <template>
               <template>
                 <span slot="reference">
                 <span slot="reference">
-                  <span v-if="scope.row.taskStatus == '待审核'" class="executory"></span>
-                  <span v-if="scope.row.taskStatus == '执行中'" class="inExecution"></span>
-                  <span v-if="scope.row.taskStatus == '已完成'" class="done"></span>
+                  <span
+                    v-if="scope.row.taskStatus == '待审核'"
+                    class="executory"
+                  ></span>
+                  <span
+                    v-if="scope.row.taskStatus == '执行中'"
+                    class="inExecution"
+                  ></span>
+                  <span
+                    v-if="scope.row.taskStatus == '已完成'"
+                    class="done"
+                  ></span>
                   {{ scope.row.taskStatus }}
                   {{ scope.row.taskStatus }}
                 </span>
                 </span>
               </template>
               </template>
               <div>
               <div>
                 <p style="margin-top: 0; padding-left: 10px">操作历史</p>
                 <p style="margin-top: 0; padding-left: 10px">操作历史</p>
                 <div v-for="(item, index) in historyList" class="flex">
                 <div v-for="(item, index) in historyList" class="flex">
-                  <div class="vertical-text vertical-text-left">{{ item.updateDate }}</div>
+                  <div class="vertical-text vertical-text-left">
+                    {{ item.updateDate }}
+                  </div>
                   <div>
                   <div>
                     <div class="vertical-circle"></div>
                     <div class="vertical-circle"></div>
-                    <div v-if="index != historyList.length - 1" class="vertical-line"></div>
+                    <div
+                      v-if="index != historyList.length - 1"
+                      class="vertical-line"
+                    ></div>
                   </div>
                   </div>
                   <div class="vertical-text">
                   <div class="vertical-text">
                     {{ item.operateUser }}
                     {{ item.operateUser }}
@@ -115,46 +184,58 @@
             />
             />
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="establishDate" class="table_td" label="创建时间"></el-table-column>
+        <el-table-column
+          prop="establishDate"
+          class="table_td"
+          label="创建时间"
+        ></el-table-column>
         <el-table-column prop="seller" label="操作" width="300">
         <el-table-column prop="seller" label="操作" width="300">
           <template slot-scope="scope">
           <template slot-scope="scope">
             <div
             <div
               class="record"
               class="record"
               @click="nocomplete(scope.row)"
               @click="nocomplete(scope.row)"
               v-hasPermission="
               v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.view`
-          "
-            >查看</div>
+                `warehouseManagement.warehouse.warehouseInfoTask.view`
+              "
+            >
+              查看
+            </div>
             <div
             <div
               v-hasPermission="
               v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.audit`
-          "
+                `warehouseManagement.warehouse.warehouseInfoTask.audit`
+              "
               v-if="scope.row.taskStatus == '待审核'"
               v-if="scope.row.taskStatus == '待审核'"
               class="adjustment"
               class="adjustment"
               @click="delivery(scope.row)"
               @click="delivery(scope.row)"
-            >审核</div>
+            >
+              审核
+            </div>
             <div
             <div
               v-hasPermission="
               v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.edit`
-          "
+                `warehouseManagement.warehouse.warehouseInfoTask.edit`
+              "
               v-if="
               v-if="
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '已驳回'
                 scope.row.taskStatus == '已驳回'
               "
               "
               class="record"
               class="record"
               @click="delivery(scope.row)"
               @click="delivery(scope.row)"
-            >编辑</div>
+            >
+              编辑
+            </div>
             <div
             <div
               v-hasPermission="
               v-hasPermission="
-           `warehouseManagement.warehouse.warehouseInfoTask.delete`
-          "
+                `warehouseManagement.warehouse.warehouseInfoTask.delete`
+              "
               v-if="
               v-if="
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '执行中' ||
                 scope.row.taskStatus == '已驳回'
                 scope.row.taskStatus == '已驳回'
               "
               "
               class="adjustment"
               class="adjustment"
               @click="deleteclick(scope.row)"
               @click="deleteclick(scope.row)"
-            >删除</div>
+            >
+              删除
+            </div>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
       </el-table>
       </el-table>
@@ -179,7 +260,7 @@ export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
     WsUpload,
     WsUpload,
-    Pagination
+    Pagination,
   },
   },
   watch: {
   watch: {
     vesselId(val) {
     vesselId(val) {
@@ -187,7 +268,7 @@ export default {
     },
     },
     isShow(val) {
     isShow(val) {
       this.showType = val
       this.showType = val
-    }
+    },
   },
   },
   data() {
   data() {
     return {
     return {
@@ -221,11 +302,11 @@ export default {
       deptCircularPage: {},
       deptCircularPage: {},
       historyList: [],
       historyList: [],
       pickerBeginDateBefore: {
       pickerBeginDateBefore: {
-        disabledDate: time => {
+        disabledDate: (time) => {
           return time.getTime() > Date.now()
           return time.getTime() > Date.now()
-        }
+        },
       },
       },
-      accessoryTFs: false
+      accessoryTFs: false,
     }
     }
   },
   },
   activated() {
   activated() {
@@ -256,17 +337,17 @@ export default {
       this.$confirm(text, {
       this.$confirm(text, {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',
-        type: 'warning'
+        type: 'warning',
       })
       })
         .then(() => {
         .then(() => {
           console.log(row)
           console.log(row)
           outdelete({
           outdelete({
             id: row.id,
             id: row.id,
             relevanceId: row.relevanceId,
             relevanceId: row.relevanceId,
-            inOutFlag: row.inOutFlag
+            inOutFlag: row.inOutFlag,
           })
           })
             .toPromise()
             .toPromise()
-            .then(response => {
+            .then((response) => {
               this.getList()
               this.getList()
             })
             })
         })
         })
@@ -280,10 +361,10 @@ export default {
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         searchType: this.searchType,
         searchType: this.searchType,
-        searchKeyWord: this.searchKeyWord
+        searchKeyWord: this.searchKeyWord,
       })
       })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then((response) => {
           console.log(response)
           console.log(response)
           this.gainList = response
           this.gainList = response
           this.currentPage = response.current
           this.currentPage = response.current
@@ -311,8 +392,8 @@ export default {
       this.$router.push({
       this.$router.push({
         path: 'tranManagementWarehouseInOutTaskEdit',
         path: 'tranManagementWarehouseInOutTaskEdit',
         query: {
         query: {
-          relevanceId: item.relevanceId
-        }
+          relevanceId: item.relevanceId,
+        },
       })
       })
     },
     },
 
 
@@ -352,8 +433,8 @@ export default {
       this.$router.push({
       this.$router.push({
         path: 'inOutWarehouseTaskEdit',
         path: 'inOutWarehouseTaskEdit',
         query: {
         query: {
-          relevanceId: row.relevanceId
-        }
+          relevanceId: row.relevanceId,
+        },
       })
       })
     },
     },
     dateFormat(fmt, date) {
     dateFormat(fmt, date) {
@@ -362,7 +443,7 @@ export default {
         'Y+': date.getFullYear().toString(), // 年
         'Y+': date.getFullYear().toString(), // 年
         'm+': (date.getMonth() + 1).toString(), // 月
         'm+': (date.getMonth() + 1).toString(), // 月
         'd+': date.getDate().toString(), // 日
         'd+': date.getDate().toString(), // 日
-        'H+': date.getHours().toString() // 时
+        'H+': date.getHours().toString(), // 时
         // "M+": date.getMinutes().toString(),         // 分
         // "M+": date.getMinutes().toString(),         // 分
         // "S+": date.getSeconds().toString()          // 秒
         // "S+": date.getSeconds().toString()          // 秒
         // 有其他格式化字符需求可以继续添加,必须转化成字符串
         // 有其他格式化字符需求可以继续添加,必须转化成字符串
@@ -402,19 +483,19 @@ export default {
       this.$confirm(`是否将状态改为${status}`, {
       this.$confirm(`是否将状态改为${status}`, {
         confirmButtonText: '确定',
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         cancelButtonText: '取消',
-        type: 'warning'
+        type: 'warning',
       })
       })
         .then(() => {
         .then(() => {
           editstatus({ id: row.id })
           editstatus({ id: row.id })
             .toPromise()
             .toPromise()
-            .then(response => {
+            .then((response) => {
               this.$notify.success({
               this.$notify.success({
                 title: '成功',
                 title: '成功',
-                message: '状态修改成功'
+                message: '状态修改成功',
               })
               })
               this.getList()
               this.getList()
             })
             })
-            .catch(response => {
+            .catch((response) => {
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
               // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
             })
             })
         })
         })
@@ -432,7 +513,7 @@ export default {
     handleExamine(row) {
     handleExamine(row) {
       this.$router.push({
       this.$router.push({
         name: 'salesContractExamine',
         name: 'salesContractExamine',
-        query: { id: row.id }
+        query: { id: row.id },
       })
       })
     },
     },
     // 关闭 dialog时 处理文件url 初始化upload组件
     // 关闭 dialog时 处理文件url 初始化upload组件
@@ -442,7 +523,7 @@ export default {
     history(row) {
     history(row) {
       billoperatehis({ id: row.id })
       billoperatehis({ id: row.id })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then((response) => {
           this.historyList = response
           this.historyList = response
         })
         })
     },
     },
@@ -460,19 +541,20 @@ export default {
           searchType: this.searchType,
           searchType: this.searchType,
           searchKeyWord: this.searchKeyWord,
           searchKeyWord: this.searchKeyWord,
           startDate: this.startDate,
           startDate: this.startDate,
-          endDate: this.endDate
+          endDate: this.endDate,
         },
         },
         {},
         {},
         { responseType: 'blob' }
         { responseType: 'blob' }
       ).toPromise()
       ).toPromise()
       downloadFile({
       downloadFile({
         res: data,
         res: data,
-        fileName: `${this.date.year +
-          (this.date.month ? `-${this.date.month}` : '')}_采购合同`,
-        type: 'xls'
+        fileName: `${
+          this.date.year + (this.date.month ? `-${this.date.month}` : '')
+        }_采购合同`,
+        type: 'xls',
       })
       })
-    }
-  }
+    },
+  },
 }
 }
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
@@ -540,27 +622,16 @@ export default {
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
 .el-row {
 .el-row {
-  height: 80px;
-}
-.base_header_layout .grid-content {
-  margin-top: 80px;
-}
-.but {
-  margin-left: 55px;
-  margin-top: 30px;
+  height: 50px;
 }
 }
+
 .findValue {
 .findValue {
   width: 0%;
   width: 0%;
   margin-left: 25%;
   margin-left: 25%;
 }
 }
-
 .search {
 .search {
   margin-left: -250px;
   margin-left: -250px;
 }
 }
-.butt {
-  margin-left: 6px;
-  margin-top: 20px;
-}
 .Value {
 .Value {
   width: 300px;
   width: 300px;
   margin-left: 766px;
   margin-left: 766px;
@@ -573,11 +644,11 @@ export default {
   background: #e8ecf6;
   background: #e8ecf6;
   box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
   box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
 }
 }
-.nav {
-  background: white;
-  height: 60px;
-  margin-top: -20px
-}
+// .nav {
+//   background: white;
+//   height: 60px;
+//   margin-top: -20px;
+// }
 .navv {
 .navv {
   background: #ffffff;
   background: #ffffff;
   border-radius: 4px;
   border-radius: 4px;

+ 5 - 7
src/views/tranManagement/tranManagementReceivingFeedback.vue

@@ -64,7 +64,7 @@
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" prop="processNo" label="运输任务编号">
         <el-table-column class="table_td" prop="processNo" label="运输任务编号">
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="tranType" label="运输方式" width="80">
+        <el-table-column prop="tranType" label="运输方式">
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" prop="goodsName" label="货名">
         <el-table-column class="table_td" prop="goodsName" label="货名">
 
 
@@ -72,10 +72,10 @@
         <el-table-column class="table_td" label="重量(吨)" prop="weight">
         <el-table-column class="table_td" label="重量(吨)" prop="weight">
          
          
         </el-table-column>
         </el-table-column>
-        <el-table-column class="table_td" label="发货" prop="send">
+        <el-table-column class="table_td" label="发货" prop="send" width="240">
           
           
         </el-table-column>
         </el-table-column>
-        <el-table-column class="table_td" label="收货" prop="receive">
+        <el-table-column class="table_td" label="收货" prop="receive" width="240">
           
           
         </el-table-column>
         </el-table-column>
         <el-table-column class="table_td" label="运输周期" prop="tranCycle">
         <el-table-column class="table_td" label="运输周期" prop="tranCycle">
@@ -517,14 +517,12 @@ export default {
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
 .el-row{
 .el-row{
-    height: 150px;
+    height: 60px;
 }
 }
 .base_header_layout .grid-content{
 .base_header_layout .grid-content{
     margin-top: 80px;
     margin-top: 80px;
 }
 }
-.but{
-    margin-left: 6px;
-}
+
 .el-input--small .el-input__inner{
 .el-input--small .el-input__inner{
     margin-left: 20px;
     margin-left: 20px;
 }
 }

+ 5 - 7
src/views/tranManagement/tranManagementShipping.vue

@@ -3,9 +3,9 @@
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
-        <ws-button class="but" @click="statusquery(1)"> 执行中</ws-button>
-        <ws-button class="but" @click="statusquery(2)">已完成</ws-button>
-        <ws-button class="but" @click="statusquery()">全部任务</ws-button>
+        <ws-button class="but" :type="searchType == 1 ?'primary':''"  @click="statusquery(1)"> 执行中</ws-button>
+        <ws-button class="but" :type="searchType == 2 ?'primary':''"  @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but" :type="searchType == undefined ?'primary':''"  @click="statusquery()">全部任务</ws-button>
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
@@ -506,14 +506,12 @@ export default {
   background: #e9ecf7;
   background: #e9ecf7;
 }
 }
 .el-row {
 .el-row {
-  height: 150px;
+  height: 60px;
 }
 }
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-.but {
-  margin-left: 6px;
-}
+
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }

+ 157 - 263
src/views/tranManagement/tranManagementShippingLook.vue

@@ -6,7 +6,12 @@
         <h2 class="bg-left title">船运调度详情</h2>
         <h2 class="bg-left title">船运调度详情</h2>
       </el-col>
       </el-col>
       <el-col :span="4" class="bg-right">
       <el-col :span="4" class="bg-right">
-        <el-button class="bg-bottom" type="primary" size="small" @click="revert()">
+        <el-button
+          class="bg-bottom"
+          type="primary"
+          size="small"
+          @click="revert()"
+        >
           <img
           <img
             width="6"
             width="6"
             height="10"
             height="10"
@@ -20,225 +25,141 @@
     <div class="center">
     <div class="center">
       <ws-form ref="deptBudgetList" :model="deptBudgetList">
       <ws-form ref="deptBudgetList" :model="deptBudgetList">
         <div class="basicInformation">
         <div class="basicInformation">
-          <h2>任务编号</h2>
+          <div class="small-title">任务详情</div>
           <ws-info-table>
           <ws-info-table>
             <!-- 任务编号 -->
             <!-- 任务编号 -->
             <ws-form-item label="任务编号" span="1" prop="processNo">
             <ws-form-item label="任务编号" span="1" prop="processNo">
-              <!-- <ws-input
-              v-model="deptBudgetList.processNo" 
-              placeholder="请输入任务编号"
-              maxlength="20"
-              size="small"
-              />-->
-              {{deptBudgetList.processNo}}
+              {{ deptBudgetList.processNo }}
             </ws-form-item>
             </ws-form-item>
             <!-- 货名 -->
             <!-- 货名 -->
             <ws-form-item label="货名" span="1" prop="goodsName">
             <ws-form-item label="货名" span="1" prop="goodsName">
-              <!-- <ws-input
-              v-model="deptBudgetList.goodsName"
-              placeholder="请输入货名"
-              maxlength="20"
-              size="small"
-              />-->
-              {{deptBudgetList.goodsName}}
+              {{ deptBudgetList.goodsName }}
             </ws-form-item>
             </ws-form-item>
             <!--重量(吨)-->
             <!--重量(吨)-->
-            <ws-form-item label="重量(吨)" span="1" prop="weight" class="readonly">
-              <!-- <ws-input
-              v-model="deptBudgetList.weight"
-              placeholder="请输入重重"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.weight}}
+            <ws-form-item
+              label="重量(吨)"
+              span="1"
+              prop="weight"
+              class="readonly"
+            >
+              {{ deptBudgetList.weight }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--发货地址-->
             <!--发货地址-->
             <ws-form-item label="发货地址" span="1">
             <ws-form-item label="发货地址" span="1">
-              <!-- <ws-input
-              readonly="readonly"
-              v-model="deptBudgetList.sendDetailedAddress"
-              placeholder=""
-              maxlength="120"
-              size="small"
-              />-->
-              {{deptBudgetList.sendPrivate}}{{deptBudgetList.sendCity}}{{deptBudgetList.sendArea}}
+              {{ deptBudgetList.sendPrivate }}{{ deptBudgetList.sendCity
+              }}{{ deptBudgetList.sendArea }}
             </ws-form-item>
             </ws-form-item>
             <!--发货人-->
             <!--发货人-->
             <ws-form-item label="发货人" span="1" prop="sender">
             <ws-form-item label="发货人" span="1" prop="sender">
-              <!-- <ws-input
-              v-model="deptBudgetList.sender"
-              placeholder="请输入发货人姓名"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.sender}}
+              {{ deptBudgetList.sender }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--发货人电话-->
             <!--发货人电话-->
             <ws-form-item label="发货人电话" span="1" prop="senderPhone">
             <ws-form-item label="发货人电话" span="1" prop="senderPhone">
-              <!-- <ws-input
-              v-model="deptBudgetList.senderPhone"
-              placeholder="请输入发货人电话"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.senderPhone}}
+              {{ deptBudgetList.senderPhone }}
             </ws-form-item>
             </ws-form-item>
             <!--收货地址-->
             <!--收货地址-->
-            <ws-form-item label="收货地址" span="1" prop="receiveDetailedAddress">
-              <!-- <el-cascader
-            v-model="deptBudgetList.receiveDetailedAddress"
-            clearable
-            size="large"
-            placeholder="请选择发货地址"
-            style="width: 200%"
-              />-->
-              {{deptBudgetList.receivePrivate}}{{deptBudgetList.receiveCity}}{{deptBudgetList.receiveArea}}
+            <ws-form-item
+              label="收货地址"
+              span="1"
+              prop="receiveDetailedAddress"
+            >
+              {{ deptBudgetList.receivePrivate }}{{ deptBudgetList.receiveCity
+              }}{{ deptBudgetList.receiveArea }}
             </ws-form-item>
             </ws-form-item>
             <!--收货人-->
             <!--收货人-->
             <ws-form-item label="收货人" span="1" prop="receiver">
             <ws-form-item label="收货人" span="1" prop="receiver">
-              <!-- <ws-input
-              v-model="deptBudgetList.receiver"
-              placeholder="请输入发货人"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.receiver}}
+              {{ deptBudgetList.receiver }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--收货人电话-->
             <!--收货人电话-->
             <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
             <ws-form-item label="收货人电话" span="1" prop="receiverPhone">
-              <!-- <ws-input
-              v-model="deptBudgetList.receiverPhone"
-              placeholder="请输入收货人电话"
-              maxlength="100"
-              size="small"
-              />-->
-              {{deptBudgetList.receiverPhone}}
+              {{ deptBudgetList.receiverPhone }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--发船日期-->
             <!--发船日期-->
             <ws-form-item label="发船日期" span="1" prop="deliveryDateStart">
             <ws-form-item label="发船日期" span="1" prop="deliveryDateStart">
-              <!-- <ws-input
-            v-model="deptBudgetList.deliveryDateStart"
-            placeholder=""
-            maxlength="20"
-            size="small"
-              />-->
-              {{deptBudgetList.deliveryDateStart}}
+              {{ deptBudgetList.deliveryDateStart }}
             </ws-form-item>
             </ws-form-item>
 
 
             <!--最晚发货日期-->
             <!--最晚发货日期-->
             <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
             <ws-form-item label="最晚到货日期" span="1" prop="deliveryDateEnd">
-              <!-- <ws-input
-            v-model="deptBudgetList.deliveryDateEnd"
-            placeholder=""
-            maxlength="20"
-            size="small"
-              />-->
-              {{deptBudgetList.deliveryDateEnd}}
+              {{ deptBudgetList.deliveryDateEnd }}
             </ws-form-item>
             </ws-form-item>
             <!--合同编号-->
             <!--合同编号-->
             <ws-form-item label="合同编号" span="1" prop="contractNo">
             <ws-form-item label="合同编号" span="1" prop="contractNo">
-              <!-- <ws-input
-            v-model="deptBudgetList.contractNo"
-            placeholder="请输入合同编号"
-            maxlength="20"
-            size="small"
-              />-->
-              {{deptBudgetList.contractNo}}
+              {{ deptBudgetList.contractNo }}
             </ws-form-item>
             </ws-form-item>
           </ws-info-table>
           </ws-info-table>
           <div class="small-title">联络员及航次</div>
           <div class="small-title">联络员及航次</div>
-          <div class="aa">
-            <div class="small-title">航次信息</div>
-            <div
-              style="width: 100%"
-              class="flex position"
-              v-for="(item, index) in deptBudgetList.tranCarInfoList"
-            >
-              <ws-info-table>
-                <!-- 姓名 -->
-                <ws-form-item label="姓名" span="1" prop="driver" class="siji">
-                  <!-- <ws-input
-                  v-model="item.driver"
-                  placeholder="请选择联络员"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.driver}}
-                </ws-form-item>
-                <!-- 电话 -->
-                <ws-form-item label="电话" span="1" prop="driverPhone" class="siji">
-                  <!-- <ws-input
-                  v-model="item.driverPhone"
-                  placeholder="联络员电话"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.driverPhone}}
-                </ws-form-item>
-                <!--发船日期-->
-                <ws-form-item label="发船日期" span="1" prop="sendDateStart" class="siji">
-                  <!-- <ws-input
-                  v-model="item.sendDateStart"
-                  placeholder="请选择日期"
-                  ></ws-input>-->
-                  {{item.sendDateStart}}
-                </ws-form-item>
-                <ws-form-item label="预计到港日期" span="1" prop="receiveDateEnd" class="siji">
-                  <!-- <ws-input
-                  v-model="item.receiveDateEnd"
-                  placeholder="请选择日期"
-                  value-format="yyyy-MM-dd"
-                  size="small"
-                  />-->
-                  {{item.receiveDateEnd}}
-                </ws-form-item>
-                <!-- 船名 -->
-                <ws-form-item label="船名" span="1" prop="shipName" class="siji">
-                  <!-- <ws-input 
-                  v-model="item.shipName"
-                  placeholder="请输入船名"
-                  maxlength="100"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.shipName}}
-                </ws-form-item>
-                <!-- 航次 -->
-                <ws-form-item label="航次" span="1" prop="shipNo" class="siji">
-                  <!-- <ws-input 
-                  v-model="item.shipNo"
-                  placeholder="请选择航次"
-                  maxlength="100"
-                  size="small"
-                  ></ws-input>-->
-                  {{item.shipNo}}
-                </ws-form-item>
-                <!-- 类型 -->
-                <ws-form-item label="类型" span="1" prop="shipType" class="siji">
-                  <!-- <ws-input
-                  v-model="item.shipType"
-                  placeholder=""
-                  size="small"
-                  ></ws-input>-->
-                  {{item.shipType}}
-                </ws-form-item>
-                <ws-form-item
-                  label="数量"
-                  span="1"
-                  prop="boxNumber"
-                  class="siji"
-                  v-show="item.shipType=='集装箱'"
-                >
-                  <!-- <ws-input
-          v-model="item.boxNumber"
-          placeholder="请输入数量"
-          size="small"
-                  ></ws-input>-->
-                  {{item.boxNumber}}
-                </ws-form-item>
-              </ws-info-table>
-            </div>
+          <div
+            style="width: 100%"
+            class="flex position middle"
+            v-for="(item, index) in deptBudgetList.tranCarInfoList"
+          >
+        <div style="margin: 18px;color: #69708C;">航次信息</div>
+            <ws-info-table>
+              <!-- 姓名 -->
+              <ws-form-item label="姓名" span="1" prop="driver" class="siji">
+                {{ item.driver }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 电话 -->
+              <ws-form-item
+                label="电话"
+                span="1"
+                prop="driverPhone"
+                class="siji"
+              >
+                {{ item.driverPhone }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!--发船日期-->
+              <ws-form-item
+                label="发船日期"
+                span="1"
+                prop="sendDateStart"
+                class="siji"
+              >
+                {{ item.sendDateStart }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <ws-form-item
+                label="预计到港日期"
+                span="1"
+                prop="receiveDateEnd"
+                class="siji"
+              >
+                {{ item.receiveDateEnd }}
+              </ws-form-item>
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 船名 -->
+              <ws-form-item label="船名" span="1" prop="shipName" class="siji">
+                {{ item.shipName }}
+              </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 航次 -->
+              <ws-form-item label="航次" span="1" prop="shipNo" class="siji">
+                {{ item.shipNo }}
+              </ws-form-item>
+
+              <el-divider direction="vertical" class="line"></el-divider>
+              <!-- 类型 -->
+              <ws-form-item label="类型" span="1" prop="shipType" class="siji">
+                {{ item.shipType }}
+              </ws-form-item>
+              <ws-form-item
+                label="数量"
+                span="1"
+                prop="boxNumber"
+                class="siji"
+                v-show="item.shipType == '集装箱'"
+              >
+                {{ item.boxNumber }}
+              </ws-form-item>
+               
+            </ws-info-table>
           </div>
           </div>
           <div class="xia">
           <div class="xia">
             <div
             <div
@@ -248,43 +169,34 @@
               :key="index"
               :key="index"
             >
             >
               <ws-info-table>
               <ws-info-table>
-                <ws-form-item :label="'仓位号-'+ (index + 1 )" span="1" prop="impurity" class="bot">
-                  <!-- <ws-input
-          v-model="item.impurity"
-          placeholder="请输入仓位号"
-          size="small"
-                  ></ws-input>-->
-                  {{items.impurity}}
+                <ws-form-item
+                  :label="'仓位号-' + (index + 1)"
+                  span="1"
+                  prop="impurity"
+                  class="bot"
+                >
+                  {{ items.impurity }}
                 </ws-form-item>
                 </ws-form-item>
                 <!-- 重量(吨) -->
                 <!-- 重量(吨) -->
-                <ws-form-item label="重量(吨)" span="1" prop="positionWeight" class="bot">
-                  <!-- <ws-input
-          v-model="item.positionWeight"
-          placeholder="请输入装仓重量"
-          size="small"
-                  ></ws-input>-->
-                  {{items.positionWeight}}
+                <ws-form-item
+                  label="重量(吨)"
+                  span="1"
+                  prop="positionWeight"
+                  class="bot"
+                >
+                  {{ items.positionWeight }}
                 </ws-form-item>
                 </ws-form-item>
               </ws-info-table>
               </ws-info-table>
-              <!-- <img
-            width="22"
-            height="22"
-            class="del"
-            @click="del(index)"
-            src="../../../public/img/del.png"
-            alt=""
-              />-->
             </div>
             </div>
           </div>
           </div>
-          <!-- <el-button
-          class="add"
-          type="primary"
-          size="small"
-          @click="add()"
-          >添加仓位</el-button
-          >-->
           <div style="text-align: right; padding: 10px">
           <div style="text-align: right; padding: 10px">
-            <el-button class="bg-bottom-up" type="primary" size="small" @click="returnsales()">关闭</el-button>
+            <el-button
+              class="bg-bottom-up"
+              type="primary"
+              size="small"
+              @click="returnsales()"
+              >关闭</el-button
+            >
           </div>
           </div>
         </div>
         </div>
       </ws-form>
       </ws-form>
@@ -301,7 +213,7 @@ export default {
   name: 'viewSpareMoney',
   name: 'viewSpareMoney',
   components: {
   components: {
     WsUpload,
     WsUpload,
-    Pagination
+    Pagination,
   },
   },
   watch: {
   watch: {
     // vesselId(val) {
     // vesselId(val) {
@@ -309,7 +221,7 @@ export default {
     // },
     // },
     isShow(val) {
     isShow(val) {
       this.showType = val
       this.showType = val
-    }
+    },
   },
   },
   data() {
   data() {
     return {
     return {
@@ -344,16 +256,16 @@ export default {
       tranCarInfoList: [],
       tranCarInfoList: [],
       list: [],
       list: [],
       arr: [],
       arr: [],
-      freightspace: [{ binNumber: '', maxStorage: '', remark: '' }],
+      freightspace: [],
       rules: {
       rules: {
         netWeight: [
         netWeight: [
           {
           {
             required: true,
             required: true,
             type: 'number',
             type: 'number',
             message: '请输入活动名称',
             message: '请输入活动名称',
-            trigger: 'blur'
-          }
-        ]
+            trigger: 'blur',
+          },
+        ],
       },
       },
       size: 10,
       size: 10,
       compId: sessionStorage.getItem('ws-pf_compId'),
       compId: sessionStorage.getItem('ws-pf_compId'),
@@ -361,21 +273,21 @@ export default {
       packtypeList: {},
       packtypeList: {},
       date: {
       date: {
         year: dayjs().format('YYYY'),
         year: dayjs().format('YYYY'),
-        month: dayjs().format('MM')
+        month: dayjs().format('MM'),
       },
       },
       contractList: [],
       contractList: [],
       deptBudgetList: {
       deptBudgetList: {
         warehouseInOutDetail: {},
         warehouseInOutDetail: {},
-        tranCarInfoList: []
+        tranCarInfoList: [],
       },
       },
       historyList: [],
       historyList: [],
 
 
       pickerBeginDateBefore: {
       pickerBeginDateBefore: {
-        disabledDate: time => {
+        disabledDate: (time) => {
           return time.getTime() > Date.now()
           return time.getTime() > Date.now()
-        }
+        },
       },
       },
-      accessoryTFs: false
+      accessoryTFs: false,
     }
     }
   },
   },
   mounted() {
   mounted() {
@@ -392,26 +304,16 @@ export default {
     loaddata() {
     loaddata() {
       shippingLook({ id: this.$route.query.id })
       shippingLook({ id: this.$route.query.id })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then((response) => {
           this.deptBudgetList = response
           this.deptBudgetList = response
-          // this.deptBudgetList.driver = this.deptBudgetList.tranCarInfoList[0].driver
-          // this.deptBudgetList.driverPhone = this.deptBudgetList.tranCarInfoList[0].driverPhone
-          // this.deptBudgetList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
-          //   this.deptBudgetList.sendDateStart = this.deptBudgetList.tranCarInfoList[0].sendDateStart
-          //    this.deptBudgetList.receiveDateEnd = this.deptBudgetList.tranCarInfoList[0].receiveDateEnd
-          //   this.deptBudgetList.shipName = this.deptBudgetList.tranCarInfoList[0].shipName
-          //    this.deptBudgetList.shipNo = this.deptBudgetList.tranCarInfoList[0].shipNo
-          //     this.deptBudgetList.shipType = this.deptBudgetList.tranCarInfoList[0].shipType
-          //    this.deptBudgetList. boxNumber =this.deptBudgetList.tranCarInfoList[0].boxNumber
           for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
           for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
-            var num = this.deptBudgetList.tranCarInfoList[
-              i
-            ].positionWeight.split(',')
+            var num =
+              this.deptBudgetList.tranCarInfoList[i].positionWeight.split(',')
             for (var j = 0; j < num.length; j++) {
             for (var j = 0; j < num.length; j++) {
               var num2 = num[j].split('/')
               var num2 = num[j].split('/')
               this.freightspace.push({
               this.freightspace.push({
                 impurity: num2[i],
                 impurity: num2[i],
-                positionWeight: num2[num2.length - 1]
+                positionWeight: num2[num2.length - 1],
               })
               })
             }
             }
           }
           }
@@ -423,17 +325,17 @@ export default {
         currentPage: this.currentPage,
         currentPage: this.currentPage,
         pageSize: this.pageSize,
         pageSize: this.pageSize,
         contractType: this.contractType,
         contractType: this.contractType,
-        tranTypeKey: this.tranTypeKey
+        tranTypeKey: this.tranTypeKey,
       })
       })
         .toPromise()
         .toPromise()
-        .then(response => {
+        .then((response) => {
           this.warehouseList = response
           this.warehouseList = response
         })
         })
     },
     },
     //返回按钮
     //返回按钮
     revert() {
     revert() {
       this.freightspace = []
       this.freightspace = []
-      this.$router.push({ path: 'tranManagementShipping' })
+      this.$router.go(-1)
     },
     },
     del(index) {
     del(index) {
       if (this.freightspace.length > 1) {
       if (this.freightspace.length > 1) {
@@ -444,7 +346,7 @@ export default {
       this.freightspace.push({
       this.freightspace.push({
         binNumber: '',
         binNumber: '',
         maxStorage: '',
         maxStorage: '',
-        remark: ''
+        remark: '',
       })
       })
     },
     },
     //提交按钮
     //提交按钮
@@ -452,19 +354,18 @@ export default {
       this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {
       this.$confirm(`暂存后可在待完成页面查看,确定暂存`, {
         cancelButtonText: '取消',
         cancelButtonText: '取消',
         confirmButtonText: '确定',
         confirmButtonText: '确定',
-        type: 'warning'
+        type: 'warning',
       })
       })
         .then(() => {
         .then(() => {
-          this.$refs.deptBudgetList.validate(valid => {
+          this.$refs.deptBudgetList.validate((valid) => {
             if (valid) {
             if (valid) {
-              this.deptBudgetList.compId = sessionStorage.getItem(
-                'ws-pf_compId'
-              )
+              this.deptBudgetList.compId =
+                sessionStorage.getItem('ws-pf_compId')
               this.deptBudgetList.inOutFlag = 2
               this.deptBudgetList.inOutFlag = 2
               this.deptBudgetList.statusFlag = 1
               this.deptBudgetList.statusFlag = 1
               addstorageputList(this.deptBudgetList)
               addstorageputList(this.deptBudgetList)
                 .toPromise()
                 .toPromise()
-                .then(response => {
+                .then((response) => {
                   this.$message.success('暂存成功')
                   this.$message.success('暂存成功')
                   this.$router.push({ path: 'warehouseManagementList' })
                   this.$router.push({ path: 'warehouseManagementList' })
                 })
                 })
@@ -522,8 +423,8 @@ export default {
       }
       }
     },
     },
     approve() {},
     approve() {},
-    listQuery() {}
-  }
+    listQuery() {},
+  },
 }
 }
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
@@ -695,23 +596,6 @@ export default {
     border: none;
     border: none;
   }
   }
 }
 }
-//联络员及航次样式
-.aa {
-  width: 100%;
-  height: 90px;
-  background: #f5f7fa;
-  border-radius: 4px;
-  border: 1px solid #d8dce6;
-}
-// .xia{
-//   width:500px;
-//   // height: 46px;
-//   background: #F5F7FA;
-//   border-radius: 4px;
-//   // border: 1px solid #D8DCE6;
-//   margin-top: 10px;
-//   border: none;
-// }
 .xia {
 .xia {
   width: 700px;
   width: 700px;
   // height: 50px;
   // height: 50px;
@@ -729,7 +613,7 @@ export default {
   line-height: 16px;
   line-height: 16px;
 }
 }
 .position .siji {
 .position .siji {
-  width: 14.2%;
+  width: 13%;
 }
 }
 .el-form {
 .el-form {
   height: 1000px;
   height: 1000px;
@@ -740,4 +624,14 @@ export default {
 /deep/.position .ws-info-table .el-form-item .el-form-item__label {
 /deep/.position .ws-info-table .el-form-item .el-form-item__label {
   background-color: #f5f7fa;
   background-color: #f5f7fa;
 }
 }
+.middle {
+  background: #f6f7fc;
+  border-radius: 4px;
+  border: 1px solid #d8dce6;
+}
+.line{
+  height: 26px;
+  margin-top: 6px;
+  left: -20px;
+}
 </style>
 </style>

+ 11 - 15
src/views/tranManagement/tranManagementTransporHairRespond.vue

@@ -3,6 +3,11 @@
   <div>
   <div>
     <BaseHeaderLayout :leftSpan="12">
     <BaseHeaderLayout :leftSpan="12">
       <template slot="left">
       <template slot="left">
+         <ws-button class="but"  :type="primary == 1 ? 'primary' : ''" @click="statusquery(1)">
+          执行中</ws-button
+        >
+        <ws-button class="but"  :type="primary == 2 ? 'primary' : ''" @click="statusquery(2)">已完成</ws-button>
+        <ws-button class="but"  :type="primary == 3 ? 'primary' : ''" @click="statusquery()">全部任务</ws-button>
       </template>
       </template>
       <!-- 接单开始 -->
       <!-- 接单开始 -->
       <template slot="right">
       <template slot="right">
@@ -45,11 +50,7 @@
       </template>
       </template>
     </BaseHeaderLayout>
     </BaseHeaderLayout>
     <div class="container">
     <div class="container">
-       <ws-button class="but"  :type="primary == 1 ? 'primary' : ''" @click="statusquery(1)">
-          执行中</ws-button
-        >
-        <ws-button class="but"  :type="primary == 2 ? 'primary' : ''" @click="statusquery(2)">已完成</ws-button>
-        <ws-button class="but"  :type="primary == 3 ? 'primary' : ''" @click="statusquery()">全部任务</ws-button>
+      
       <el-table
       <el-table
         class="wenzi"
         class="wenzi"
         :data="tranManagementList.records"
         :data="tranManagementList.records"
@@ -62,17 +63,17 @@
             <span v-else>{{ scope.$index + 1 }}</span>
             <span v-else>{{ scope.$index + 1 }}</span>
           </template>
           </template>
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="processNo" label="运输任务编号" width="120">
+        <el-table-column prop="processNo" label="运输任务编号" >
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="tranType" label="运输方式" width="80">
+        <el-table-column prop="tranType" label="运输方式" >
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="goodsName" label="货名" width="80">
+        <el-table-column prop="goodsName" label="货名" >
         </el-table-column>
         </el-table-column>
         <el-table-column prop="weight" label="重量(吨)" width="120">
         <el-table-column prop="weight" label="重量(吨)" width="120">
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="send" label="发货" width="200">
+        <el-table-column prop="send" label="发货" width="240">
         </el-table-column>
         </el-table-column>
-        <el-table-column prop="receive" label="收货" width="200">
+        <el-table-column prop="receive" label="收货" width="240">
         </el-table-column>
         </el-table-column>
         <el-table-column prop="tranCycle" label="运输周期" width="160">
         <el-table-column prop="tranCycle" label="运输周期" width="160">
           <template scope="scope">
           <template scope="scope">
@@ -486,11 +487,6 @@ export default {
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-//待完成三按钮
-.but {
-  margin-top: 10px;
-  margin-left: 110px;
-}
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }

+ 1 - 3
src/views/tranManagement/tranManagementTransporTationFire.vue

@@ -531,9 +531,7 @@ export default {
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-.but {
-  margin-left: 6px;
-}
+
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }

+ 20 - 23
src/views/tranManagement/tranManagementTransporTrainDetails.vue

@@ -99,18 +99,22 @@
           <ws-form-item label="姓名:" span="1" prop="driver">
           <ws-form-item label="姓名:" span="1" prop="driver">
             {{ item.driver }}
             {{ item.driver }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--电话-->
           <!--电话-->
           <ws-form-item label="电话:" span="1" prop="driverPhone">
           <ws-form-item label="电话:" span="1" prop="driverPhone">
             {{ item.driverPhone }}
             {{ item.driverPhone }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--发车日期-->
           <!--发车日期-->
           <ws-form-item label="发车日期:" span="1" prop="sendDateStart">
           <ws-form-item label="发车日期:" span="1" prop="sendDateStart">
             {{ item.sendDateStart }}
             {{ item.sendDateStart }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--到站日期-->
           <!--到站日期-->
           <ws-form-item label="到站日期:" span="1" prop="receiveDateEnd">
           <ws-form-item label="到站日期:" span="1" prop="receiveDateEnd">
             {{ item.receiveDateEnd }}
             {{ item.receiveDateEnd }}
           </ws-form-item>
           </ws-form-item>
+          <el-divider direction="vertical" class="line"></el-divider>
           <!--车型-->
           <!--车型-->
           <ws-form-item label="车型:" span="1" prop="carModel">
           <ws-form-item label="车型:" span="1" prop="carModel">
             {{ item.carModel }}
             {{ item.carModel }}
@@ -131,6 +135,7 @@
             >
             >
               {{ items.trainNo }}
               {{ items.trainNo }}
             </ws-form-item>
             </ws-form-item>
+               <el-divider direction="vertical" class="line" v-if="(index+1) % 5 != 0"></el-divider>
           </div>
           </div>
         </ws-info-table>
         </ws-info-table>
       </div>
       </div>
@@ -442,11 +447,7 @@ export default {
 .el-col {
 .el-col {
   background: #f6f7fc;
   background: #f6f7fc;
 }
 }
-/deep/.ws-info-table .el-form-item .el-form-item__content {
-  padding: 0 25px;
-  border-left: 1px solid transparent;
-  background: #fff;
-}
+
 /deep/.ws-info-table .el-form-item .el-form-item__label {
 /deep/.ws-info-table .el-form-item .el-form-item__label {
   width: 100px;
   width: 100px;
   text-align: center;
   text-align: center;
@@ -640,18 +641,6 @@ export default {
   border: none;
   border: none;
   height: 50px;
   height: 50px;
 }
 }
-/deep/.ws-info-table .el-form-item .el-form-item__content {
-  background: #f5f7fa;
-  border-radius: 4px;
-  border: 1px solid #d8dce6;
-  font-family: PingFangSC-Regular, PingFang SC;
-  margin-bottom: 5px;
-  background-color: #fff;
-  font-size: 14px;
-  font-weight: 400;
-  color: #8890b1;
-  line-height: 16px;
-}
 /deep/.ws-info-table .el-form-item .el-form-item__label {
 /deep/.ws-info-table .el-form-item .el-form-item__label {
   background-color: #fff;
   background-color: #fff;
   font-size: 14px;
   font-size: 14px;
@@ -662,16 +651,21 @@ export default {
 }
 }
 
 
 /deep/.ws-info-table .el-form-item .el-form-item__content {
 /deep/.ws-info-table .el-form-item .el-form-item__content {
-  background: #f5f7fa;
   border-radius: 4px;
   border-radius: 4px;
-  border: 1px solid #d8dce6;
+  margin-bottom: 5px;
+  background-color: #fff;
+  font-size: 14px;
+  color: #8890b1;
+  padding: 0 25px;
+  border-left: 1px solid transparent;
+  background: #F5F7FA;
 }
 }
 /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
 /deep/.flex .ws-info-table .el-form-item .el-form-item__content {
   border: 0px;
   border: 0px;
 }
 }
 //联络员及车次
 //联络员及车次
 /deep/.liaison .ws-info-table .el-form-item {
 /deep/.liaison .ws-info-table .el-form-item {
-  width: 20%;
+  width: 18.7%;
 }
 }
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__label {
   width: 30%;
   width: 30%;
@@ -689,8 +683,11 @@ export default {
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
 /deep/.liaison .ws-info-table .el-form-item .el-form-item__content {
   // border: 0px solid #d8dce6;
   // border: 0px solid #d8dce6;
   border-radius: 0px;
   border-radius: 0px;
-  border-left: none;
-  border-bottom: none;
-  border-top: none;
+border: none;
+}
+.line{
+  height: 26px;
+  margin-top: 14px;
+  left: -34px;
 }
 }
 </style>
 </style>

+ 0 - 1
src/views/tranManagement/tranManagementTransporTrainNo.vue

@@ -856,7 +856,6 @@ export default {
   color: #8890b1;
   color: #8890b1;
   line-height: 16px;
   line-height: 16px;
 }
 }
-
 /deep/.ws-info-table .el-form-item .el-form-item__content {
 /deep/.ws-info-table .el-form-item .el-form-item__content {
   background: #f5f7fa;
   background: #f5f7fa;
   border-radius: 4px;
   border-radius: 4px;

+ 0 - 4
src/views/tranManagement/tranManagementVehicle.vue

@@ -186,7 +186,6 @@ export default {
       monetaryKey: null,
       monetaryKey: null,
       // 表格显示数据
       // 表格显示数据
       tableDate: [],
       tableDate: [],
-
       // 是否显示
       // 是否显示
       showType: true,
       showType: true,
       // 年
       // 年
@@ -530,9 +529,6 @@ export default {
 .base_header_layout .grid-content {
 .base_header_layout .grid-content {
   margin-top: 80px;
   margin-top: 80px;
 }
 }
-.but {
-  margin-left: 6px;
-}
 .el-input--small .el-input__inner {
 .el-input--small .el-input__inner {
   margin-left: 20px;
   margin-left: 20px;
 }
 }

+ 13 - 2
src/views/tranManagement/tranManagementVehicleLook.vue

@@ -105,21 +105,27 @@
           <ws-form-item label="姓名" span="1" prop="driver">
           <ws-form-item label="姓名" span="1" prop="driver">
             {{ item.driver }}
             {{ item.driver }}
           </ws-form-item>
           </ws-form-item>
+           <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item class="phone" label="电话" span="1" prop="driverPhone">
           <ws-form-item class="phone" label="电话" span="1" prop="driverPhone">
             {{ item.driverPhone }}
             {{ item.driverPhone }}
           </ws-form-item>
           </ws-form-item>
+           <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="车牌号" span="1" prop="carNo">
           <ws-form-item label="车牌号" span="1" prop="carNo">
             {{ item.carNo }}
             {{ item.carNo }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="装车(吨)" span="1" prop="loadNetWeight">
           <ws-form-item label="装车(吨)" span="1" prop="loadNetWeight">
             {{ item.loadNetWeight }}
             {{ item.loadNetWeight }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="卸车(吨)" span="1" prop="unloadNetWeight">
           <ws-form-item label="卸车(吨)" span="1" prop="unloadNetWeight">
             {{ item.unloadNetWeight }}
             {{ item.unloadNetWeight }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="损耗(吨)" span="1" prop="loss">
           <ws-form-item label="损耗(吨)" span="1" prop="loss">
             {{ item.loss }}
             {{ item.loss }}
           </ws-form-item>
           </ws-form-item>
+            <el-divider direction="vertical" class="line"></el-divider>
           <ws-form-item label="合同" span="1" prop="unloadNetWeight" class="hetong">
           <ws-form-item label="合同" span="1" prop="unloadNetWeight" class="hetong">
           </ws-form-item>
           </ws-form-item>
         </ws-info-table>
         </ws-info-table>
@@ -425,7 +431,7 @@ export default {
   font-size: 14px;
   font-size: 14px;
 }
 }
 /deep/.driver .ws-info-table .el-form-item {
 /deep/.driver .ws-info-table .el-form-item {
-  width: 14.28%;
+  width: 13.1%;
 }
 }
 /deep/.driver .ws-info-table .el-form-item .el-form-item__label {
 /deep/.driver .ws-info-table .el-form-item .el-form-item__label {
   width: 86px;
   width: 86px;
@@ -444,7 +450,7 @@ export default {
   margin-left: 15px;
   margin-left: 15px;
 }
 }
 /deep/.driver .ws-info-table .el-form-item .el-form-item__content {
 /deep/.driver .ws-info-table .el-form-item .el-form-item__content {
-  border-right: 1px solid #8890b1;
+  // border-right: 1px solid #8890b1;
   background: #f6f7fb;
   background: #f6f7fb;
   font-size: 14px;
   font-size: 14px;
   color: #8890b1;
   color: #8890b1;
@@ -472,4 +478,9 @@ export default {
 /deep/.driver.ws-info-table .el-form-item .el-form-item__content{
 /deep/.driver.ws-info-table .el-form-item .el-form-item__content{
   border:none
   border:none
 }
 }
+.line{
+ height: 26px;
+ margin-top: 6px;
+left: -36px;
+}
 </style>
 </style>

+ 1 - 1
vue.config.js

@@ -143,7 +143,7 @@ module.exports = {
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://standard-dev.winsea.com/', //目标地址
         // target: 'http://localhost:8090/',
         // target: 'http://localhost:8090/',
         // target: 'http://192.168.1.121:8090/',
         // target: 'http://192.168.1.121:8090/',
-        target: 'http://192.168.1.119:8090/',
+        target: 'http://192.168.1.116:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.1.119:8090/',
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://192.168.24.5:8098',//目标地址
         // target: 'http://product-server.winsea.com/',
         // target: 'http://product-server.winsea.com/',