Browse Source

Merge branch 'master' of git.echepei.com:zhujiawei/Warehouse_management_ui

wengyuwen 4 years ago
parent
commit
9055c58a9a
39 changed files with 428 additions and 230 deletions
  1. BIN
      public/favicon.ico
  2. 1 1
      src/api/reportManagement/payable.js
  3. 9 0
      src/api/reportManagement/profit.js
  4. 2 2
      src/api/reportManagement/receivable.js
  5. 9 0
      src/api/warehouseBusiness/goodsTransfer.js
  6. 8 0
      src/api/warehouseBusiness/storageFeeCalculation.js
  7. BIN
      src/assets/logo/logo.png
  8. BIN
      src/assets/logo/logo2.png
  9. 2 2
      src/layout/components/Sidebar/Logo.vue
  10. 12 4
      src/views/finance/contrast/index.vue
  11. 11 6
      src/views/fleet/plans/AddOrUpdate.vue
  12. 4 0
      src/views/fleet/plans/index.vue
  13. 36 33
      src/views/fleet/scheduling/AddOrUpdate.vue
  14. 4 0
      src/views/fleet/scheduling/index.vue
  15. 112 82
      src/views/fleet/sendcar/AddOrUpdate.vue
  16. 7 1
      src/views/fleet/sendcar/index.vue
  17. 5 1
      src/views/index.vue
  18. 1 1
      src/views/reportManagement/Statistics/index.vue
  19. 2 2
      src/views/reportManagement/generalLedgerCr/index.vue
  20. 4 4
      src/views/reportManagement/generalLedgerDr/index.vue
  21. 2 2
      src/views/reportManagement/profitGeneralLedger/index.vue
  22. 3 2
      src/views/reportManagement/whgenleg/index.vue
  23. 2 2
      src/views/system/toConfigure/index.vue
  24. 81 30
      src/views/track/cabinet/AddOrUpdate.vue
  25. 4 0
      src/views/track/cabinet/index.vue
  26. 10 6
      src/views/track/goods/AddOrUpdate.vue
  27. 4 0
      src/views/track/goods/index.vue
  28. 12 8
      src/views/track/meetSingle/AddOrUpdate.vue
  29. 3 0
      src/views/track/meetSingle/index.vue
  30. 12 8
      src/views/track/receipt/AddOrUpdate.vue
  31. 4 0
      src/views/track/receipt/index.vue
  32. 11 6
      src/views/track/suitcase/AddOrUpdate.vue
  33. 4 0
      src/views/track/suitcase/index.vue
  34. 4 2
      src/views/warehouseBusiness/cargoClearance/index.vue
  35. 8 4
      src/views/warehouseBusiness/goodsTransfer/index.vue
  36. 5 5
      src/views/warehouseBusiness/inStock/index.vue
  37. 5 5
      src/views/warehouseBusiness/outStock/index.vue
  38. 10 5
      src/views/warehouseBusiness/stockTransfer/index.vue
  39. 15 6
      src/views/warehouseBusiness/storageFeeCalculation/index.vue

BIN
public/favicon.ico


+ 1 - 1
src/api/reportManagement/payable.js

@@ -46,7 +46,7 @@ export function delWhgenleg(fAccyear) {
 // 导出库存总账
 export function exportWhgenleg(query) {
   return request({
-    url: '/warehouseBusiness/whgenleg/export',
+    url: '/warehouseBusiness/payable/export',
     method: 'get',
     params: query
   })

+ 9 - 0
src/api/reportManagement/profit.js

@@ -8,3 +8,12 @@ export function listpayable(query) {
     params: query
   })
 }
+
+// 导出库存总账
+export function exportWhgenleg(query) {
+  return request({
+    url: '/warehouseBusiness/profit/export',
+    method: 'get',
+    params: query
+  })
+}

+ 2 - 2
src/api/reportManagement/receivable.js

@@ -44,9 +44,9 @@ export function delWhgenleg(fAccyear) {
 }
 
 // 导出库存总账
-export function exportWhgenleg(query) {
+export function exporReceivable(query) {
   return request({
-    url: '/warehouseBusiness/whgenleg/export',
+    url: '/warehouseBusiness/receivable/export',
     method: 'get',
     params: query
   })

+ 9 - 0
src/api/warehouseBusiness/goodsTransfer.js

@@ -111,3 +111,12 @@ export function delgoodsTransfer_s(fId) {
     method: 'delete'
   })
 }
+
+// 导出仓库主调拨
+export function exportgoodsTransfer(query) {
+  return request({
+    url: '/warehouseBusiness/goodsTransfer/export',
+    method: 'get',
+    params: query
+  })
+}

+ 8 - 0
src/api/warehouseBusiness/storageFeeCalculation.js

@@ -100,3 +100,11 @@ export function delstorageFeeCalculation_s(fId) {
     method: 'delete'
   })
 }
+// 导出仓库主调拨
+export function exportWarehousebills(query) {
+  return request({
+    url: '/warehouseBusiness/storageFeeCalculation/export',
+    method: 'get',
+    params: query
+  })
+}

BIN
src/assets/logo/logo.png


BIN
src/assets/logo/logo2.png


+ 2 - 2
src/layout/components/Sidebar/Logo.vue

