Преглед изворни кода

fix:补录订单-暂存订单功能实现

test пре 2 година
родитељ
комит
16460f4a7b

+ 9 - 0
src/http/moudules/task.js

@@ -1608,6 +1608,15 @@ export const rejectPage = (data) => {
   })
 }
 
+export const stagePage = (data) => {
+  return axios({
+    url: "/api/externalOrder/stagePage",
+    method: "post",
+    data
+  })
+}
+
+
 
 
 export const selectProject = (data) => {

+ 229 - 140
src/views/Task/External/ExternalOrders.vue

@@ -1,155 +1,244 @@
 <template>
-    <div>
-        <div class="flex f-c back">
-            <el-form class="demo-ruleForm" :model="salespersonForm" label-width="100px" size="small"
-                style="margin-top: 15px">
-                <el-row type="flex" justify="space-between">
-                    <el-col :span="5">
-                        <el-form-item label="工号">
-                            <el-input placeholder="请输入工号" v-model="salespersonForm.userId" maxlength="17" type="text"
-                                show-word-limit>
-                                <el-button slot="append" type="primary" icon="el-icon-search" @click="toChooseName()"
-                                    style="color: #fff;background-color:#D42426;border-color:#D42426;"></el-button>
-                            </el-input>
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="5">
-                        <el-form-item label="业务员" prop="name">
-                            <el-input placeholder="请输入业务员" v-model="salespersonForm.name" type="text" show-word-limit>
-                                <el-button slot="append" type="primary" icon="el-icon-search" @click="toChooseName()"
-                                    style="color: #fff;background-color:#D42426;border-color:#D42426;"></el-button>
-                            </el-input>
-                        </el-form-item>
-                    </el-col>
+  <div>
+    <div class="flex f-c back">
+      <el-form
+        class="demo-ruleForm"
+        :model="salespersonForm"
+        label-width="100px"
+        size="small"
+        style="margin-top: 15px"
+      >
+        <el-row type="flex" justify="space-between">
+          <el-col :span="5">
+            <el-form-item label="工号">
+              <el-input
+                placeholder="请输入工号"
+                v-model="operationForm.userId"
+                maxlength="17"
+                type="text"
+                show-word-limit
+              >
+                <el-button
+                  slot="append"
+                  type="primary"
+                  icon="el-icon-search"
+                  @click="toChooseName('un')"
+                  style="
+                    color: #fff;
+                    background-color: #d42426;
+                    border-color: #d42426;
+                  "
+                ></el-button>
+              </el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="5">
+            <el-form-item label="业务员" prop="name">
+              <el-input
+                placeholder="请输入业务员"
+                v-model="operationForm.name"
+                type="text"
+                show-word-limit
+              >
+                <el-button
+                  slot="append"
+                  type="primary"
+                  icon="el-icon-search"
+                  @click="toChooseName('un')"
+                  style="
+                    color: #fff;
+                    background-color: #d42426;
+                    border-color: #d42426;
+                  "
+                ></el-button>
+              </el-input>
+            </el-form-item>
+          </el-col>
 
-                    <el-col :span="5">
-                        <el-form-item label="工号类型">
-                            <el-select v-model="salespersonForm.noType" disabled>
-                                <el-option label="业务员" value="A"></el-option>
-                                <el-option label="代理人" value="B"></el-option>
-                            </el-select>
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="5">
-                        <el-form-item label="归属">
-                            <el-input v-model="salespersonForm.deptName" disabled></el-input>
-                        </el-form-item>
-                    </el-col>
-                </el-row>
-            </el-form>
-        </div>
-        <div class="quotation-content">
-        <Ktletter ref="Ktletter" isLetter="3"></Ktletter>
-            </div>
-        <el-dialog title="业务员信息" :visible.sync="dialogVisible">
-            <el-form :inline="true" class="demo-form-inline" size="small" label-width="80px" :model="salespersonForm">
-                <el-row :gutter="20">
-                    <el-col :span="12">
-                        <el-form-item label="工号">
-                            <el-input v-model="salespersonForm.userId" placeholder="工号" clearable></el-input>
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="12">
-                        <el-form-item label="业务员">
-                            <el-input v-model="salespersonForm.name" placeholder="业务员" clearable></el-input>
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="12">
-                        <el-form-item label="手机号">
-                            <el-input v-model="salespersonForm.mobile" placeholder="手机号" clearable></el-input>
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="9">
-                        <el-form-item label="身份证号">
-                            <el-input v-model="salespersonForm.identity" placeholder="身份证号" clearable></el-input>
-                        </el-form-item>
-                    </el-col>
-                    <el-col :span="2">
-                        <el-form-item>
-                            <el-button type="primary" size="small" @click="toChooseName()">查询</el-button>
-                        </el-form-item>
-                    </el-col>
-                </el-row>
-            </el-form>
-            <el-table size="small" :data="salespersonData" height="690" border style="width: 100%"
-                :header-cell-style="{ background: '#F7F7F9 ', fontWeight: '700', color: '#333333' }" highlight-current-row
-                @row-dblclick="reslistCurrentChange">
-                <el-table-column prop="userId" label="工号" align="center"></el-table-column>
-                <el-table-column prop="name" label="	业务员名称" align="center"></el-table-column>
-                <el-table-column prop="mobile" label="手机号" align="center"></el-table-column>
-                <el-table-column prop="identity" label="身份证号" align="center"></el-table-column>
-            </el-table>
-        </el-dialog>
+          <el-col :span="5">
+            <el-form-item label="工号类型">
+              <el-select v-model="operationForm.noType" disabled>
+                <el-option label="业务员" value="A"></el-option>
+                <el-option label="代理人" value="B"></el-option>
+              </el-select>
+            </el-form-item>
+          </el-col>
+          <el-col :span="5">
+            <el-form-item label="归属">
+              <el-input v-model="operationForm.deptName" disabled></el-input>
+            </el-form-item>
+          </el-col>
+        </el-row>
+      </el-form>
     </div>
+    <div class="quotation-content">
+      <Ktletter ref="Ktletter" isLetter="3"></Ktletter>
+    </div>
+    <el-dialog title="业务员信息" :visible.sync="dialogVisible">
+      <el-form
+        :inline="true"
+        class="demo-form-inline"
+        size="small"
+        label-width="80px"
+        :model="salespersonForm"
+      >
+        <el-row :gutter="20">
+          <el-col :span="12">
+            <el-form-item label="工号">
+              <el-input
+                v-model="salespersonForm.userId"
+                placeholder="工号"
+                clearable
+              ></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="业务员">
+              <el-input
+                v-model="salespersonForm.name"
+                placeholder="业务员"
+                clearable
+              ></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="12">
+            <el-form-item label="手机号">
+              <el-input
+                v-model="salespersonForm.mobile"
+                placeholder="手机号"
+                clearable
+              ></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="9">
+            <el-form-item label="身份证号">
+              <el-input
+                v-model="salespersonForm.identity"
+                placeholder="身份证号"
+                clearable
+              ></el-input>
+            </el-form-item>
+          </el-col>
+          <el-col :span="2">
+            <el-form-item>
+              <el-button type="primary" size="small" @click="toChooseName('in')"
+                >查询</el-button
+              >
+            </el-form-item>
+          </el-col>
+        </el-row>
+      </el-form>
+      <el-table
+        size="small"
+        :data="salespersonData"
+        height="690"
+        border
+        style="width: 100%"
+        :header-cell-style="{
+          background: '#F7F7F9 ',
+          fontWeight: '700',
+          color: '#333333',
+        }"
+        highlight-current-row
+        @row-dblclick="reslistCurrentChange"
+      >
+        <el-table-column
+          prop="userId"
+          label="工号"
+          align="center"
+        ></el-table-column>
+        <el-table-column
+          prop="name"
+          label="	业务员名称"
+          align="center"
+        ></el-table-column>
+        <el-table-column
+          prop="mobile"
+          label="手机号"
+          align="center"
+        ></el-table-column>
+        <el-table-column
+          prop="identity"
+          label="身份证号"
+          align="center"
+        ></el-table-column>
+      </el-table>
+    </el-dialog>
+  </div>
 </template>
 <script>
 import Ktletter from "../daikeComponents/KtLetter.vue";
 export default {
-    name: 'letter',
-    components: { Ktletter },
-    data() {
-        return {
-            dialogVisible: false,
-            salespersonData: [],
-            salespersonForm: {},
-        }
-    },
-    created(){
-   
+  name: "letter",
+  components: { Ktletter },
+  data() {
+    return {
+      dialogVisible: false,
+      salespersonData: [],
+      salespersonForm: {},
+      operationForm: {},
+    };
   },
-  mounted(){
-    if(this.$route.query.data){
-        this.salespersonForm={
-            userId:this.$route.query.data.userid ,
-            name:this.$route.query.data.username,
-            deptName:this.$route.query.data.deptname
-        }
-            this.$refs.Ktletter.policyNumberForm=this.$route.query.data
-            this.$refs.Ktletter.obtainProtocol(this.$route.query.data)
-        }
-        else{
-            this.$message({
-            showClose: true,
-            message: '请先输入业务员,再进行操作!!!',
-            type: 'warning',
-            duration:10000
-            });
+  created() {},
+  mounted() {
+    if (this.$route.query.data) {
+      this.salespersonForm = {
+        userId: this.$route.query.data.userid,
+        name: this.$route.query.data.username,
+        deptName: this.$route.query.data.deptname,
+      };
+      this.operationForm = {
+        userId: this.$route.query.data.userid,
+        name: this.$route.query.data.username,
+        deptName: this.$route.query.data.deptname,
+      };
+      this.$refs.Ktletter.policyNumberForm = this.$route.query.data;
+      this.$refs.Ktletter.obtainProtocol(this.$route.query.data);
+    } else {
+      this.$message({
+        showClose: true,
+        message: "请先输入业务员,再进行操作!!!",
+        type: "warning",
+        duration: 10000,
+      });
+    }
+  },
+  methods: {
+    //业务列表双击选中事件
+    reslistCurrentChange(row, column, event) {
+      //   this.salespersonForm = row; //名称
+      this.operationForm = row;
+      this.$refs.Ktletter.add();
+      this.$refs.Ktletter.userId = row.userId;
+      this.$refs.Ktletter.obtainProtocol();
+      this.dialogVisible = false;
+    },
+    toChooseName(type) {
+      const loading = this.$loading({
+        lock: true,
+        text: "Loading",
+        spinner: "el-icon-loading",
+        background: "rgba(0, 0, 0, 0.7)",
+      });
+      // if()
+      const object =
+        type == "un" ? { ...this.operationForm } : { ...this.salespersonForm };
+      this.$api.task.getAllUsersByHospitality({ ...object }).then((res) => {
+        if (res.code == "200") {
+          this.salespersonData = res.data;
+          loading.close();
+          this.dialogVisible = true;
+        } else {
+          loading.close();
+          this.$message.error(res.msg);
         }
+      });
+    },
   },
-    methods: {
-        //业务列表双击选中事件
-        reslistCurrentChange(row, column, event) {
-            this.salespersonForm = row; //名称
-            this.$refs.Ktletter.add()
-            this.$refs.Ktletter.userId = row.userId
-            this.$refs.Ktletter.obtainProtocol()
-            this.dialogVisible = false;
-        },
-        toChooseName() {
-            const loading = this.$loading({
-                lock: true,
-                text: "Loading",
-                spinner: "el-icon-loading",
-                background: "rgba(0, 0, 0, 0.7)"
-            });
-            this.$api.task.getAllUsersByHospitality({ ... this.salespersonForm }).then(res => {
-                if (res.code == "200") {
-                    this.salespersonData = res.data;
-                    loading.close();
-                    this.dialogVisible = true;
-                } else {
-                    loading.close();
-                    this.$message.error(res.msg);
-                }
-            });
-        },
-
-    }
-}
+};
 </script>
 <style lang="scss" scoped>
-
-.quotation-content{
+.quotation-content {
   overflow-y: auto;
   height: 80vh;
 }

+ 165 - 159
src/views/Task/External/RejectOrder.vue

@@ -1,12 +1,23 @@
 <template>
-    <!--布局容器-->
-    <div class="InvoicedAndSettled" style="width: 99%; margin-top: 0px">
-        <templateTable :formList="formList" :searchData.sync="searchData" :tableConfig="tableConfig" :data="tableData"
-            @findPage="findPage" @handleSearchList="handleSearchList"  :pagination="pageData">
-        </templateTable>
-        <el-dialog title="编辑" :visible.sync="dialogVisible" width="70%" :before-close="handleClose">
-
-            <!-- <templateTable ref="templateTable" :tableConfig="tableConfigDetail" :data="formTableData"
+  <!--布局容器-->
+  <div class="InvoicedAndSettled" style="width: 99%; margin-top: 0px">
+    <templateTable
+      :formList="formList"
+      :searchData.sync="searchData"
+      :tableConfig="tableConfig"
+      :data="tableData"
+      @findPage="findPage"
+      @handleSearchList="handleSearchList"
+      :pagination="pageData"
+    >
+    </templateTable>
+    <el-dialog
+      title="编辑"
+      :visible.sync="dialogVisible"
+      width="70%"
+      :before-close="handleClose"
+    >
+      <!-- <templateTable ref="templateTable" :tableConfig="tableConfigDetail" :data="formTableData"
                 @findPage="findPageDetail">
                 <template slot="settlementAmount" slot-scope="scope">
                     <el-input v-model="scope.row.invoicCommissionFeevalue" style="width:120px" size="mini"></el-input>
@@ -16,169 +27,164 @@
                 <el-button size="small" @click="submitBalance" type="primary">结算</el-button>
                 <el-button size="small" @click="dialogVisible = false">取消</el-button>
             </span> -->
-        </el-dialog>
-        
-       
-    </div>
+    </el-dialog>
+  </div>
 </template>
 <script>
-import templateTable from '@/components/TemplateTable/index.vue'
-import { mapState } from 'vuex'
+import templateTable from "@/components/TemplateTable/index.vue";
+import { mapState } from "vuex";
 
 export default {
-    name: "baosi",
-    components: { templateTable },
-    created() {
-    },
-    computed: {
-        ...mapState({
-            perms: state => state.user.perms
-        })
+  name: "baosi",
+  components: { templateTable },
+  created() {},
+  computed: {
+    ...mapState({
+      perms: (state) => state.user.perms,
+    }),
+  },
+  data() {
+    return {
+      fileList: [],
+      searchData: {},
+      formList: [
+        {
+          label: "订单号",
+          prop: "id",
+          type: "input",
+        },
+        {
+          label: "审核人",
+          prop: "auditname",
+          type: "input",
+        },
+        {
+          label: "车牌号",
+          prop: "licenseno",
+          type: "input",
+        },
+      ],
+      tableConfig: {
+        columns: [
+          {
+            prop: "id",
+            label: "订单号",
+            type: "text",
+          },
+          {
+            prop: "auditname",
+            label: "审核人",
+            type: "text",
+          },
+          {
+            prop: "licenseno",
+            label: "车牌号",
+            type: "text",
+          },
+          {
+            prop: "rejectinfo",
+            label: "驳回原因",
+            type: "text",
+          },
+          {
+            prop: "jqpremium",
+            label: "交强保费",
+            type: "text",
+          },
+          {
+            prop: "sypremium",
+            label: "商业保费",
+            type: "text",
+          },
+          {
+            prop: "taxamount",
+            label: "车船税",
+            type: "text",
+          },
+          {
+            prop: "sumpremium",
+            label: "保费合计",
+            type: "text",
+          },
+        ],
+        loading: true,
+        isPaginationShow: true,
+        optBtns: [
+          {
+            type: "primary",
+            label: "编辑",
+            click: (row, index) => {
+              return this.haldNewDetail(row);
+            },
+          },
+        ],
+      },
+      tableData: [],
+      pageData: {
+        pageNum: 1,
+        pageSize: 20,
+      },
+      dialogVisible: false,
+    };
+  },
+  created() {
+    this.findPage();
+  },
+  methods: {
+    // 查询
+    handleSearchList(data) {
+      this.findPage(data);
     },
-    data() {
-        return {
-            fileList: [],
-            searchData: {},
-            formList: [
-                {
-                    label: "订单号",
-                    prop: "id",
-                    type: "input",
-                },
-                {
-                    label: "审核人",
-                    prop: "auditname",
-                    type: "input",
-                },
-                {
-                    label: "车牌号",
-                    prop: "licenseno",
-                    type: "input",
-                },
-            ],
-            tableConfig: {
-                columns: [
-                    {
-                        prop: "id",
-                        label: "订单号",
-                        type: "text"
-                    },
-                    {
-                        prop: "auditname",
-                        label: "审核人",
-                        type: "text"
-                    },
-                    {
-                        prop: "licenseno",
-                        label: "车牌号",
-                        type: "text"
-                    },
-                    {
-                        prop: "rejectinfo",
-                        label: "驳回原因",
-                        type: "text"
-                    },
-                    {
-                        prop: "jqpremium",
-                        label: "交强保费",
-                        type: "text"
-                    },
-                    {
-                        prop: "sypremium",
-                        label: "商业保费",
-                        type: "text"
-                    },
-                    {
-                        prop: "taxamount",
-                        label: "车船税",
-                        type: "text"
-                    },
-                    {
-                        prop: "sumpremium",
-                        label: "保费合计",
-                        type: "text"
-                    },
-                ],
-                loading: true,
-                isPaginationShow: true,
-                optBtns: [
-                    {
-                        type: 'primary',
-                        label: '编辑',
-                        click: (row, index) => { return this.haldNewDetail(row) },
 
-                    }
-                ]
-            },
-            tableData: [],
-            pageData: {
-                pageNum: 1,
-                pageSize: 20,
+    //列表数据
+    findPage(data) {
+      this.tableConfig.loading = true;
+      this.$api.task.rejectPage({ ...this.pageData, ...data }).then((res) => {
+        if (res.code == 200) {
+          this.tableData = res.data.records;
+          this.pageData.pageNum = res.data.pageNum;
+          this.pageData.pageSize = res.data.pageSize;
+          this.pageData.totalSize = res.data.totalSize;
+          this.tableConfig.loading = false;
+        } else {
+          this.$message.error(res.msg);
+        }
+      });
+    },
+    haldNewDetail(row) {
+      this.$api.letter.getByOrderNo({ orderNo: row.orderno }).then((res) => {
+        if (res.code == 200) {
+          this.$router.push({
+            path: "/task/external/externalOrders",
+            query: {
+              data: {
+                ...res.data,
+                orderExternalStatus: row.orderExternalStatus,
+              },
             },
-            dialogVisible: false,
-           
-        };
+          });
+        } else {
+          this.$message.error(res.msg);
+        }
+      });
+      // this.dialogVisible = true
     },
-    created() {
-        this.findPage();
+    handleClose() {
+      this.findPage();
+      this.dialogVisible = false;
     },
-    methods: {
-        // 查询
-        handleSearchList(data) {
-            this.findPage(data);
-        },
-       
-        //列表数据
-        findPage(data) {
-            this.tableConfig.loading = true;
-            this.$api.task
-                .rejectPage({ ...this.pageData, ...data})
-                .then(res => {
-                    if (res.code == 200) {
-                        this.tableData = res.data.records 
-                        this.pageData.pageNum = res.data.pageNum;
-                        this.pageData.pageSize = res.data.pageSize;
-                        this.pageData.totalSize = res.data.totalSize;
-                        this.tableConfig.loading = false;
-                    }
-                    else {
-                        this.$message.error(res.msg)
-                    }
-                });
-        },
-        haldNewDetail(row){
-            this.$api.letter.getByOrderNo({ orderNo: row.orderno }).then(res => {
-                if (res.code == 200) {
-                    this.$router.push({
-                        path: "/task/external/externalOrders",
-                        query: { data: res.data },
-                    });
-                }
-                else {
-                    this.$message.error(res.msg)
-                }
-            })
-            // this.dialogVisible = true
 
-        },
-        handleClose() {
-            this.findPage()
-            this.dialogVisible = false
-        },
-       
-        tablePageChange(val) {
-            this.pageData.pageSize = val;
-            this.findPage();
-        },
-        tableCurrentChange(val) {
-            this.pageData.pageNum = val;
-            this.findPage();
-        },
-
-    }
+    tablePageChange(val) {
+      this.pageData.pageSize = val;
+      this.findPage();
+    },
+    tableCurrentChange(val) {
+      this.pageData.pageNum = val;
+      this.findPage();
+    },
+  },
 };
 </script>
       
 <style scoped lang="scss">
-
 </style>

+ 190 - 0
src/views/Task/External/TemporaryOrder.vue

@@ -0,0 +1,190 @@
+<template>
+  <!--布局容器-->
+  <div class="InvoicedAndSettled" style="width: 99%; margin-top: 0px">
+    <templateTable
+      :formList="formList"
+      :searchData.sync="searchData"
+      :tableConfig="tableConfig"
+      :data="tableData"
+      @findPage="findPage"
+      @handleSearchList="handleSearchList"
+      :pagination="pageData"
+    >
+    </templateTable>
+    <el-dialog
+      title="编辑"
+      :visible.sync="dialogVisible"
+      width="70%"
+      :before-close="handleClose"
+    >
+      <!-- <templateTable ref="templateTable" :tableConfig="tableConfigDetail" :data="formTableData"
+                @findPage="findPageDetail">
+                <template slot="settlementAmount" slot-scope="scope">
+                    <el-input v-model="scope.row.invoicCommissionFeevalue" style="width:120px" size="mini"></el-input>
+                </template>
+            </templateTable>
+            <span slot="footer" class="dialog-footer">
+                <el-button size="small" @click="submitBalance" type="primary">结算</el-button>
+                <el-button size="small" @click="dialogVisible = false">取消</el-button>
+            </span> -->
+    </el-dialog>
+  </div>
+</template>
+<script>
+import templateTable from "@/components/TemplateTable/index.vue";
+import { mapState } from "vuex";
+
+export default {
+  name: "baosi",
+  components: { templateTable },
+  created() {},
+  computed: {
+    ...mapState({
+      perms: (state) => state.user.perms,
+    }),
+  },
+  data() {
+    return {
+      fileList: [],
+      searchData: {},
+      formList: [
+        {
+          label: "订单号",
+          prop: "id",
+          type: "input",
+        },
+        // {
+        //     label: "审核人",
+        //     prop: "auditname",
+        //     type: "input",
+        // },
+        {
+          label: "车牌号",
+          prop: "licenseno",
+          type: "input",
+        },
+      ],
+      tableConfig: {
+        columns: [
+          {
+            prop: "id",
+            label: "订单号",
+            type: "text",
+          },
+          //   {
+          //     prop: "auditname",
+          //     label: "审核人",
+          //     type: "text",
+          //   },
+          {
+            prop: "licenseno",
+            label: "车牌号",
+            type: "text",
+          },
+          //   {
+          //     prop: "rejectinfo",
+          //     label: "驳回原因",
+          //     type: "text",
+          //   },
+          {
+            prop: "jqpremium",
+            label: "交强保费",
+            type: "text",
+          },
+          {
+            prop: "sypremium",
+            label: "商业保费",
+            type: "text",
+          },
+          {
+            prop: "taxamount",
+            label: "车船税",
+            type: "text",
+          },
+          {
+            prop: "sumpremium",
+            label: "保费合计",
+            type: "text",
+          },
+        ],
+        loading: true,
+        isPaginationShow: true,
+        optBtns: [
+          {
+            type: "primary",
+            label: "编辑",
+            click: (row, index) => {
+              return this.haldNewDetail(row);
+            },
+          },
+        ],
+      },
+      tableData: [],
+      pageData: {
+        pageNum: 1,
+        pageSize: 20,
+      },
+      dialogVisible: false,
+    };
+  },
+  created() {
+    this.findPage();
+  },
+  methods: {
+    // 查询
+    handleSearchList(data) {
+      this.findPage(data);
+    },
+
+    //列表数据
+    findPage(data) {
+      this.tableConfig.loading = true;
+      this.$api.task.stagePage({ ...this.pageData, ...data }).then((res) => {
+        if (res.code == 200) {
+          this.tableData = res.data.records;
+          this.pageData.pageNum = res.data.pageNum;
+          this.pageData.pageSize = res.data.pageSize;
+          this.pageData.totalSize = res.data.totalSize;
+          this.tableConfig.loading = false;
+        } else {
+          this.$message.error(res.msg);
+        }
+      });
+    },
+    haldNewDetail(row) {
+      this.$api.letter.getByOrderNo({ orderNo: row.orderno }).then((res) => {
+        if (res.code == 200) {
+          this.$router.push({
+            path: "/task/external/externalOrders",
+            query: {
+              data: {
+                ...res.data,
+                orderExternalStatus: row.orderExternalStatus,
+              },
+            },
+          });
+        } else {
+          this.$message.error(res.msg);
+        }
+      });
+      // this.dialogVisible = true
+    },
+    handleClose() {
+      this.findPage();
+      this.dialogVisible = false;
+    },
+
+    tablePageChange(val) {
+      this.pageData.pageSize = val;
+      this.findPage();
+    },
+    tableCurrentChange(val) {
+      this.pageData.pageNum = val;
+      this.findPage();
+    },
+  },
+};
+</script>
+      
+<style scoped lang="scss">
+</style>

Разлика између датотеке није приказан због своје велике величине
+ 563 - 150
src/views/Task/daikeComponents/KtLetter.vue


Неке датотеке нису приказане због велике количине промена