@@ -83,9 +83,9 @@ export default {
       margin-right: 12px;
     }
     & .sidebar-logo-mini {
-      height: 18px;
+      height: 50px;
       vertical-align: middle;
-      margin-right: 12px;
+      margin: auto;
     }
     & .sidebar-title {
       display: inline-block;

+ 12 - 4
src/views/finance/contrast/index.vue

@@ -266,7 +266,7 @@
             icon="el-icon-view"
             @click="check(scope.row, 1)"
             v-hasPermi="['finance:contrast:edit']"
-            v-if="scope.row.fBillstatus == 4 || scope.row.fBillstatus == 5"
+            v-if="scope.row.fBillstatus == '提交审核'  || scope.row.fBillstatus == '审核中' "
             >审批进度</el-button
           >
           <el-button
@@ -275,7 +275,11 @@
             icon="el-icon-edit"
             @click="handleUpdate(scope.row)"
             v-hasPermi="['finance:contrast:edit']"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '保存' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '审批驳回'
+            "
           >
             修改</el-button
           >
@@ -286,7 +290,11 @@
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
             v-hasPermi="['finance:contrast:remove']"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '保存' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '审批驳回'
+            "
             >删除</el-button
           >
         </template>
@@ -1924,7 +1932,7 @@ export default {
       //   this.total = response.total;
       //   this.loading = false;
       // });
-      listFleet(this.tablefilter).then((response) => {
+      listFee(this.tablefilter).then((response) => {
         this.contrastList = response.rows;
         this.total = response.total;
         this.loading = false;

+ 11 - 6
src/views/fleet/plans/AddOrUpdate.vue

@@ -1176,20 +1176,22 @@
                       v-model="scope.row.attachName"
                       placeholder="附件名称"
                       show-word-limit
+                      :disabled="disabled"
                     />
                   </template>
                 </el-table-column>
                 <el-table-column
-                  prop="opuserID "
+                  prop="createBy "
                   header-align="center"
                   align="center"
                   label="上传人"
                 >
                   <template slot-scope="scope">
                     <el-input
-                      v-model="scope.row.opuserID"
+                      v-model="scope.row.createBy"
                       placeholder="上传人"
                       show-word-limit
+                      :disabled="disabled"
                     />
                   </template>
                 </el-table-column>
@@ -1283,11 +1285,11 @@
         >提 交</el-button
       >
       <!-- <el-button type="success" @click="submitFix">修改</el-button> -->
-      <el-button type="success" @click="submitAllowChanges">修 改</el-button>
+      <el-button type="success" @click="submitAllowChanges" :disabled="!this.form.billStatus">修 改</el-button>
       <el-button type="info" @click="submitSave" :disabled="disabled"
         >保 存</el-button
       >
-      <el-button type="warning" @click="submitRetreat">撤 回</el-button>
+      <el-button type="warning" @click="submitRetreat" :disabled="!this.form.billStatus">撤 回</el-button>
       <el-button @click="showDialog = false">取 消</el-button>
     </span>
   </el-dialog>
@@ -1356,6 +1358,10 @@ export default {
       type: Array,
       default: [],
     },
+    relevantAttachments:{
+      type: Array,
+      default: [],
+    }
   },
   components: {
     UploadFile,
@@ -1420,7 +1426,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1523,7 +1528,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 4 - 0
src/views/fleet/plans/index.vue

@@ -378,6 +378,7 @@
       :DList="DList"
       :CList="CList"
       :schedulingList="schedulingList"
+      :relevantAttachments="relevantAttachments"
       :collapses="collapses"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
@@ -650,6 +651,7 @@ export default {
       goodsOptions: [],
       show: false,
       collapses: [],
+      relevantAttachments:[]
     };
   },
   // 使用子组件
@@ -839,6 +841,7 @@ export default {
       this.DList = [];
       this.CList = [];
       this.schedulingList = [];
+      this.relevantAttachments=[];
       this.disabled = false;
       this.collapses = ["1"];
     },
@@ -897,6 +900,7 @@ export default {
           this.CList = [];
         }
         this.schedulingList = response.data.plans;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 36 - 33
src/views/fleet/scheduling/AddOrUpdate.vue

@@ -785,7 +785,7 @@
                     icon="el-icon-plus"
                     size="mini"
                     @click="addDListRow(DList)"
-                    :disabled="disabled"
+                    :disabled="disabled2"
                     >添加</el-button
                   >
                 </div>
@@ -798,7 +798,7 @@
                       placeholder="结算单位"
                       :clearable="true"
                       filterable
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     >
                       <el-option
                         v-for="(dict, index) in fMblnoOptions"
@@ -817,7 +817,7 @@
                       placeholder="费用名称"
                       clearable
                       filterable
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     >
                       <el-option
                         v-for="(dict, index) in fWbuOptions"
@@ -837,7 +837,7 @@
                     <el-select
                       v-model="scope.row.fFeeunitid"
                       placeholder="计费单位"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     >
                       <el-option
                         v-for="(dict, index) in ffeeunitidList"
@@ -854,7 +854,7 @@
                       v-model="scope.row.fQty"
                       placeholder="计费数量"
                       v-input-limit="0"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                       @input="total(scope.row)"
                     />
                   </template>
@@ -865,7 +865,7 @@
                       v-model="scope.row.fUnitprice"
                       placeholder="单价"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                       @input="total(scope.row)"
                     />
                   </template>
@@ -885,7 +885,7 @@
                       v-model="scope.row.fExrate"
                       placeholder="汇率"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -905,7 +905,7 @@
                       v-model="scope.row.fTaxrate"
                       placeholder="税率"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -915,7 +915,7 @@
                     <el-input
                       v-model="scope.row.remarks"
                       placeholder="备注"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -932,7 +932,7 @@
                       type="text"
                       icon="el-icon-delete"
                       @click.native.prevent="deleteRow(scope.$index, DList)"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                       >删除</el-button
                     >
                   </template>
@@ -963,7 +963,7 @@
                     icon="el-icon-plus"
                     size="mini"
                     @click="addDListRow(CList)"
-                    :disabled="disabled"
+                    :disabled="disabled2"
                     >添加</el-button
                   >
                 </div>
@@ -976,7 +976,7 @@
                       placeholder="结算单位"
                       :clearable="true"
                       filterable
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     >
                       <el-option
                         v-for="(dict, index) in fMblnoOptions"
@@ -995,7 +995,7 @@
                       placeholder="费用名称"
                       clearable
                       filterable
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     >
                       <el-option
                         v-for="(dict, index) in fWbuOptions"
@@ -1015,7 +1015,7 @@
                     <el-select
                       v-model="scope.row.fFeeunitid"
                       placeholder="计费单位"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     >
                       <el-option
                         v-for="(dict, index) in ffeeunitidList"
@@ -1032,7 +1032,7 @@
                       v-model="scope.row.fQty"
                       placeholder="计费数量"
                       v-input-limit="0"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                       @input="total(scope.row)"
                     />
                   </template>
@@ -1043,7 +1043,7 @@
                       v-model="scope.row.fUnitprice"
                       placeholder="单价"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                       @input="total(scope.row)"
                     />
                   </template>
@@ -1063,7 +1063,7 @@
                       v-model="scope.row.fExrate"
                       placeholder="汇率"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -1083,7 +1083,7 @@
                       v-model="scope.row.fTaxrate"
                       placeholder="税率"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -1093,7 +1093,7 @@
                     <el-input
                       v-model="scope.row.remarks"
                       placeholder="备注"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -1110,7 +1110,7 @@
                       type="text"
                       icon="el-icon-delete"
                       @click.native.prevent="deleteRow(scope.$index, DList)"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                       >删除</el-button
                     >
                   </template>
@@ -1141,7 +1141,7 @@
                     icon="el-icon-plus"
                     size="mini"
                     @click="addRelevt"
-                    :disabled="disabled"
+                    :disabled="disabled2"
                     >添加</el-button
                   >
                 </div>
@@ -1167,22 +1167,22 @@
                       v-model="scope.row.attachName"
                       placeholder="附件名称"
                       show-word-limit
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
                 <el-table-column
-                  prop="opuserID "
+                  prop="createBy "
                   header-align="center"
                   align="center"
                   label="上传人"
                 >
                   <template slot-scope="scope">
                     <el-input
-                      v-model="scope.row.opuserID"
+                      v-model="scope.row.createBy"
                       placeholder="上传人"
                       show-word-limit
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     />
                   </template>
                 </el-table-column>
@@ -1199,7 +1199,7 @@
                       placeholder="上传时间"
                       format="yyyy-MM-dd HH:mm"
                       value-format="timestamp"
-                      :disabled="disabled"
+                      :disabled="disabled2"
                     ></el-date-picker>
                   </template>
                 </el-table-column>
@@ -1220,11 +1220,11 @@
                           }
                         "
                         :headers="headers"
-                        :disabled="disabled"
+                        :disabled="disabled2"
                         :show-file-list="false"
                         :limit="1"
                       >
-                        <el-button size="small" type="text" :disabled="disabled"
+                        <el-button size="small" type="text" :disabled="disabled2"
                           >点击上传</el-button
                         >
                       </el-upload>
@@ -1232,14 +1232,14 @@
                         size="small"
                         type="text"
                         @click="checkFile(scope)"
-                        :disabled="disabled"
+                        :disabled="disabled2"
                         style="margin-left: 10px"
                         >查看</el-button
                       >
                       <el-button
                         size="small"
                         type="text"
-                        :disabled="disabled"
+                        :disabled="disabled2"
                         @click="deleteFile(scope)"
                         >删除</el-button
                       >
@@ -1260,7 +1260,7 @@
                       @click.native.prevent="
                         deleteRow(scope.$index, relevantAttachments)
                       "
-                      :disabled="disabled"
+                      :disabled="disabled2 "
                       >删除</el-button
                     >
                   </template>
@@ -1353,6 +1353,10 @@ export default {
       type: Array,
       default: [],
     },
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1417,7 +1421,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1514,7 +1517,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 4 - 0
src/views/fleet/scheduling/index.vue

@@ -355,6 +355,7 @@
       :CList="CList"
       :schedulingList="schedulingList"
       :collapses="collapses"
+      :relevantAttachments="relevantAttachments"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
       @fixDisabled2="fixDisabled2"
@@ -414,6 +415,7 @@ export default {
       billTypeList: [],
       transTypeList: [],
       transPropList: [],
+      relevantAttachments:[],
       showSetting: false,
       drag: false,
       setRowList: [
@@ -836,6 +838,7 @@ export default {
       this.disabled = false;
       this.disabled2 = false;
       this.collapses = ["1", "2"];
+      this.relevantAttachments=[];
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -898,6 +901,7 @@ export default {
           this.CList = [];
         }
         this.schedulingList = response.data.plans;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 112 - 82
src/views/fleet/sendcar/AddOrUpdate.vue

@@ -16,7 +16,7 @@
                 placeholder="请输入客户名称"
                 :clearable="true"
                 filterable
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               >
@@ -34,7 +34,7 @@
               <el-select
                 v-model="form.billType"
                 placeholder="请选择业务类型"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               >
@@ -52,7 +52,7 @@
               <el-select
                 v-model="form.transType"
                 placeholder="请选择运输方式"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               >
@@ -70,7 +70,7 @@
               <el-select
                 v-model="form.transProp"
                 placeholder="请选择运输方式"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               >
@@ -90,7 +90,7 @@
               <el-input
                 v-model="form.mblno"
                 placeholder="请输入提单号"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -101,7 +101,7 @@
               <el-select
                 v-model="form.goodsId"
                 placeholder="请输入货品名称"
-                :disabled="disabled"
+                disabled
                 clearable
                 filterable
                 size="mini"
@@ -121,7 +121,7 @@
               <el-input
                 v-model="form.qtyPlan"
                 placeholder="请输入计划件数"
-                :disabled="disabled"
+                disabled
                 v-input-limit="2"
                 size="mini"
                 style="width: 180px"
@@ -133,7 +133,7 @@
               <el-input
                 v-model="form.weightPlan"
                 placeholder="请输入计划重量"
-                :disabled="disabled"
+                disabled
                 v-input-limit="2"
                 size="mini"
                 style="width: 180px"
@@ -147,7 +147,7 @@
               <el-input
                 v-model="form.ysl"
                 placeholder="请输入船名"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -158,7 +158,7 @@
               <el-input
                 v-model="form.voy"
                 placeholder="请输入航次"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -171,7 +171,7 @@
                 placeholder="请输入起运港"
                 :clearable="true"
                 filterable
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               >
@@ -191,7 +191,7 @@
                 placeholder="请输入目的港"
                 :clearable="true"
                 filterable
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               >
@@ -215,7 +215,7 @@
               <el-input
                 v-model="form.loadAddr"
                 placeholder="请输入提箱地点"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -224,7 +224,7 @@
               <el-input
                 v-model="form.loadAddr"
                 placeholder="请输入装货地点"
-                :disabled="disabled"
+                disabled
                 size="mini"
               />
             </el-form-item>
@@ -238,7 +238,7 @@
                 v-model="form.loadDate"
                 type="datetime"
                 placeholder="选择计划装车时间"
-                :disabled="disabled"
+                disabled
               >
               </el-date-picker>
             </el-form-item>
@@ -248,7 +248,7 @@
               <el-input
                 v-model="form.loadAttn"
                 placeholder="请输入装车联系人"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -259,7 +259,7 @@
               <el-input
                 v-model="form.loadAttntel"
                 placeholder="请输入装车联系电话"
-                :disabled="disabled"
+                disabled
                 v-input-limit="0"
                 size="mini"
                 style="width: 180px"
@@ -277,7 +277,7 @@
               <el-input
                 v-model="form.mdLoadAddr"
                 placeholder="请输入装卸货地点"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -290,7 +290,7 @@
               <el-input
                 v-model="form.mdLoadAddr"
                 placeholder="请输入装货地点"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -305,7 +305,7 @@
                 v-model="form.mdLoadDate"
                 type="datetime"
                 placeholder="选择计划装卸货时间"
-                :disabled="disabled"
+                disabled
               >
               </el-date-picker>
             </el-form-item>
@@ -315,7 +315,7 @@
               <el-input
                 v-model="form.mdLoadAttn"
                 placeholder="请输入装卸货联系人"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -326,7 +326,7 @@
               <el-input
                 v-model="form.mdLoadAttnTel"
                 placeholder="请输入装卸货联系电话"
-                :disabled="disabled"
+                disabled
                 v-input-limit="0"
                 size="mini"
                 style="width: 180px"
@@ -340,7 +340,7 @@
               <el-input
                 v-model="form.unLoadAddr"
                 placeholder="请输入卸箱地点"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -351,7 +351,7 @@
               <el-input
                 v-model="form.unLoadAddr"
                 placeholder="请输入卸箱地点"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -366,7 +366,7 @@
                 v-model="form.unLoadDate"
                 type="datetime"
                 placeholder="选择计划卸车时间"
-                :disabled="disabled"
+                disabled
               >
               </el-date-picker>
             </el-form-item>
@@ -376,7 +376,7 @@
               <el-input
                 v-model="form.unLoadAttn"
                 placeholder="请输入卸车联系人"
-                :disabled="disabled"
+                disabled
                 size="mini"
                 style="width: 180px"
               />
@@ -387,7 +387,7 @@
               <el-input
                 v-model="form.unLoadAttnTel"
                 placeholder="请输入卸车联系电话"
-                :disabled="disabled"
+                disabled
                 v-input-limit="0"
                 size="mini"
                 style="width: 180px"
@@ -403,7 +403,7 @@
                 :rows="2"
                 v-model="form.routeDesc"
                 placeholder="请输入线路描述"
-                :disabled="disabled"
+                disabled
                 size="mini"
               />
             </el-form-item>
@@ -417,7 +417,7 @@
                 :rows="2"
                 v-model="form.remarks"
                 placeholder="请输入备注"
-                :disabled="disabled"
+                disabled
                 size="mini"
               />
             </el-form-item>
@@ -452,7 +452,7 @@
                     icon="el-icon-plus"
                     size="mini"
                     @click="addschedulingRow(schedulingList)"
-                    :disabled="disabled"
+                    disabled
                     >添加</el-button
                   >
                 </div>
@@ -463,7 +463,7 @@
                     <el-select
                       v-model="scope.row.cntrId"
                       placeholder="请选择箱型"
-                      :disabled="disabled"
+                      disabled
                     >
                       <el-option
                         v-for="(dict, index) in cntrIdList"
@@ -487,7 +487,7 @@
                       placeholder="请输入车队名称"
                       :clearable="true"
                       filterable
-                      :disabled="disabled"
+                      disabled
                     >
                       <el-option
                         v-for="(dict, index) in companyList"
@@ -503,14 +503,14 @@
                   label="调度安排货量"
                   align="center"
                   prop="cntrQty"
-                  :disabled="disabled"
+                  disabled
                 >
                   <template slot-scope="scope">
                     <el-input
                       v-model="scope.row.cntrQty"
                       placeholder="调度安排货量"
                       v-input-limit="2"
-                      :disabled="disabled"
+                      disabled
                     />
                   </template>
                 </el-table-column>
@@ -532,7 +532,7 @@
                     <el-input
                       v-model="scope.row.remarks"
                       placeholder="备注"
-                      :disabled="disabled"
+                      disabled
                     />
                   </template>
                 </el-table-column>
@@ -562,12 +562,18 @@
                     icon="el-icon-plus"
                     size="mini"
                     @click="addRow2(vehicleList)"
+                    :disabled="disabled"
                     >添加</el-button
                   >
                 </div>
               </div>
               <el-table :data="vehicleList">
-                <el-table-column label="箱型" align="center" prop="cntrId" width="120">
+                <el-table-column
+                  label="箱型"
+                  align="center"
+                  prop="cntrId"
+                  width="120"
+                >
                   <template slot-scope="scope">
                     <el-select
                       v-model="scope.row.cntrId"
@@ -607,7 +613,7 @@
                   label="箱号"
                   align="center"
                   prop="cntrNo"
-                  width="140"
+                  width="145"
                 >
                   <template slot-scope="scope">
                     <el-input
@@ -1171,20 +1177,22 @@
                       v-model="scope.row.attachName"
                       placeholder="附件名称"
                       show-word-limit
+                      :disabled="disabled"
                     />
                   </template>
                 </el-table-column>
                 <el-table-column
-                  prop="opuserID "
+                  prop="createBy "
                   header-align="center"
                   align="center"
                   label="上传人"
                 >
                   <template slot-scope="scope">
                     <el-input
-                      v-model="scope.row.opuserID"
+                      v-model="scope.row.createBy"
                       placeholder="上传人"
                       show-word-limit
+                      :disabled="disabled"
                     />
                   </template>
                 </el-table-column>
@@ -1198,7 +1206,7 @@
                     <el-date-picker
                       v-model="scope.row.opdata"
                       type="datetime"
-                      disabled
+                      :disabled="disabled"
                       placeholder="上传时间"
                       format="yyyy-MM-dd HH:mm"
                       value-format="timestamp"
@@ -1346,6 +1354,10 @@ export default {
       type: Array,
       default: [],
     },
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1412,7 +1424,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1520,7 +1531,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },
@@ -1558,9 +1569,12 @@ export default {
       tableData.push(obj);
       this.showSure(this.schedulingList);
     },
-      // 添加行
+    // 添加行
     addRow2(tableData, event) {
-      tableData.push({cntrId:this.schedulingList[0].cntrId,pid:this.schedulingList[0].id});
+      tableData.push({
+        cntrId: this.schedulingList[0].cntrId,
+        pid: this.schedulingList[0].id,
+      });
       this.showSure(this.schedulingList);
     },
     //删除行
@@ -1600,6 +1614,9 @@ export default {
     submitForm() {
       this.$refs["form"].validate((valid) => {
         if (valid) {
+          if (!this.vehicleList.length) {
+            return this.msgSuccess("车辆安排不能为空");
+          }
           this.DList.map((e) => {
             return (e.fDc = "D");
           });
@@ -1619,6 +1636,14 @@ export default {
           this.vehicleList.map((e) => {
             num += parseInt(e.cntrQty);
           });
+          for (let li in this.vehicleList) {
+            if (
+              this.vehicleList[li].billStatus != 6 &&
+              this.vehicleList[li].billStatus != 3
+            ) {
+              return this.msgSuccess("车辆安排存在未提交的数据");
+            }
+          }
           if (num > this.schedulingList[0].cntrQty) {
             return this.msgSuccess("车辆安排货量已超过计划货量");
           }
@@ -1730,8 +1755,11 @@ export default {
     },
     //修改
     submitAllowChanges() {
-      this.$emit("fixDisabled", "false");
-      this.msgSuccess("允许修改");
+      // if (this.schedulingList.billStatus > 6) {
+      //   this.$emit("fixDisabled", "false");
+      //   this.msgSuccess("允许修改");
+      // }
+
       // const id = this.form.id;
       // allowChangesFtmsorderbills(id).then((response) => {
       //   if (response == false) {
@@ -1746,40 +1774,42 @@ export default {
     //单条订单调度提交
     addscarsRow(row) {
       if (row.billStatus == 5) {
-          singleChangeFtmsorderbillscars(row).then((response) => {
-            if (response.code == 200) {
-              this.msgSuccess("成功提交");
-              this.$set(row, "billStatus", 6);
-              this.$set(
-                this.schedulingList[0],
-                "carQty",
-                response.data.plan.carQty
-              );
-            this.$set(row, "orderStatus",response.data.cars.orderStatus);
-            this.$set(row, "orderNo",response.data.cars.orderNo);
-            this.$set(row, "orgId",response.data.cars.orgId);
-            this.$set(row, "id",response.data.cars.id);
-            }
-          });
-        } else if (row.billStatus != 6) {
-          singleaddFtmsorderbillscars(row).then((response) => {
+        singleChangeFtmsorderbillscars(row).then((response) => {
+          if (response.code == 200) {
             this.msgSuccess("成功提交");
-            if (response.code == 200) {
-              this.$set(row, "billStatus", 6);
-              this.$set(
-                this.schedulingList[0],
-                "carQty",
-                response.data.plan.carQty
-              );
-              this.$set(row, "orderStatus",response.data.cars.orderStatus);
-              this.$set(row, "orderNo",response.data.cars.orderNo);
-              this.$set(row, "orgId",response.data.cars.orgId);
-              this.$set(row, "id",response.data.cars.id);
-            }
-          });
-        } else {
-          this.msgSuccess("请勿重复提交");
-        }
+            this.$set(row, "billStatus", 6);
+            this.$set(
+              this.schedulingList[0],
+              "carQty",
+              response.data.plan.carQty
+            );
+            this.$set(row, "orderStatus", response.data.cars.orderStatus);
+            this.$set(row, "orderNo", response.data.cars.orderNo);
+            this.$set(row, "orgId", response.data.cars.orgId);
+            this.$set(row, "id", response.data.cars.id);
+            this.$set(row, "mblno", response.data.cars.mblno);
+          }
+        });
+      } else if (row.billStatus != 6) {
+        singleaddFtmsorderbillscars(row).then((response) => {
+          this.msgSuccess("成功提交");
+          if (response.code == 200) {
+            this.$set(row, "billStatus", 6);
+            this.$set(
+              this.schedulingList[0],
+              "carQty",
+              response.data.plan.carQty
+            );
+            this.$set(row, "orderStatus", response.data.cars.orderStatus);
+            this.$set(row, "orderNo", response.data.cars.orderNo);
+            this.$set(row, "orgId", response.data.cars.orgId);
+            this.$set(row, "id", response.data.cars.id);
+            this.$set(row, "mblno", response.data.cars.mblno);
+          }
+        });
+      } else {
+        this.msgSuccess("请勿重复提交");
+      }
     },
     delscarsRow(index, rows, row) {
       if (row.billStatus != 6 && row.id != null) {
@@ -1804,9 +1834,9 @@ export default {
           if (response.code == 200) {
             this.msgSuccess("成功撤回");
             this.$set(row, "billStatus", 3);
-            this.$set(row, "orderStatus",response.data.cars.orderStatus);
-            this.$set(row, "orgId",response.data.cars.orgId);
-            this.$set(row, "id",response.data.cars.id);
+            this.$set(row, "orderStatus", response.data.cars.orderStatus);
+            this.$set(row, "orgId", response.data.cars.orgId);
+            this.$set(row, "id", response.data.cars.id);
             this.$set(
               this.schedulingList[0],
               "carQty",

+ 7 - 1
src/views/fleet/sendcar/index.vue

@@ -373,6 +373,7 @@
       :schedulingList="schedulingList"
       :vehicleList="vehicleList"
       :collapses="collapses"
+      :relevantAttachments="relevantAttachments"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
       ref="addOrUpdateRef"
@@ -411,6 +412,7 @@ export default {
       showSearch: true,
       // 订单主表格数据
       ftmsorderbillsList: [],
+      relevantAttachments:[],
       // 总条数
       total: 0,
       // 查询参数
@@ -895,6 +897,7 @@ export default {
       this.disabled = false;
       this.disabled2 = false;
       this.collapses = ["1", "2"];
+      this.relevantAttachments=[]
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -915,7 +918,9 @@ export default {
         }
         let arr = [];
         arr.push(response.data.plans);
-        this.disabled = true;
+        if(response.data.plans.billStatus == 60){
+          this.disabled = true;
+        }
         this.title = "查看订单";
         this.form = response.data.tmsorder;
         if (response.data.fees.length) {
@@ -944,6 +949,7 @@ export default {
           });
         }
         this.vehicleList = response.data.cars;
+        this.relevantAttachments=response.data.attachs;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 5 - 1
src/views/index.vue

@@ -183,7 +183,7 @@
           <div slot="content" class="upper-right">
             <div
               style="display: flex; padding: 4px 15px; font-size: 14px"
-              v-for="(item, index) in fleetData.upperRight"
+              v-for="(item, index) in upperRights"
               :key="index"
               :style="{
                 backgroundColor: index % 2 == 0 ? '#fafbfd' : '#FFFFFF',
@@ -509,6 +509,7 @@ export default {
       fleetData: "",
       upperLeftCntrs: {},
       sysType: "",
+      upperRights:[]
     };
   },
   filters: {
@@ -546,6 +547,9 @@ export default {
   created() {
     queryHomeInfo().then((response) => {
       this.fleetData = response.data;
+      if(response.data.upperRight.length>0){
+         this.upperRights=response.data.upperRight.slice(0 , 10)
+      }
       this.upperLeftCntrs = response.data.upperLeftCntrs;
     });
     this.getConfigKey("sys.index.systype").then((response) => {

+ 1 - 1
src/views/reportManagement/Statistics/index.vue

@@ -578,7 +578,7 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有库存总账数据项?', "警告", {
+      this.$confirm('是否确认导出所出入库统计数据项?', "警告", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "warning"

+ 2 - 2
src/views/reportManagement/generalLedgerCr/index.vue

@@ -126,7 +126,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['warehouseBusiness:whgenleg:export']"
+          v-hasPermi="['warehouseBusiness:payable:export']"
         >导出</el-button>
       </el-col>
 	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -471,7 +471,7 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有库存总账数据项?', "警告", {
+      this.$confirm('是否确认导出所有应付总账数据项?', "警告", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "warning"

+ 4 - 4
src/views/reportManagement/generalLedgerDr/index.vue

@@ -125,7 +125,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['warehouseBusiness:whgenleg:export']"
+          v-hasPermi="['warehouseBusiness:receivable:export']"
         >导出</el-button>
       </el-col>
 	  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@@ -235,7 +235,7 @@
 </template>
 
 <script>
-import { listWhgenleg, getWhgenleg, delWhgenleg, addWhgenleg, updateWhgenleg, exportWhgenleg } from "@/api/reportManagement/receivable";
+import { listWhgenleg, getWhgenleg, delWhgenleg, addWhgenleg, updateWhgenleg, exporReceivable } from "@/api/reportManagement/receivable";
 import {listWarehouse} from "@/api/basicdata/warehouse";
 import {listArea} from "@/api/basicdata/area";
 import {listGoods} from "@/api/basicdata/goods";
@@ -470,12 +470,12 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有库存总账数据项?', "警告", {
+      this.$confirm('是否确认导出所有应收总账数据项?', "警告", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "warning"
         }).then(function() {
-          return exportWhgenleg(queryParams);
+          return exporReceivable(queryParams);
         }).then(response => {
           this.download(response.msg);
         })

+ 2 - 2
src/views/reportManagement/profitGeneralLedger/index.vue

@@ -167,7 +167,7 @@
           icon="el-icon-download"
           size="mini"
           @click="handleExport"
-          v-hasPermi="['warehouseBusiness:whgenleg:export']"
+          v-hasPermi="['warehouseBusiness:profit:export']"
         >导出
         </el-button>
       </el-col>
@@ -485,7 +485,7 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       const queryParams = this.queryParams
-      this.$confirm('是否确认导出所有库存总账数据项?', '警告', {
+      this.$confirm('是否确认导出所有利润总账数据项?', '警告', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
         type: 'warning'

+ 3 - 2
src/views/reportManagement/whgenleg/index.vue

@@ -139,13 +139,14 @@
       <el-table-column label="属性详情" align="center" prop="fMarks" width="120"/>
       <el-table-column label="品名" align="center" prop="fGoodsids" width="120"/>
       <el-table-column label="仓库" sortable align="center" prop="fWarehouseids" width="120"/>
-      <el-table-column
+      <el-table-column label="贸易方式" sortable align="center" prop="fTrademodeid" width="120"/>
+<!--      <el-table-column
         label="贸易方式"
         align="center"
         prop="fTrademodeid"
         :formatter="fTrademodeidFormat"
         width="120"
-      />
+      />-->
       <el-table-column label="入库件数" align="center" prop="fQtyD" width="120"/>
 <!--      <el-table-column label="入库尺码" align="center" prop="fVolumnD" />-->
       <el-table-column label="入库毛重(kg)" align="center" prop="fGrossweightD" width="120"/>

+ 2 - 2
src/views/system/toConfigure/index.vue

@@ -108,7 +108,7 @@ export default {
       dataForm: {
         pathId: null,
         pathName: null,
-        opUserId: null,
+        createBy: null,
         opUserName: null,
         opDate: null,
         status: 'A',
@@ -142,7 +142,7 @@ export default {
       this.dataForm = {
         pathId: null,
           pathName: null,
-          opUserId: null,
+          createBy: null,
           opUserName: null,
           opDate: null,
           status: 'A',

+ 81 - 30
src/views/track/cabinet/AddOrUpdate.vue

@@ -342,7 +342,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-     
+
         <el-row>
           <el-col :span="6">
             <el-form-item label="起始里程" prop="odometerFrom">
@@ -369,25 +369,25 @@
             </el-form-item>
           </el-col>
           <el-col :span="6">
-            <el-form-item label="还卸柜时间" prop="unLoadDate">
+            <el-form-item label="接单时间" prop="acceptDate">
               <el-date-picker
                 clearable
                 size="mini"
                 style="width: 180px"
-                v-model="form.unLoadDate"
+                v-model="form.acceptDate"
                 type="date"
                 value-format="yyyy-MM-dd"
-                placeholder="选择还卸柜时间"
+                placeholder="选择接单时间"
                 :disabled="disabled"
               >
               </el-date-picker>
             </el-form-item>
           </el-col>
           <el-col :span="6">
-            <el-form-item label="还卸柜备注" prop="unLoadRemarks">
+            <el-form-item label="接单备注" prop="acceptRemarks">
               <el-input
-                v-model="form.unLoadRemarks"
-                placeholder="请输入还卸柜备注"
+                v-model="form.acceptRemarks"
+                placeholder="请输入接单备注"
                 size="mini"
                 style="width: 180px"
                 :disabled="disabled"
@@ -395,35 +395,31 @@
             </el-form-item>
           </el-col>
         </el-row>
-           <el-row>
+        <el-row>
           <el-col :span="6">
-            <el-form-item label="接单时间" prop="acceptDate">
+            <el-form-item label="提箱时间" prop="loadDate">
               <el-date-picker
                 clearable
                 size="mini"
                 style="width: 180px"
-                v-model="form.acceptDate"
+                v-model="form.loadDate"
                 type="date"
                 value-format="yyyy-MM-dd"
-                placeholder="选择接单时间"
-                :disabled="true"
+                placeholder="选择提箱时间"
+                :disabled="disabled"
               >
               </el-date-picker>
             </el-form-item>
           </el-col>
           <el-col :span="6">
-            <el-form-item label="提箱时间" prop="loadDate">
-              <el-date-picker
-                clearable
+            <el-form-item label="提箱备注" prop="loadRemarks">
+              <el-input
+                v-model="form.loadRemarks"
+                placeholder="请输入提箱备注"
                 size="mini"
                 style="width: 180px"
-                v-model="form.loadDate"
-                type="date"
-                value-format="yyyy-MM-dd"
-                placeholder="选择提箱时间"
-                :disabled="true"
-              >
-              </el-date-picker>
+                :disabled="disabled"
+              />
             </el-form-item>
           </el-col>
           <el-col :span="6">
@@ -436,11 +432,22 @@
                 type="date"
                 value-format="yyyy-MM-dd"
                 placeholder="选择装卸货时间"
-                :disabled="true"
+                :disabled="disabled"
               >
               </el-date-picker>
             </el-form-item>
           </el-col>
+          <el-col :span="6">
+            <el-form-item label="装卸货备注" prop="mdLoadRemarks">
+              <el-input
+                v-model="form.mdLoadRemarks"
+                placeholder="请输入装卸货备注"
+                size="mini"
+                style="width: 180px"
+                :disabled="disabled"
+              />
+            </el-form-item>
+          </el-col>
           <!-- <el-col :span="6">
             <el-form-item label="还柜时间" prop="unLoadDate">
               <el-date-picker
@@ -456,6 +463,34 @@
               </el-date-picker>
             </el-form-item>
           </el-col> -->
+        </el-row>
+        <el-row>
+          <el-col :span="6">
+            <el-form-item label="还卸柜时间" prop="unLoadDate">
+              <el-date-picker
+                clearable
+                size="mini"
+                style="width: 180px"
+                v-model="form.unLoadDate"
+                type="date"
+                value-format="yyyy-MM-dd"
+                placeholder="选择还卸柜时间"
+                :disabled="disabled"
+              >
+              </el-date-picker>
+            </el-form-item>
+          </el-col>
+          <el-col :span="6">
+            <el-form-item label="还卸柜备注" prop="unLoadRemarks">
+              <el-input
+                v-model="form.unLoadRemarks"
+                placeholder="请输入还卸柜备注"
+                size="mini"
+                style="width: 180px"
+                :disabled="disabled"
+              />
+            </el-form-item>
+          </el-col>
           <el-col :span="6">
             <el-form-item label="回单时间" prop="waybillDate">
               <el-date-picker
@@ -466,12 +501,24 @@
                 type="date"
                 value-format="yyyy-MM-dd"
                 placeholder="选择回单时间"
-                :disabled="true"
+                 :disabled="disabled"
               >
               </el-date-picker>
             </el-form-item>
           </el-col>
+          <el-col :span="6">
+            <el-form-item label="回单备注" prop="waybillRemarks">
+              <el-input
+                v-model="form.waybillRemarks"
+                placeholder="请输入回单备注"
+                size="mini"
+                style="width: 180px"
+                :disabled="disabled"
+              />
+            </el-form-item>
+          </el-col>
         </el-row>
+
         <el-row>
           <el-col :span="6">
             <el-form-item label="油气费" prop="oilAmt">
@@ -621,7 +668,6 @@
         </el-row>
       </el-form>
       <el-collapse v-model="collapses">
-       
         <el-collapse-item v-if="userType == '00'">
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
@@ -978,7 +1024,7 @@
             </el-table>
           </div>
         </el-collapse-item>
-         <el-collapse-item>
+        <el-collapse-item>
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
               ><span
@@ -1027,20 +1073,22 @@
                     v-model="scope.row.attachName"
                     placeholder="附件名称"
                     show-word-limit
+                    :disabled="disabled"
                   />
                 </template>
               </el-table-column>
               <el-table-column
-                prop="opuserID "
+                prop="createBy "
                 header-align="center"
                 align="center"
                 label="上传人"
               >
                 <template slot-scope="scope">
                   <el-input
-                    v-model="scope.row.opuserID"
+                    v-model="scope.row.createBy"
                     placeholder="上传人"
                     show-word-limit
+                    :disabled="disabled"
                   />
                 </template>
               </el-table-column>
@@ -1172,6 +1220,10 @@ export default {
       default: [],
     },
     disabled: Boolean,
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1220,7 +1272,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1287,7 +1338,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 4 - 0
src/views/track/cabinet/index.vue

@@ -368,6 +368,7 @@
       :form="form"
       :DList="DList"
       :CList="CList"
+      :relevantAttachments="relevantAttachments"
       :disabled="disabled"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
@@ -406,6 +407,7 @@ export default {
       showSearch: true,
       // 订单主表格数据
       ftmsorderbillscarsList: [],
+      relevantAttachments:[],
       // 总条数
       total: 0,
       // 查询参数
@@ -1144,6 +1146,7 @@ export default {
       };
       this.disabled = false;
       this.resetForm("form");
+      this.relevantAttachments=[]
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -1176,6 +1179,7 @@ export default {
         }
         this.title = "查看装卸柜";
         this.form = response.data.cars;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 10 - 6
src/views/track/goods/AddOrUpdate.vue

@@ -342,7 +342,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-        
+
         <el-row>
           <el-col :span="6">
             <el-form-item label="起始里程" prop="odometerFrom">
@@ -474,7 +474,6 @@
         </el-row>
       </el-form>
       <el-collapse v-model="collapses">
-        
         <el-collapse-item v-if="userType == '00'">
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
@@ -880,20 +879,22 @@
                     v-model="scope.row.attachName"
                     placeholder="附件名称"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
               <el-table-column
-                prop="opuserID "
+                prop="createBy "
                 header-align="center"
                 align="center"
                 label="上传人"
               >
                 <template slot-scope="scope">
                   <el-input
-                    v-model="scope.row.opuserID"
+                    v-model="scope.row.createBy"
                     placeholder="上传人"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
@@ -1025,6 +1026,10 @@ export default {
       default: [],
     },
     disabled: Boolean,
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1073,7 +1078,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1140,7 +1144,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 4 - 0
src/views/track/goods/index.vue

@@ -366,6 +366,7 @@
       :DList="DList"
       :CList="CList"
       :disabled="disabled"
+      :relevantAttachments="relevantAttachments"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
       ref="addOrUpdateRef"
@@ -403,6 +404,7 @@ export default {
       showSearch: true,
       // 订单主表格数据
       ftmsorderbillscarsList: [],
+      relevantAttachments:[],
       // 总条数
       total: 0,
       // 查询参数
@@ -973,6 +975,7 @@ export default {
       };
       this.disabled = false;
       this.resetForm("form");
+      this.relevantAttachments=[]
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -1005,6 +1008,7 @@ export default {
         }
         this.title = "查看装卸货";
         this.form = response.data.cars;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 12 - 8
src/views/track/meetSingle/AddOrUpdate.vue

@@ -342,7 +342,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-       
+
         <el-row>
           <el-col :span="6">
             <el-form-item label="起始里程" prop="odometerFrom">
@@ -395,7 +395,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-         <el-row>
+        <el-row>
           <!-- <el-col :span="6">
             <el-form-item label="接单时间" prop="acceptDate">
               <el-date-picker
@@ -474,7 +474,6 @@
         </el-row>
       </el-form>
       <el-collapse v-model="collapses">
-       
         <el-collapse-item v-if="userType == '00'">
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
@@ -831,7 +830,7 @@
             </el-table>
           </div>
         </el-collapse-item>
-         <el-collapse-item>
+        <el-collapse-item>
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
               ><span
@@ -880,20 +879,22 @@
                     v-model="scope.row.attachName"
                     placeholder="附件名称"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
               <el-table-column
-                prop="opuserID "
+                prop="createBy "
                 header-align="center"
                 align="center"
                 label="上传人"
               >
                 <template slot-scope="scope">
                   <el-input
-                    v-model="scope.row.opuserID"
+                    v-model="scope.row.createBy"
                     placeholder="上传人"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
@@ -1025,6 +1026,10 @@ export default {
       default: [],
     },
     disabled: Boolean,
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1073,7 +1078,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1140,7 +1144,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 3 - 0
src/views/track/meetSingle/index.vue

@@ -367,6 +367,7 @@
       :DList="DList"
       :CList="CList"
       :disabled="disabled"
+      :relevantAttachments="relevantAttachments"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
       ref="addOrUpdateRef"
@@ -404,6 +405,7 @@ export default {
       showSearch: true,
       // 订单主表格数据
       ftmsorderbillscarsList: [],
+      relevantAttachments:[],
       // 总条数
       total: 0,
       // 查询参数
@@ -1006,6 +1008,7 @@ export default {
         }
         this.title = "查看接单";
         this.form = response.data.cars;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 12 - 8
src/views/track/receipt/AddOrUpdate.vue

@@ -342,7 +342,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-     
+
         <el-row>
           <el-col :span="6">
             <el-form-item label="起始里程" prop="odometerFrom">
@@ -395,7 +395,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-           <el-row>
+        <el-row>
           <el-col :span="6">
             <el-form-item label="接单时间" prop="acceptDate">
               <el-date-picker
@@ -474,7 +474,6 @@
         </el-row>
       </el-form>
       <el-collapse v-model="collapses">
-       
         <el-collapse-item v-if="userType == '00'">
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
@@ -831,7 +830,7 @@
             </el-table>
           </div>
         </el-collapse-item>
-         <el-collapse-item>
+        <el-collapse-item>
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
               ><span
@@ -880,20 +879,22 @@
                     v-model="scope.row.attachName"
                     placeholder="附件名称"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
               <el-table-column
-                prop="opuserID "
+                prop="createBy "
                 header-align="center"
                 align="center"
                 label="上传人"
               >
                 <template slot-scope="scope">
                   <el-input
-                    v-model="scope.row.opuserID"
+                    v-model="scope.row.createBy"
                     placeholder="上传人"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
@@ -1025,6 +1026,10 @@ export default {
       default: [],
     },
     disabled: Boolean,
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1073,7 +1078,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1140,7 +1144,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 4 - 0
src/views/track/receipt/index.vue

@@ -369,6 +369,7 @@
       :DList="DList"
       :CList="CList"
       :disabled="disabled"
+      :relevantAttachments="relevantAttachments"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
       ref="addOrUpdateRef"
@@ -778,6 +779,7 @@ export default {
       transTypeList: [],
       billTypeList: [],
       show: false,
+      relevantAttachments:[]
     };
   },
   // 使用子组件
@@ -976,6 +978,7 @@ export default {
       };
       this.disabled = false;
       this.resetForm("form");
+      this.relevantAttachments=[]
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -1008,6 +1011,7 @@ export default {
         }
         this.title = "查看回单";
         this.form = response.data.cars;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 11 - 6
src/views/track/suitcase/AddOrUpdate.vue

@@ -342,7 +342,7 @@
             </el-form-item>
           </el-col>
         </el-row>
-        
+
         <el-row>
           <el-col :span="6">
             <el-form-item label="起始里程" prop="odometerFrom">
@@ -830,7 +830,7 @@
             </el-table>
           </div>
         </el-collapse-item>
-          <el-collapse-item>
+        <el-collapse-item>
           <template slot="title">
             <i class="header-icon el-icon-circle-plus" style="font-size: 16px"
               ><span
@@ -879,20 +879,22 @@
                     v-model="scope.row.attachName"
                     placeholder="附件名称"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
               <el-table-column
-                prop="opuserID "
+                prop="createBy "
                 header-align="center"
                 align="center"
                 label="上传人"
               >
                 <template slot-scope="scope">
                   <el-input
-                    v-model="scope.row.opuserID"
+                    v-model="scope.row.createBy"
                     placeholder="上传人"
                     show-word-limit
+                     :disabled="disabled"
                   />
                 </template>
               </el-table-column>
@@ -1024,6 +1026,10 @@ export default {
       default: [],
     },
     disabled: Boolean,
+    relevantAttachments: {
+      type: Array,
+      default: [],
+    },
   },
   components: {
     UploadFile,
@@ -1072,7 +1078,6 @@ export default {
       transTypeList: [],
       transPropList: [],
       goodsLossTypeList: [],
-      relevantAttachments: [],
       cntrIdList: [],
       priceTypeList: [],
       userType: null,
@@ -1139,7 +1144,7 @@ export default {
       this.relevantAttachments.push({
         attachUrl: null,
         attachName: null,
-        opuserID: this.username,
+        createBy: this.username,
         opdata: Date.parse(new Date()),
       });
     },

+ 4 - 0
src/views/track/suitcase/index.vue

@@ -369,6 +369,7 @@
       :DList="DList"
       :CList="CList"
       :disabled="disabled"
+      :relevantAttachments="relevantAttachments"
       @changeShow="showAddOrUpdate"
       @fixDisabled="fixDisabled"
       ref="addOrUpdateRef"
@@ -396,6 +397,7 @@ export default {
   name: "plans",
   data() {
     return {
+      relevantAttachments:[],
       // 控制新增编辑弹窗的显示与隐藏
       addOrUpdateVisible: false,
       // 非单个禁用
@@ -976,6 +978,7 @@ export default {
       };
       this.disabled = false;
       this.resetForm("form");
+      this.relevantAttachments=[]
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -1008,6 +1011,7 @@ export default {
         }
         this.title = "查看提箱";
         this.form = response.data.cars;
+        this.relevantAttachments=response.data.attach;
         this.addOrUpdateVisible = !this.addOrUpdateVisible;
       });
     },

+ 4 - 2
src/views/warehouseBusiness/cargoClearance/index.vue

@@ -2947,7 +2947,7 @@ export default {
         },
         {
           surface: "8",
-          label: "createTime",
+          label: "fBsdate",
           name: "调拨日期",
           checked: 0,
           width: 100,
@@ -3061,7 +3061,7 @@ export default {
         },
         {
           surface: "8",
-          label: "createTime",
+          label: "fBsdate",
           name: "调拨日期",
           checked: 0,
           width: 100,
@@ -5225,6 +5225,7 @@ export default {
           }
           if (dataList.length !== 0) {
             let formData = new window.FormData();
+            formData.append("type", "2");
             formData.append("warehouseBills", JSON.stringify(this.form));
             formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
             formData.append("warehousebillsitems", JSON.stringify(dataList));
@@ -5281,6 +5282,7 @@ export default {
       }
       let formData = new window.FormData();
       let withdrawList = JSON.parse(JSON.stringify(this.dataWithdrawList))
+      formData.append("type","2");
       formData.append("warehouseBills", JSON.stringify(this.form));
       formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
       formData.append("warehousebillsitems", JSON.stringify(this.dataWithdrawList));

+ 8 - 4
src/views/warehouseBusiness/goodsTransfer/index.vue

@@ -376,7 +376,11 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '录入' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '驳回'
+            "
             @click="handleUpdate(scope.row, false)"
             v-hasPermi="['warehouseBusiness:goodsTransfer:edit']"
           >修改
@@ -385,7 +389,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            v-if="scope.row.fBillstatus === 4 || scope.row.fBillstatus === 5"
+            v-if="scope.row.fBillstatus == '请核'  || scope.row.fBillstatus == '审核中' "
             @click="check(scope.row)"
             v-hasPermi="['warehouseBusiness:goodsTransfer:edit']"
           >审批进度
@@ -394,7 +398,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fItemsStatus === 1"
+            v-if="scope.row.fItemsStatus == '计划'"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:goodsTransfer:remove']"
           >删除
@@ -1808,7 +1812,7 @@
     warehouseSubmission,
     delGoodsTransfer,
     delgoodsTransfer_s,
-    exportGoodsTransfer
+    exportgoodsTransfer
   } from '@/api/warehouseBusiness/goodsTransfer'
   import { updateCredit } from '@/api/warehouseBusiness/goodsTransfer'
   import { listCorps } from '@/api/basicdata/corps'

+ 5 - 5
src/views/warehouseBusiness/inStock/index.vue

@@ -417,9 +417,9 @@
             type="text"
             icon="el-icon-edit"
             v-if="
-              scope.row.fBillstatus === 1 ||
-              scope.row.fBillstatus === 2 ||
-              scope.row.fBillstatus === 3
+              scope.row.fBillstatus == '录入' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '驳回'
             "
             @click="handleUpdate(scope.row, false)"
             v-hasPermi="['warehouseBusiness:inStock:edit']"
@@ -429,7 +429,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fItemsStatus === 1"
+            v-if="scope.row.fItemsStatus == '计划'"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:inStock:remove']"
           >删除
@@ -438,7 +438,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fBillstatus === 4 || scope.row.fBillstatus === 5"
+            v-if="scope.row.fBillstatus == '请核'  || scope.row.fBillstatus == '审核中' "
             @click="handleUpdate(scope.row, true)"
           >审核进度
           </el-button>

+ 5 - 5
src/views/warehouseBusiness/outStock/index.vue

@@ -394,9 +394,9 @@
             type="text"
             icon="el-icon-edit"
             v-if="
-              scope.row.fBillstatus === 1 ||
-              scope.row.fBillstatus === 2 ||
-              scope.row.fBillstatus === 3
+              scope.row.fBillstatus == '录入' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '驳回'
             "
             @click="handleUpdate(scope.row, false)"
             v-hasPermi="['warehouseBusiness:outStock:edit']"
@@ -406,7 +406,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fItemsStatus === 1"
+            v-if="scope.row.fItemsStatus == '计划'"
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:outStock:remove']"
           >删除
@@ -415,7 +415,7 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fBillstatus === 4 || scope.row.fBillstatus === 5"
+            v-if="scope.row.fBillstatus == '请核'  || scope.row.fBillstatus == '审核中' "
             @click="handleUpdate(scope.row, true)"
           >审核进度
           </el-button>

+ 10 - 5
src/views/warehouseBusiness/stockTransfer/index.vue

@@ -385,7 +385,7 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            v-if="scope.row.fBillstatus === 4 || scope.row.fBillstatus === 5"
+            v-if="scope.row.fBillstatus == '请核'  || scope.row.fBillstatus == '审核中' "
             @click="check(scope.row, true)"
             v-hasPermi="['warehouseBusiness:stockTransfer:edit']"
           >审批进度
@@ -394,7 +394,11 @@
             size="mini"
             type="text"
             icon="el-icon-edit"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '录入' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '驳回'
+            "
             @click="handleUpdate(scope.row, false)"
             v-hasPermi="['warehouseBusiness:stockTransfer:edit']"
             >修改
@@ -404,7 +408,7 @@
             type="text"
             icon="el-icon-delete"
             @click="handleDelete(scope.row)"
-            v-if="scope.row.fItemsStatus === 1"
+            v-if="scope.row.fItemsStatus == '计划'"
             v-hasPermi="['warehouseBusiness:stockTransfer:remove']"
             >删除
           </el-button>
@@ -2929,7 +2933,7 @@ export default {
         },
         {
           surface: "8",
-          label: "createTime",
+          label: "fBsdate",
           name: "调拨日期",
           checked: 0,
           width: 100,
@@ -3043,7 +3047,7 @@ export default {
         },
         {
           surface: "8",
-          label: "createTime",
+          label: "fBsdate",
           name: "调拨日期",
           checked: 0,
           width: 100,
@@ -5199,6 +5203,7 @@ export default {
           }
           if (dataList.length !== 0) {
             let formData = new window.FormData();
+            formData.append("type", "1");
             formData.append("warehouseBills", JSON.stringify(this.form));
             formData.append("tEnclosure", JSON.stringify(this.relevantAttachments));
             formData.append("warehousebillsitems", JSON.stringify(dataList));

+ 15 - 6
src/views/warehouseBusiness/storageFeeCalculation/index.vue

@@ -282,14 +282,14 @@
         sortable
         prop="fBillstatus"
       >
-        <template slot-scope="scope">
+<!--        <template slot-scope="scope">
           <span v-if="scope.row.fBillstatus === 1">新建</span>
           <span v-if="scope.row.fBillstatus === 2">暂存</span>
           <span v-if="scope.row.fBillstatus === 3">审核驳回</span>
           <span v-if="scope.row.fBillstatus === 4">提交审核</span>
           <span v-if="scope.row.fBillstatus === 5">审核中</span>
           <span v-if="scope.row.fBillstatus === 6">审核通过</span>
-        </template>
+        </template>-->
       </el-table-column>
       <el-table-column
         label="制单人"
@@ -327,14 +327,18 @@
             icon="el-icon-view"
             @click="handleUpdate(scope.row, true)"
             v-hasPermi="['warehouseBusiness:storageFeeCalculation:edit']"
-            v-if="scope.row.fBillstatus == 4 || scope.row.fBillstatus == 5"
+            v-if="scope.row.fBillstatus == '请核'  || scope.row.fBillstatus == '审核中' "
           >审批进度</el-button
           >
           <el-button
             size="mini"
             type="text"
             icon="el-icon-edit"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '录入' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '驳回'
+            "
             @click="handleUpdate(scope.row, false)"
             v-hasPermi="['warehouseBusiness:storageFeeCalculation:edit']"
           >修改
@@ -343,7 +347,11 @@
             size="mini"
             type="text"
             icon="el-icon-delete"
-            v-if="scope.row.fBillstatus <= 3"
+            v-if="
+              scope.row.fBillstatus == '录入' ||
+              scope.row.fBillstatus == '暂存'  ||
+              scope.row.fBillstatus == '驳回'
+            "
             @click="handleDelete(scope.row)"
             v-hasPermi="['warehouseBusiness:storageFeeCalculation:remove']"
           >删除
@@ -1009,7 +1017,8 @@
     updateStorageFeeCalculation,
     exportStorageFeeCalculation,
     exportWarehousebillsitems,
-    delstorageFeeCalculation_s
+    delstorageFeeCalculation_s,
+    exportWarehousebills
   } from "@/api/warehouseBusiness/storageFeeCalculation";
   import { listUser, queryUserVal } from "@/api/system/user";
   import { listGoods } from "@/api/basicdata/goods";