From 329de8a777dbc880bc495559fc3aae51963663fb Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 17 十月 2022 17:11:47 +0800
Subject: [PATCH] 1.安灯设置静态页面实现部分

---
 src/views/sbgl/wxjl.vue             |   86 +
 /dev/null                           | 2579 ----------------------------------------------
 src/views/scgl/cngh.vue             |  194 +++
 src/api/jcsz.js                     |   67 +
 package.json                        |    2 
 src/components/DatePicker/index.vue |   60 
 src/views/jcsz/adsz.vue             |  326 +++++
 7 files changed, 714 insertions(+), 2,600 deletions(-)

diff --git a/package.json b/package.json
index 36a86fc..427342e 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
     "core-js": "3.6.5",
     "dayjs": "^1.11.5",
     "echarts": "^5.3.2",
-    "element-ui": "2.13.2",
+    "element-ui": "^2.15.6",
     "jquery": "^3.6.0",
     "js-cookie": "2.2.0",
     "lib-flexible": "^0.3.2",
diff --git a/src/api/jcsz.js b/src/api/jcsz.js
index 6fa81e2..46a4f16 100644
--- a/src/api/jcsz.js
+++ b/src/api/jcsz.js
@@ -230,3 +230,70 @@
     params: data
   })
 }
+// 瀹夌伅绯荤粺/鑷畾涔夊畨鐏懠鍙被鍨嬫煡璇�
+export function AnDengTypeSearch() {
+  return request({
+    url: 'BasicSetting/AnDengTypeSearch',
+    method: 'get'
+  })
+}
+// 瀹夌伅绯荤粺/鑷畾涔夊畨鐏懠鍙被鍨嬫柊澧�
+export function AddUpdateAnDengType(data) {
+  return request({
+    url: 'BasicSetting/AddUpdateAnDengType',
+    method: 'post',
+    data
+  })
+}
+// 瀹夌伅绯荤粺/鑷畾涔夊畨鐏懠鍙被鍨嬪垹闄�
+export function DeleteAnDengType(data) {
+  return request({
+    url: 'BasicSetting/DeleteAnDengType',
+    method: 'post',
+    params: data
+  })
+}
+
+// 瀹夌伅绯荤粺/鏌ヨ缁戝畾鐨勫搷搴斾汉鍛�
+export function AnDengResponUserSearch(data) {
+  return request({
+    url: 'BasicSetting/AnDengResponUserSearch',
+    method: 'get',
+    params: data
+  })
+}
+// 瀹夌伅绯荤粺/鏂板鍝嶅簲浜哄憳鏌ヨ宸茬粦瀹氱殑鍝嶅簲浜哄憳
+export function AnDengDigoResponUserSearch(data) {
+  return request({
+    url: 'BasicSetting/AnDengDigoResponUserSearch',
+    method: 'get',
+    params: data
+  })
+}
+
+// 瀹夌伅绯荤粺/鏂板鍝嶅簲浜哄憳鎻愪氦
+export function AnDengDigoResponUserSeave(wkshopcode, calltypecode, enable, data) {
+  return request({
+    url: 'BasicSetting/AnDengDigoResponUserSeave?wkshopcode=' + wkshopcode + '&calltypecode=' + calltypecode + '&enable=' + enable,
+    method: 'post',
+    data
+  })
+}
+
+// 瀹夌伅绯荤粺/鍝嶅簲浜哄憳鍏佽鍏抽棴
+export function AnDengResponUserCloseSeave(data) {
+  return request({
+    url: 'BasicSetting/AnDengResponUserCloseSeave',
+    method: 'post',
+    params: data
+  })
+}
+
+// 瀹夌伅绯荤粺/鍝嶅簲浜哄憳鍒犻櫎
+export function AnDengResponUserDeleteSeave(data) {
+  return request({
+    url: 'BasicSetting/AnDengResponUserDeleteSeave',
+    method: 'post',
+    params: data
+  })
+}
diff --git a/src/components/DatePicker/index.vue b/src/components/DatePicker/index.vue
index ae8f1e7..716a199 100644
--- a/src/components/DatePicker/index.vue
+++ b/src/components/DatePicker/index.vue
@@ -361,15 +361,57 @@
     dblChooseDate(date) {
       if (!this.isPastDue(date)) {
         clearTimeout(time)
-        this.dblDate = date
-        this.isDbl = true
-        this.changeTime = this.handleDatetime(date)
-        this.getCapacityPlanningOnclickSelect({
-          CaptPlanWorkShiftCode: this.defArr.find(item => item.name === this.changeTime).key,
-          captplanid: this.rowData.CaptPlanId,
-          datetime: this.handleDatetime(date)
-        })
-        this.getDblTime()
+        time = setTimeout(() => {
+          this.time = funsdates.getYearMonthDay(date)
+          if (typeof this.value === 'string') {
+            this.value = this.value.split(',')
+          }
+          // 鍙互鐐瑰嚮鐨勬棩鏈�
+          if (!this.isPastDue(date)) {
+            if ((this.value.indexOf(this.handleDatetime(date)) < 0 && this.value !== '') || this.value === '') { // 鏁扮粍娣诲姞
+              this.value.push(this.handleDatetime(date)) // 鏂板鍒癷nput閲�
+              const data = {
+                name: this.handleDatetime(date),
+                key: this.rowData.CaptPlanWorkShiftCode
+              }
+              this.defArr.push(data) // 鏂板鍒� 榛樿鏁扮粍閲�
+              this.dblDate = date
+              this.isDbl = true // 鍙充晶灞曞紑
+
+              this.changeTime = this.handleDatetime(date)
+
+              const DATA = {
+                CaptPlanWorkShiftCode: this.defArr.find(item => item.name === this.changeTime).key,
+                captplanid: this.rowData.CaptPlanId,
+                datetime: this.handleDatetime(date)
+              }
+              this.getCapacityPlanningOnclickSelect(DATA)
+              this.getDblTime()
+            } else if (this.value.indexOf(this.handleDatetime(date)) >= 0) {
+              this.dblDate = date
+              this.isDbl = true // 鍙充晶灞曞紑
+
+              this.changeTime = this.handleDatetime(date)
+
+              const DATA = {
+                CaptPlanWorkShiftCode: this.defArr.find(item => item.name === this.changeTime).key,
+                captplanid: this.rowData.CaptPlanId,
+                datetime: this.handleDatetime(date)
+              }
+              this.getCapacityPlanningOnclickSelect(DATA)
+              this.getDblTime()
+
+            //   const indexV = this.value.indexOf(this.handleDatetime(date))
+            //   this.value.splice(indexV, 1)
+            //   for (const i in this.defArr) {
+            //     if (this.defArr[i].name === this.handleDatetime(date)) {
+            //       this.defArr.splice(i, 1)
+            //     }
+            //   }
+            }
+          }
+          this.$emit('input', this.value)
+        }, 300)
       }
     },
     isDblDate(date) {
diff --git a/src/views/jcsz/adsz.vue b/src/views/jcsz/adsz.vue
index 17a92d8..319f824 100644
--- a/src/views/jcsz/adsz.vue
+++ b/src/views/jcsz/adsz.vue
@@ -1,11 +1,331 @@
-<template />
+<template>
+  <div>
+    <div class="body" :style="{height:mainHeight+'px'}">
+      <div class="body_left">
+        <div style="margin:10px 0">
+          <i class="el-icon-s-comment" style="color:#42b983;" /> 杞﹂棿淇℃伅锛�
+        </div>
+        <el-input
+          v-model="filterText"
+          placeholder="杈撳叆鍏抽敭瀛楄繘琛岃繃婊�"
+          style="margin-bottom: 20px"
+        />
+        <el-tree
+          ref="tree"
+          class="filter-tree"
+          :data="shopTree"
+          :props="defaultProps"
+          highlight-current
+          default-expand-all
+          :style="{height: contentHeight+'px',overflowY:'auto'}"
+          :filter-node-method="filterNode"
+        />
+      </div>
+      <div class="body_right">
+        <el-tabs type="border-card">
+          <el-tab-pane label="鐢ㄦ埛绠$悊">
+            <div :style="{height: (contentHeight+51)+'px'}">
+              <div class="pane_top">
+                <div style="display: flex;align-items: center">
+                  <div class="bar" />
+                  <div>鍝嶅簲浜哄憳</div>
+                  <el-button
+                    icon="el-icon-circle-plus-outline"
+                    style="height: 30px;line-height: 30px;color: #42b983;font-size: 22px;padding:   10px"
+                  />
+                </div>
+                <div>
+                  <el-checkbox v-model="allowClose">鍏佽鍏抽棴</el-checkbox>
+                </div>
+              </div>
+              <el-empty v-if="tags.length===0" :image-size="200" description="鏆傛棤鏁版嵁" />
+              <div v-else class="pane_content" :style="{maxHeight:contentHeight+'px',overflowY: 'scroll'}">
+                <el-tag
+                  v-for="tag in tags"
+                  :key="tag.name"
+                  closable
+                  type="success"
+                  style="margin-right: 10px;margin-bottom: 10px"
+                  @close="val=>tagClose(val,tag)"
+                >
+                  {{ tag.name }}
+                </el-tag>
+
+              </div>
+            </div>
+          </el-tab-pane>
+          <el-tab-pane label="閰嶇疆绠$悊">
+            <div :style="{height: (contentHeight+51)+'px'}">
+              閰嶇疆绠$悊
+            </div>
+          </el-tab-pane>
+          <el-tab-pane label="瑙掕壊绠$悊">
+            <div :style="{height: (contentHeight+51)+'px'}">
+              瑙掕壊绠$悊
+            </div>
+          </el-tab-pane>
+          <el-tab-pane label="瀹氭椂浠诲姟琛ュ伩">
+            <div :style="{height: (contentHeight+51)+'px'}">
+              瀹氭椂浠诲姟琛ュ伩
+            </div>
+          </el-tab-pane>
+        </el-tabs>
+        <el-button
+          style="position: absolute;top: 15px;right:10px;z-index: 1000"
+          icon="el-icon-setting"
+          @click="setting"
+        >鑷畾涔夊懠鍙被鍨�
+        </el-button>
+      </div>
+    </div>
+
+  </div>
+</template>
 
 <script>
+
+import { ShopSearch } from '@/api/dzkb'
+import { AnDengTypeSearch } from '@/api/jcsz'
+
 export default {
-  name: 'Adsz'
+  name: 'Zzjg',
+
+  data() {
+    return {
+      mainHeight: 0,
+      contentHeight: 0,
+      filterText: '',
+      shopTree: [], // 鏍戝舰杞﹂棿
+      defaultProps: {
+        children: 'children',
+        label: 'org_name'
+      },
+      allowClose: true, // 鍏佽鍏抽棴
+      tags: [
+        { name: '鏍囩涓�' },
+        { name: '鏍囩浜�' },
+        { name: '鏍囩涓�' },
+        { name: '鏍囩鍥�' }
+      ]
+
+    }
+  },
+  watch: {
+    filterText(val) {
+      this.$refs.tree.filter(val)
+    }
+  },
+  created() {
+    this.handleRequest()
+  },
+  mounted() {
+    window.addEventListener('resize', this.getHeight)
+    this.getHeight()
+  },
+  methods: {
+    handleRequest() {
+      this.getShopSearch().then(res => {
+        if (res.code === '200') {
+          this.getAnDengTypeSearch()
+        }
+      })
+    },
+    async getShopSearch() {
+      const { data: res } = await ShopSearch()
+      this.shopTree = res
+    },
+    async getAnDengTypeSearch() {
+      // const { data: res } = await AnDengTypeSearch()
+    },
+
+    // 杩囨护鑺傜偣
+    filterNode(value, data) {
+      if (!value) return true
+      return data.label.indexOf(value) !== -1
+    },
+    // 鑷畾涔夊懠鍙被鍨�
+    setting() {
+
+    },
+    // tag鍏抽棴浜嬩欢
+    tagClose(val, tag) {
+      console.log(val, tag)
+    },
+
+    // 鑾峰彇椤甸潰楂樺害
+    getHeight() {
+      this.$nextTick(() => {
+        this.mainHeight = window.innerHeight - 85
+        this.contentHeight = this.mainHeight - 142
+      })
+    }
+
+  }
 }
 </script>
 
-<style scoped>
+<!--鏈〉闈㈠崟鐙牱寮�-->
+<style lang="scss" scoped>
+$main_color: #42b983;
+.body {
+  display: flex;
+  flex-direction: row;
+}
 
+.body_left {
+  width: 360px;
+  background-color: #fff;
+  margin: 10px 0;
+  padding: 10px;
+  flex-direction: column;
+}
+
+.body_right {
+  width: 100%;
+  background-color: #fff;
+  margin: 10px 0 10px 10px;
+}
+
+.pane_top{
+  background-color: #fafafa;
+  height: 50px;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0 10px;
+  margin-bottom: 20px;
+  .bar{
+    width: 4px;
+    height: 20px;
+    border-radius: 2px;
+    background-color: $main_color;
+    margin-right: 10px;
+  }
+}
+.pane_content{
+  background-color: #fafafa;
+  padding: 10px;
+  min-height: 400px;
+}
+
+::v-deep .is-current>.el-tree-node__content{
+  background-color: $main_color;
+ font-weight: bolder;
+}
+</style>
+
+<!--鍏叡椤甸潰鏍峰紡-->
+<style lang="scss" scoped>
+$main_color: #42b983;
+
+::v-deep .el-button--text {
+  font-size: 14px;
+  cursor: pointer;
+}
+
+.el-icon-share, .el-icon-delete, .el-icon-edit-outline {
+  color: $main_color;
+  cursor: pointer;
+}
+
+.el-icon-edit-outline {
+  margin-right: 15px;
+}
+
+::v-deep .el-button--primary, .el-button--default, .el-button--info {
+  height: 34px;
+  display: flex;
+  align-items: center;
+  padding: 0 15px;
+}
+
+::v-deep .el-button--default {
+  background-color: #f8f8fa;
+  border: none;
+}
+
+::v-deep .el-input__inner {
+  height: 34px;
+  line-height: 34px;
+
+}
+
+::v-deep .el-dialog__body {
+  padding: 20px 100px !important;
+}
+
+::v-deep .dialogVisibleRoles .el-dialog__body {
+  padding: 20px 20px !important;
+}
+
+::v-deep .importPickerClass .el-dialog__body {
+  padding: 20px 20px !important;
+}
+
+::v-deep .el-dialog__footer {
+  display: flex;
+  justify-content: flex-end;
+}
+
+::v-deep .el-table .caret-wrapper {
+  transform: scale(0.8);
+}
+
+::v-deep .cell {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+}
+
+::v-deep .el-table::before {
+  height: 0;
+}
+
+::v-deep .el-table__body-wrapper {
+  background-color: #f8f8fa;
+}
+
+::v-deep .el-table__body .el-table__row.hover-row td {
+  background-color: #eaecef;
+}
+
+::v-deep .el-form--inline .el-form-item__label {
+  color: #a7a7a7;
+}
+
+.body ::v-deep .el-divider {
+  border: 1px solid #eee;
+  width: 99%;
+  margin: 10px auto;
+}
+
+.body ::v-deep .el-form-item {
+  margin-bottom: 0;
+}
+
+.userDialogVisible ::v-deep .el-form-item {
+  margin-bottom: 0;
+}
+
+::v-deep .el-select__caret {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.tableFixed {
+  ::v-deep .el-table__fixed-right {
+    height: 100% !important;
+  }
+
+  ::v-deep .el-table__fixed {
+    height: 100% !important;
+  }
+}
+</style>
+
+<style>
+.el-table .custom-row {
+  background: #f8f8fa;
+}
 </style>
diff --git a/src/views/sbgl/wxjl.vue b/src/views/sbgl/wxjl.vue
index 8fd105b..52d730f 100644
--- a/src/views/sbgl/wxjl.vue
+++ b/src/views/sbgl/wxjl.vue
@@ -267,7 +267,7 @@
                 style="width: 100px;margin-right: 10px"
                 :src="baseUrl+item.img1url"
                 alt=""
-                @click="handlePictureCardPreview(baseUrl+item.img1url)"
+                @click="handlePictureCardPreview(baseUrl+item.img1url,'璁惧鎶ヤ慨/鏁呴殰鍥剧墖')"
               >
             </div>
           </div>
@@ -283,7 +283,7 @@
                 style="width: 100px;margin-right: 10px"
                 :src="baseUrl+item.img1url"
                 alt=""
-                @click="handlePictureCardPreview(baseUrl+item.img1url)"
+                @click="handlePictureCardPreview(baseUrl+item.img1url,'璁惧缁翠慨/鏁呴殰鍥剧墖')"
               >
             </div>
           </div>
@@ -296,7 +296,7 @@
                 style="width: 100px;margin-right: 10px"
                 :src="baseUrl+item.img2url"
                 alt=""
-                @click="handlePictureCardPreview(baseUrl+item.img2url)"
+                @click="handlePictureCardPreview(baseUrl+item.img2url,'璁惧缁翠慨/澶囦欢鍥剧墖')"
               >
             </div>
           </div>
@@ -305,7 +305,14 @@
           <i class="el-icon-s-operation" style="color:#42b983;" /> 璁惧缁翠慨楠岃瘉淇℃伅锛�
         </div>
         <div style="display: flex;flex-direction: column;margin-left: 40px">
-          <div style="margin-bottom: 10px">楠岃瘉缁撴灉锛歿{ isResult }}</div>
+          <div style="margin-bottom: 10px;display: flex;">楠岃瘉缁撴灉锛�
+            <div
+              :style="{backgroundColor:isResult==='閫氳繃'? '#42b983':'red'}"
+              style="margin-top: 3px;margin-right: 5px;width:10px;height: 10px;border-radius: 50%;"
+            />
+            {{ isResult }}
+          </div>
+
         </div>
       </div>
       <!--      鍥剧墖棰勮瀵硅瘽妗�-->
@@ -316,7 +323,33 @@
         append-to-body
         @close="pictureHandleClose"
       >
-        <img width="100%" :src="pictureUrl" alt="">
+        <div style="font-size: 16px;margin-bottom: 10px">
+          <i class="el-icon-s-comment" style="color:#42b983;" /> {{ pictureName }}
+        </div>
+
+        <img :key="new Date()" width="100%" :src="pictureUrl" alt="">
+
+        <el-tooltip class="item" effect="light" content="涓婁竴寮�" placement="top">
+          <div
+            v-if="pictureUrlAll.findIndex(item => item.url === pictureUrl)!==0"
+            style="position: absolute;top: 48%;left: 3.5%;"
+          ><i
+            style="color:#fff;cursor: pointer;font-size: 20px"
+            class="el-icon-d-arrow-left"
+            @click="arrowLeftClick(pictureUrl,pictureName)"
+          /></div>
+        </el-tooltip>
+        <el-tooltip class="item" effect="light" content="涓嬩竴寮�" placement="top">
+          <div
+            v-if="pictureUrlAll.findIndex(item => item.url === pictureUrl)!==pictureUrlAll.length-1"
+            style="position: absolute;top: 48%;right: 3.5%;"
+          >
+            <i
+              style="color:#fff;cursor: pointer;font-size: 20px"
+              class="el-icon-d-arrow-right"
+              @click="arrowRightClick(pictureUrl,pictureName)"
+            /></div>
+        </el-tooltip>
         <span slot="footer" class="dialog-footer">
           <div class="footerButton">
             <el-button @click="pictureVisible=false">杩� 鍥�</el-button>
@@ -391,6 +424,8 @@
 
       pictureVisible: false, // 鍥剧墖棰勮瀵硅瘽妗�
       pictureUrl: '', // 鍥剧墖棰勮Url
+      pictureName: '', // 鍥剧墖棰勮鍚嶇О
+      pictureUrlAll: [], // 鍥剧墖棰勮鍦板潃鐨勬墍鏈塙rl
 
       title_value: '鏁版嵁瀵煎叆 / 鐐规閮ㄤ綅',
       code: '4',
@@ -506,19 +541,58 @@
       this.dialogData1 = res.data1
       this.dialogData2 = res.data2
       this.isResult = row.verify_result
+
+      // 璁惧鎶ヤ慨鍥剧墖闆嗗悎
+      if (this.dialogData1.faultimage) {
+        this.dialogData1.faultimage.forEach(item => {
+          this.pictureUrlAll.push(
+            { url: this.baseUrl + item.img1url, name: '璁惧鎶ヤ慨/鏁呴殰鍥剧墖' }
+          )
+        })
+      }
+      // 璁惧缁翠慨鍥剧墖闆嗗悎
+      if (this.dialogData2.repairimage) {
+        this.dialogData2.repairimage.forEach(item => {
+          this.pictureUrlAll.push(
+            {
+              url: item.img1url ? this.baseUrl + item.img1url : this.baseUrl + item.img2url,
+              name: item.img1url ? '璁惧缁翠慨/鏁呴殰鍥剧墖' : '璁惧缁翠慨/澶囦欢鍥剧墖'
+            }
+          )
+        })
+      }
     },
-    handlePictureCardPreview(url) {
+    handlePictureCardPreview(url, name) {
       this.pictureVisible = true
       this.pictureUrl = url
+      this.pictureName = name
+    },
+    arrowLeftClick(pictureUrl, pictureName) {
+      this.pictureUrlAll.forEach((item, index) => {
+        if (item.url === pictureUrl) {
+          this.pictureUrl = this.pictureUrlAll[index - 1].url
+          this.pictureName = this.pictureUrlAll[index - 1].name
+        }
+      })
+    },
+    arrowRightClick(pictureUrl, pictureName) {
+      this.pictureUrlAll.forEach((item, index) => {
+        if (item.url === pictureUrl) {
+          this.pictureUrl = this.pictureUrlAll[index + 1].url
+          this.pictureName = this.pictureUrlAll[index + 1].name
+        }
+      })
     },
     pictureHandleClose() {
       this.pictureUrl = ''
+      this.pictureName = ''
     },
     // 瀵硅瘽妗嗗叧闂簨浠�
     handleClose() {
       this.dialogData1 = {}
       this.dialogData2 = {}
       this.isResult = ''
+      this.pictureUrlAll = []
     },
     async download() {
       let reportdate = this.form.reportdate
diff --git a/src/views/scgl/cngh.vue b/src/views/scgl/cngh.vue
index 0c464f3..6cf076f 100644
--- a/src/views/scgl/cngh.vue
+++ b/src/views/scgl/cngh.vue
@@ -188,7 +188,9 @@
     >
       <el-button v-if="operation==='setting'" type="primary" @click="addRow">鏂板</el-button>
       <div class="elTableDiv">
+        <!--        閫夋嫨榛樿鏂规鐨勬椂鍊欐槸杩欎釜table-->
         <el-table
+          v-if="operation!=='setting'"
           ref="tableDataDialogRef"
           class="tableFixedDialog"
           :data="tableDataDialog"
@@ -200,8 +202,8 @@
           :header-cell-style="this.$headerCellStyle"
           :cell-style="this.$cellStyle"
         >
+
           <el-table-column
-            v-if="operation!=='setting'"
             width="50"
             fixed
           >
@@ -218,7 +220,6 @@
             prop="code"
             label="鏂规缂栫爜"
             width="100"
-            fixed
             show-tooltip-when-overflow
           >
             <template slot-scope="{row}">
@@ -384,6 +385,195 @@
             </template>
           </el-table-column>
         </el-table>
+        <!--      璁剧疆鐨勬椂鍊欐槸杩欎釜table-->
+        <el-table
+          v-else
+          ref="tableDataDialogRef"
+          class="tableFixedDialog"
+          :data="tableDataDialog"
+          :style="{width: 100+'%',height:(tableHeight-200)+'px'}"
+          border
+          :height="(tableHeight-200)+'px'"
+          :row-class-name="tableRowClassName"
+          highlight-current-row
+          :header-cell-style="this.$headerCellStyle"
+          :cell-style="this.$cellStyle"
+        >
+          <el-table-column
+            prop="code"
+            label="鏂规缂栫爜"
+            width="100"
+            fixed
+            show-tooltip-when-overflow
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">{{ row.code }}</div>
+              <el-input v-else v-model="row.code" placeholder="璇疯緭鍏�" type="text" />
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="name"
+            label="鏂规鍚嶇О"
+            width="150"
+            fixed
+            show-tooltip-when-overflow
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">{{ row.name }}</div>
+              <el-input v-else v-model="row.name" placeholder="璇疯緭鍏�" type="text" />
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="duration"
+            label="宸ヤ綔鏃堕暱"
+            width="100"
+            show-tooltip-when-overflow
+          >
+            <template slot-scope="{row}">
+              <div>{{ row.duration ? parseFloat(row.duration.toFixed(2)) : '0' }} 灏忔椂</div>
+            </template>
+          </el-table-column>
+
+          <el-table-column
+            prop="wktme1_start"
+            label="宸ヤ綔鏃堕棿涓�"
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">
+                <div v-if="row.wktme1_start">{{ row.wktme1_start }}</div>
+                <div v-else>/</div>
+              </div>
+              <el-time-picker
+                v-else
+                v-model="row.wktme1_start"
+                is-range
+                :editable="false"
+                :clearable="false"
+                range-separator="~"
+                start-placeholder="寮�濮�"
+                end-placeholder="缁撴潫"
+                format="HH:mm"
+                @blur="val=>getTime(val,row,'wktme1_start')"
+                @focus="val=>getTime(val,row,'wktme1_start')"
+              />
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="wktme2_start"
+            label="宸ヤ綔鏃堕棿浜�"
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">
+                <div v-if="row.wktme2_start">{{ row.wktme2_start }}</div>
+                <div v-else>/</div>
+              </div>
+              <el-time-picker
+                v-else-if="row.isVisible===1"
+                v-model="row.wktme2_start"
+                is-range
+                :disabled="row.wktme1_start.length===0"
+                :editable="false"
+                :clearable="false"
+                range-separator="~"
+                start-placeholder="寮�濮�"
+                end-placeholder="缁撴潫"
+                format="HH:mm"
+                @blur="val=>getTime(val,row,'wktme2_start')"
+                @focus="val=>getTime(val,row,'wktme2_start')"
+              />
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="wktme3_start"
+            label="宸ヤ綔鏃堕棿涓�"
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">
+                <div v-if="row.wktme3_start">{{ row.wktme3_start }}</div>
+                <div v-else>/</div>
+              </div>
+              <el-time-picker
+                v-else-if="row.isVisible===1"
+                v-model="row.wktme3_start"
+                is-range
+                :disabled="row.wktme2_start.length===0"
+                :editable="false"
+                :clearable="false"
+                format="HH:mm"
+                range-separator="~"
+                start-placeholder="寮�濮�"
+                end-placeholder="缁撴潫"
+                @blur="val=>getTime(val,row,'wktme3_start')"
+                @focus="val=>getTime(val,row,'wktme3_start')"
+              />
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="wktme4_start"
+            label="宸ヤ綔鏃堕棿鍥�"
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">
+                <div v-if="row.wktme4_start">{{ row.wktme4_start }}</div>
+                <div v-else>/</div>
+              </div>
+              <el-time-picker
+                v-else-if="row.isVisible===1"
+                v-model="row.wktme4_start"
+                is-range
+                :disabled="row.wktme3_start.length===0"
+                format="HH:mm"
+                :clearable="false"
+                :editable="false"
+                range-separator="~"
+                start-placeholder="寮�濮�"
+                end-placeholder="缁撴潫"
+                @blur="val=>getTime(val,row,'wktme4_start')"
+                @focus="val=>getTime(val,row,'wktme4_start')"
+              />
+
+            </template>
+          </el-table-column>
+          <el-table-column
+            prop="wktme5_start"
+            label="宸ヤ綔鏃堕棿浜�"
+          >
+            <template slot-scope="{row}">
+              <div v-if="row.isVisible===0">
+                <div v-if="row.wktme5_start">{{ row.wktme5_start }}</div>
+                <div v-else>/</div>
+              </div>
+              <el-time-picker
+                v-else-if="row.isVisible===1"
+                v-model="row.wktme5_start"
+                is-range
+                :disabled="row.wktme4_start.length===0"
+                :clearable="false"
+                :editable="false"
+                format="HH:mm"
+                range-separator="~"
+                start-placeholder="寮�濮�"
+                end-placeholder="缁撴潫"
+                @blur="val=>getTime(val,row,'wktme5_start')"
+                @focus="val=>getTime(val,row,'wktme5_start')"
+              />
+            </template>
+          </el-table-column>
+          <el-table-column
+            v-if="operation==='setting'"
+            width="100"
+            fixed="right"
+            label="鎿嶄綔"
+          >
+            <template slot-scope="{row}">
+              <div class="operationClass">
+                <el-button v-if="row.isVisible===0" type="text" @click="delRow(row)">鍒犻櫎</el-button>
+                <el-button v-if="row.isVisible===1" type="text" @click="saveRow(row)">淇濆瓨</el-button>
+                <el-button v-if="row.isVisible===1" type="text" @click="cancelRow(row)">鍙栨秷</el-button>
+              </div>
+            </template>
+          </el-table-column>
+        </el-table>
       </div>
       <span slot="footer" class="dialog-footer">
         <div class="footerButton">
diff --git a/src/views/scgl/gd_back.vue b/src/views/scgl/gd_back.vue
deleted file mode 100644
index 985f5fc..0000000
--- a/src/views/scgl/gd_back.vue
+++ /dev/null
@@ -1,2579 +0,0 @@
-<template>
-  <div>
-    <div class="body" :style="{height:mainHeight+'px'}">
-
-      <div class="bodyTopButtonGroup" style="justify-content: space-between">
-        <div style="display: flex">
-          <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>
-          <el-button type="primary" icon="el-icon-connection" @click="send('send')">娲惧彂</el-button>
-        </div>
-
-        <el-button icon="el-icon-switch-button" @click="orderClose">鍏抽棴宸ュ崟</el-button>
-      </div>
-
-      <div class="bodyTopFormGroup">
-        <el-form
-          ref="form"
-          :model="form"
-          label-width="80px"
-          inline
-          style="display: flex;justify-content: space-between"
-        >
-          <div class="elForm">
-            <el-form-item label="璁㈠崟鐘舵��" style=" display: flex;">
-              <el-select
-                v-model="form.mesorderstus"
-                :popper-append-to-body="false"
-                style="width: 200px"
-                placeholder="璇烽�夋嫨"
-                filterable
-                @change="erporderstusChange"
-              >
-                <el-option
-                  v-for="item in erporderstusArr"
-                  :key="item.code"
-                  :label="item.name"
-                  :value="item.code"
-                />
-              </el-select>
-            </el-form-item>
-            <el-form-item label="璁㈠崟缂栧彿" style=" display: flex;">
-              <el-input v-model="form.mesordercode" placeholder="璇疯緭鍏�" style="width: 200px" />
-            </el-form-item>
-            <el-form-item label="婧愬崟鍗曞彿" style="display: flex;">
-              <el-input v-model="form.sourceorder" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item label="鍗曟嵁绫诲瀷" style=" display: flex;">
-              <el-select
-                v-model="form.ordertype"
-                :popper-append-to-body="false"
-                style="width: 200px"
-                placeholder="璇烽�夋嫨"
-              >
-                <!--            @change="mesordertypeChange"-->
-                <el-option
-                  v-for="item in ordertypeArr"
-                  :key="item.code"
-                  :label="item.name"
-                  :value="item.code"
-                />
-              </el-select>
-            </el-form-item>
-            <el-form-item label="浜у搧缂栫爜" style=" display: flex;">
-              <el-input v-model="form.partcode" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item v-show="isExpandForm" label="浜у搧鍚嶇О" style=" display: flex;">
-              <el-input v-model="form.partname" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item v-show="isExpandForm" label="浜у搧瑙勬牸" style=" display: flex;">
-              <el-input v-model="form.partspec" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item v-show="isExpandForm" label="鍒涘缓浜哄憳" style=" display: flex;">
-              <el-input v-model="form.creatuser" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item v-show="isExpandForm" label="鍒涘缓鏃堕棿" style=" display: flex;">
-              <!--              <el-date-picker-->
-              <!--                v-model="form.createdate"-->
-              <!--                type="daterange"-->
-              <!--                :clearable="false"-->
-              <!--                range-separator="~"-->
-              <!--                start-placeholder="寮�濮嬫棩鏈�"-->
-              <!--                end-placeholder="缁撴潫鏃ユ湡"-->
-              <!--                size="mini"-->
-              <!--              />-->
-              <el-date-picker
-                v-model="form.createdate"
-                type="date"
-                size="mini"
-                :clearable="false"
-                class="dateMini"
-                format="yyyy-MM-dd"
-                placeholder="閫夋嫨鏃ユ湡"
-              />
-            </el-form-item>
-          </div>
-          <div>
-            <div style="display: flex;align-items: start;justify-content:end;margin-top: 5px;z-index: 2">
-              <el-button type="primary" icon="el-icon-search" @click="search">鏌ヨ</el-button>
-              <el-button type="info" icon="el-icon-refresh" @click="reset">閲嶇疆</el-button>
-            </div>
-            <!--            <div v-if="!isIpad" style="display: flex;align-items: start; margin-top: 15px;z-index: 2">-->
-            <!--              <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>-->
-            <!--              <el-button type="primary" icon="el-icon-connection" @click="send('send')">娲惧彂</el-button>-->
-            <!--              <el-button type="primary" icon="el-icon-switch-button">璁㈠崟鍏抽棴</el-button>-->
-            <!--            </div>-->
-            <!--            <div v-if="isIpad" style="display: flex;flex-direction: column;align-items: end">-->
-            <!--              <div style="display: flex;margin: 10px 0">-->
-            <!--                <el-button type="primary" icon="el-icon-circle-plus-outline" @click="add('add')">鏂板</el-button>-->
-            <!--                <el-button type="primary" icon="el-icon-connection" @click="send('send')">娲惧彂</el-button>-->
-            <!--              </div>-->
-            <!--              <el-button type="primary" icon="el-icon-switch-button">璁㈠崟鍏抽棴</el-button>-->
-            <!--            </div>-->
-
-          </div>
-        </el-form>
-      </div>
-
-      <div
-        class="bodyTopFormExpand"
-        @click="isExpandForm=!isExpandForm"
-      >
-        <i
-          :class="!isExpandForm?'el-icon-arrow-down':'el-icon-arrow-up'"
-          :style="{color:'#42B983'}"
-        /></div>
-
-      <div class="elTableDiv" style="margin-top: 0">
-        <el-table
-          :data="tableData"
-          :height="isExpandForm?tableHeight:(tableHeight+40)+'px'"
-          border
-          :row-class-name="tableRowClassName"
-          :style="{width: 100+'%',height:isExpandForm?tableHeight:(tableHeight+40)+'px',}"
-          highlight-current-row
-          :header-cell-style="this.$headerCellStyle"
-          :cell-style="this.$cellStyle"
-          @sort-change="sortChange"
-        >
-          <!--          <el-table-column-->
-          <!--            type="selection"-->
-          <!--            width="50"-->
-          <!--          />-->
-          <el-table-column
-            width="50"
-            fixed
-          >
-            <template slot-scope="{row}">
-              <el-radio
-                v-model="radioSelected"
-                :label="row.wo_code"
-                style="color: transparent;padding-left: 10px;"
-                @change.native="getCurrentRow(row.wo_code)"
-              />
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="RowNum"
-            width="50"
-            label="搴忓彿"
-            fixed
-          />
-          <el-table-column
-            prop="status"
-            label="璁㈠崟鐘舵��"
-            sortable="custom"
-            width="110"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.status==='NEW'">鏂板伐鍗�</div>
-              <!--              <div v-if="row.status==='CREATING'">鎵ц涓�</div>-->
-              <!--              <div v-if="row.status==='CREATED'">宸插叧闂�</div>-->
-              <div v-if="row.status==='ALLO'">宸叉淳鍙�</div>
-              <div v-if="row.status==='START'">寮�宸�</div>
-              <div v-if="row.status==='CLOSED'">瀹屽伐</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="wo_code"
-            label="宸ュ崟缂栧彿"
-            sortable="custom"
-            min-width="160"
-          />
-          <el-table-column
-            prop="m_po"
-            label="婧愬崟鍗曞彿"
-            sortable="custom"
-            min-width="160"
-          />
-          <el-table-column
-            prop="wotype"
-            label="鍗曟嵁绫诲瀷"
-            sortable="custom"
-            min-width="120"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.wotype==='PO'">鏍囧噯宸ュ崟</div>
-              <div v-else-if="row.wotype==='FO'">鎶ュ簾琛ュ崟</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="partcode"
-            label="浜у搧缂栫爜"
-            sortable="custom"
-            min-width="120"
-          />
-          <el-table-column
-            prop="partname"
-            min-width="150"
-            label="浜у搧鍚嶇О"
-            sortable="custom"
-          />
-          <el-table-column
-            prop="partspec"
-            label="浜у搧瑙勬牸"
-            sortable="custom"
-            width="110"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.partspec">{{ row.partspec }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="plan_qty"
-            label="宸ュ崟鏁�"
-            sortable="custom"
-            width="100"
-          />
-          <el-table-column
-            prop="wkshp_name"
-            label="鐢熶骇杞﹂棿"
-            sortable="custom"
-            width="120"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.wkshp_name">{{ row.wkshp_name }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="route_name"
-            label="宸ヨ壓璺嚎"
-            show-tooltip-when-overflow
-            sortable="custom"
-            width="180"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.route_name">{{ row.route_name }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <!--          <el-table-column-->
-          <!--            prop="route_name"-->
-          <!--            label="鍏宠仈宸ヨ壓璺嚎"-->
-          <!--            min-width="110"-->
-          <!--          >-->
-          <!--            <template slot-scope="{row}">-->
-          <!--              <i v-if="row.route_name" class="el-icon-share" @click="routeClick(row)" />-->
-          <!--              <i v-else style="color:rgb(180 ,181, 185)" class="el-icon-share" @click="routeClick(row)" />-->
-          <!--            </template>-->
-          <!--          </el-table-column>-->
-          <el-table-column
-            prop="plan_startdate"
-            label="璁″垝寮�濮嬫椂闂�"
-            sortable="custom"
-            width="160"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.plan_startdate">{{ row.plan_startdate }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="plan_enddate"
-            label="璁″垝缁撴潫鏃堕棿"
-            sortable="custom"
-            width="160"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.plan_enddate">{{ row.plan_enddate }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="piroque"
-            label="宸ュ崟绛夌骇"
-            sortable="custom"
-            width="120"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.piroque==='1'">鐗圭骇</div>
-              <div v-if="row.piroque==='2'">绱ф��</div>
-              <div v-if="row.piroque==='3'">姝e父</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="lm_user"
-            label="鍒涘缓浜哄憳"
-            sortable="custom"
-            width="120"
-          />
-          <el-table-column
-            prop="lm_date"
-            label="鍒涘缓鏃堕棿"
-            width="160"
-            sortable="custom"
-          />
-          <el-table-column
-            label="鎿嶄綔"
-            width="120"
-            fixed="right"
-          >
-            <template slot-scope="{row}">
-              <div class="operationClass">
-                <el-tooltip class="item" effect="dark" content="宸ュ簭浠诲姟" placement="top">
-                  <i
-                    class="el-icon-tickets"
-                    style="cursor: pointer;color: #42b983;margin-right: 15px"
-                    @click="check(row)"
-                  />
-                </el-tooltip>
-                <el-tooltip v-del-tab-index class="item" effect="dark" content="鍒犻櫎" placement="top">
-                  <i class="el-icon-delete" @click="del(row)" />
-                </el-tooltip>
-              </div>
-            </template>
-          </el-table-column>
-        </el-table>
-      </div>
-      <!--鍒嗛〉-->
-      <pagination
-        :total="total"
-        :page.sync="form.page"
-        :limit.sync="form.rows"
-        align="right"
-        layout="total,prev, pager, next,sizes"
-        popper-class="select_bottom"
-        @pagination="getMesOrderSearch"
-      />
-
-    </div>
-    <!--鏂板娲惧彂瀵硅瘽妗�-->
-    <el-dialog
-      :title="operation==='add'?'鏂板':'娲惧彂'"
-      :visible.sync="dialogVisible"
-      width="840px"
-      top="15vh"
-      :close-on-click-modal="false"
-      @closed="handleClose"
-      @close="handleClose"
-    >
-      <el-form
-        ref="dialogForm"
-        inline
-        :rules="dialogFormRules"
-        :model="dialogForm"
-        label-width="110px"
-      >
-        <el-form-item
-          label="璁㈠崟鐘舵��"
-          prop="mesorderstus"
-        >
-          <el-select
-            v-model="dialogForm.mesorderstus"
-            disabled
-            filterable
-            :popper-append-to-body="false"
-            style="width: 200px"
-            placeholder="璇烽�夋嫨"
-          >
-            <el-option
-              v-for="item in erporderstusArr"
-              :key="item.code"
-              :label="item.name"
-              :value="item.code"
-            />
-          </el-select>
-        </el-form-item>
-
-        <el-form-item label="宸ュ崟缂栧彿" prop="mesordercode">
-          <el-input v-model="dialogForm.mesordercode" :disabled="operation!=='add'" style="width: 200px" />
-        </el-form-item>
-        <div style="display: flex">
-          <el-form-item label="宸ュ崟绫诲瀷" prop="mesorderstus">
-            <el-select
-              v-model="dialogForm.ordertype"
-              :popper-append-to-body="false"
-              style="width: 200px"
-              :disabled="operation!=='add'"
-              placeholder="璇烽�夋嫨"
-              @change="mesordertypeChange"
-            >
-
-              <el-option
-                v-for="item in ordertypeArr"
-                :key="item.code"
-                :label="item.name"
-                :value="item.code"
-              />
-            </el-select>
-          </el-form-item>
-          <div style="display: flex;flex-wrap: nowrap">
-            <el-form-item label="婧愬崟鍗曞彿">
-              <el-input
-                v-model="dialogForm.sourceorder"
-                :disabled="dialogForm.ordertype==='PO'"
-                style="width: 172px"
-              />
-            </el-form-item>
-            <el-button
-              type="primary"
-              style="padding: 0 10px;margin-left: -8px;margin-top: 3px"
-              class="el-icon-search"
-              :disabled="operation!=='add'||dialogForm.ordertype==='PO'"
-              @click="mesordertsourcesearchclick"
-            />
-          </div>
-        </div>
-        <el-form-item label="宸ュ崟鏁伴噺" prop="mesqty">
-          <el-input
-            v-model="dialogForm.mesqty"
-            oninput="value=value.replace(/[^0-9.]/g,'')"
-            :disabled="operation!=='add'"
-            style="width: 200px"
-          />
-        </el-form-item>
-        <el-form-item
-          v-if="operation==='add'"
-          label="浜у搧鍚嶇О"
-          prop="partcode"
-        >
-          <el-select
-            v-model="dialogForm.partcode"
-            filterable
-            :disabled="operation!=='add'"
-            :popper-append-to-body="false"
-            style="width: 200px"
-            placeholder="璇烽�夋嫨"
-            @change="partcodeChangeDialog"
-          >
-            <el-option
-              v-for="item in partArr"
-              :key="item.partcode"
-              :label="item.partname"
-              :value="item.partcode"
-            />
-          </el-select>
-        </el-form-item>
-        <el-form-item v-if="operation!=='add'" label="浜у搧鍚嶇О" prop="partname">
-          <el-input v-model="dialogForm.partname" disabled style="width: 200px" />
-        </el-form-item>
-        <el-form-item label="浜у搧缂栫爜">
-          <el-input v-model="dialogForm.partcode" disabled style="width: 200px" />
-        </el-form-item>
-        <el-form-item label="浜у搧瑙勬牸" prop="partspec">
-          <el-input v-model="dialogForm.partspec" disabled style="width: 200px" />
-        </el-form-item>
-        <div style="display: flex">
-          <div style="display: flex;flex-wrap: nowrap">
-            <el-form-item label="宸ヨ壓璺嚎" prop="routecode">
-              <el-select
-                v-model="dialogForm.routecode"
-                filterable
-                :disabled="dialogForm.partcode===''"
-                :popper-append-to-body="false"
-                style="width: 172px"
-                placeholder="璇烽�夋嫨"
-                @change="routecodeChange"
-              >
-                <el-option
-                  v-for="item in routeArr"
-                  :key="item.code"
-                  :label="item.name"
-                  :value="item.code"
-                />
-              </el-select>
-            </el-form-item>
-            <el-button
-              type="primary"
-              style="padding: 0 10px;margin-left: -8px;margin-top:3px"
-              class="el-icon-search"
-              @click="searchClick"
-            />
-            <!--            :disabled="dialogForm.routecode===''"-->
-
-          </div>
-          <el-form-item label="鐢熶骇杞﹂棿" prop="wkshopcode">
-            <el-select
-              v-model="dialogForm.wkshopcode"
-              filterable
-              :popper-append-to-body="false"
-              style="width: 200px;"
-              placeholder="璇烽�夋嫨"
-              :disabled="dialogForm.routecode===''"
-            >
-              <el-option
-                v-for="item in wkshopArr"
-                :key="item.org_code"
-                :label="item.org_name"
-                :value="item.org_code"
-              />
-            </el-select>
-          </el-form-item>
-        </div>
-        <el-form-item label="璁″垝寮�濮嬫椂闂�" prop="planstartdate">
-          <el-date-picker
-            v-model="dialogForm.planstartdate"
-            type="date"
-            :clearable="false"
-            value-format="yyyy-MM-dd"
-            style="width: 200px"
-            placeholder="閫夋嫨鏃ユ湡"
-          />
-        </el-form-item>
-        <el-form-item label="璁″垝瀹屾垚鏃堕棿" prop="planenddate">
-          <el-date-picker
-            v-model="dialogForm.planenddate"
-            type="date"
-            :clearable="false"
-            value-format="yyyy-MM-dd"
-            style="width: 200px"
-            placeholder="閫夋嫨鏃ユ湡"
-          />
-        </el-form-item>
-        <el-form-item label="宸ュ崟绛夌骇" prop="orderlev">
-          <el-select
-            v-model="dialogForm.orderlev"
-            filterable
-            :popper-append-to-body="false"
-            style="width: 200px"
-            placeholder="璇烽�夋嫨"
-          >
-            <el-option
-              v-for="item in orderlevArr"
-              :key="item.code"
-              :label="item.name"
-              :value="item.code"
-            />
-          </el-select>
-        </el-form-item>
-      </el-form>
-
-      <!--        宸ヨ壓璺嚎鏀惧ぇ闀滃璇濇-->
-      <el-dialog
-        title="宸ヨ壓璺嚎"
-        :visible.sync="dialogVisibleSearch"
-        width="840px"
-        top="20vh"
-        class="dialogVisibleSearch"
-        append-to-body
-        :close-on-click-modal="false"
-      >
-        <el-table
-          :data="searchTableData"
-          border
-          :row-class-name="tableRowClassName"
-          height="300"
-          style="width: 100%;"
-          highlight-current-row
-          :header-cell-style="this.$headerCellStyle"
-          :cell-style="this.$cellStyle"
-        >
-          <el-table-column
-            prop="seq"
-            label="搴忓彿"
-            width="50"
-            fixed
-          />
-          <el-table-column
-            prop="stepcode"
-            label="宸ュ簭缂栫爜"
-          />
-          <el-table-column
-            prop="stepname"
-            label="宸ュ簭鍚嶇О"
-          />
-          <el-table-column
-            prop="flwtype"
-            label="宸ュ簭绫诲瀷"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.flwtype==='W'">澶栧崗</div>
-              <div v-if="row.flwtype==='Z'">鑷埗</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="descr"
-            label="宸ュ簭鎻忚堪"
-            fixed="right"
-          />
-        </el-table>
-      </el-dialog>
-
-      <span slot="footer" class="dialog-footer">
-        <div class="footerButton">
-          <el-button @click="dialogVisibleCancel">鍙� 娑�</el-button>
-          <!--          <el-button v-if="operation==='add'" type="primary" @click="dialogVisibleConfirmPreview('add')">棰勮</el-button>-->
-          <el-button type="primary" @click="dialogVisibleConfirm">纭� 瀹�</el-button>
-        </div>
-      </span>
-    </el-dialog>
-
-    <!-- 宸ュ簭浠诲姟瀵硅瘽妗�-->
-    <el-dialog
-      title="宸ュ簭浠诲姟"
-      :visible.sync="dialogVisibleTask"
-      width="840px"
-      top="15vh"
-      class="dialogVisibleSearch"
-      :close-on-click-modal="false"
-      @close="dialogVisibleTaskClose"
-    >
-      <el-button
-        style="margin-bottom: 15px"
-        type="primary"
-        @click="supplementClick"
-      >琛ユ墦
-      </el-button>
-      <el-table
-        :data="taskTableData"
-        border
-        :row-class-name="tableRowClassName"
-        height="300"
-        style="width: 100%;"
-        highlight-current-row
-        :header-cell-style="this.$headerCellStyle"
-        :cell-style="this.$cellStyle"
-      >
-        <el-table-column
-          prop="seq"
-          width="50"
-          label="搴忓彿"
-          fixed
-        />
-        <el-table-column
-          prop="wo_code"
-          label="宸ュ崟缂栧彿"
-          width="200"
-        />
-        <el-table-column
-          prop="stepcode"
-          label="宸ュ簭缂栫爜"
-        />
-        <el-table-column
-          prop="stepname"
-          label="宸ュ簭鍚嶇О"
-        />
-        <!--        <el-table-column-->
-        <!--          prop="flwtype"-->
-        <!--          label="宸ュ簭绫诲瀷"-->
-        <!--        >-->
-        <!--          <template slot-scope="{row}">-->
-        <!--            <div v-if="row.flwtype==='W'">澶栧崗</div>-->
-        <!--            <div v-if="row.flwtype==='Z'">鑷埗</div>-->
-        <!--          </template>-->
-        <!--        </el-table-column>-->
-        <!--        <el-table-column-->
-        <!--          prop="descr"-->
-        <!--          label="宸ュ簭鎻忚堪"-->
-        <!--        />-->
-        <el-table-column
-          prop="plan_qty"
-          label="浠诲姟鏁伴噺"
-        />
-        <el-table-column
-          prop="good_qty"
-          label="鍚堟牸鏁伴噺"
-        />
-        <el-table-column
-          prop="ng_qty"
-          label="涓嶈壇鏁伴噺"
-        />
-        <el-table-column
-          label="鎿嶄綔"
-          fixed="right"
-        >
-          <template slot-scope="{row}">
-            <el-button type="text" style="padding: 0;" @click="supplementSmallClick(row)">琛ユ墦</el-button>
-          </template>
-        </el-table-column>
-      </el-table>
-
-      <span slot="footer" class="dialog-footer">
-        <div class="footerButton">
-          <el-button @click="dialogVisibleBack">杩� 鍥�</el-button>
-          <!--          <el-button type="primary" @click="dialogVisibleConfirm">纭� 瀹�</el-button>-->
-        </div>
-      </span>
-    </el-dialog>
-
-    <!-- 婧愬崟鍗曞彿瀵硅瘽妗�-->
-    <el-dialog
-      title="婧愬崟鍗曞彿"
-      :visible.sync="dialogVisibleSource"
-      width="1200px"
-      top="5vh"
-      class="dialogVisibleSearch"
-      :close-on-click-modal="false"
-      @close="dialogVisibleSourceClose"
-    >
-      <div class="bodyTopFormGroup" style="animation: move 1s linear">
-        <el-form
-          ref="sourceForm"
-          :model="sourceForm"
-          label-width="100px"
-          inline
-          style="display: flex;justify-content: space-between"
-        >
-          <div class="elForm">
-
-            <el-form-item
-
-              label="棰勮寮�宸ユ椂闂�"
-              label-width="100px"
-              style=" display: flex;font-size: 14px;margin-top: 3px"
-            >
-              <el-date-picker
-                v-model="sourceForm.paystartdate"
-                type="daterange"
-                range-separator="~"
-                class="timeMini"
-                size="mini"
-                style="width: 200px;display: flex;line-height: 34px;height: 34px;font-size: 14px!important;"
-                :clearable="false"
-                start-placeholder="寮�濮嬫棩鏈�"
-                end-placeholder="缁撴潫鏃ユ湡"
-              />
-              <!--              :picker-options="expireTimeOption"-->
-
-            </el-form-item>
-            <el-form-item
-              label="棰勮瀹屽伐鏃堕棿"
-              label-width="100px"
-              style=" display: flex;font-size: 14px;margin-top: 3px"
-            >
-              <el-date-picker
-                v-model="sourceForm.payenddate"
-                type="daterange"
-                :clearable="false"
-                class="timeMini"
-                range-separator="~"
-                start-placeholder="寮�濮嬫棩鏈�"
-                style="width: 200px;display: flex;line-height: 34px ;height: 34px ;font-size: 14px !important;"
-                end-placeholder="缁撴潫鏃ユ湡"
-                size="mini"
-              />
-            </el-form-item>
-            <el-form-item label="璁㈠崟鐘舵��" style=" display: flex;">
-              <el-select
-                v-model="sourceForm.erporderstus"
-                filterable
-                :popper-append-to-body="false"
-                style="width: 200px"
-                placeholder="璇烽�夋嫨"
-              >
-                <el-option
-                  v-for="item in erporderstusArr"
-                  :key="item.code"
-                  :label="item.name"
-                  :value="item.code"
-                />
-              </el-select>
-            </el-form-item>
-            <el-form-item v-show="isExpandDialog" label="璁㈠崟缂栧彿" style=" display: flex;">
-              <el-input v-model="sourceForm.erpordercode" placeholder="璇疯緭鍏�" style="width: 200px" />
-            </el-form-item>
-            <el-form-item v-show="isExpandDialog" label="浜у搧缂栫爜" style=" display: flex;">
-              <el-input v-model="sourceForm.partcode" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-
-            <el-form-item v-show="isExpandDialog" label="浜у搧鍚嶇О" style=" display: flex;">
-              <el-input v-model="sourceForm.partname" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item v-show="isExpandDialog" label="浜у搧瑙勬牸" style=" display: flex;">
-              <el-input v-model="sourceForm.partspec" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-            <el-form-item v-show="isExpandDialog" label="鍒涘缓浜哄憳" style=" display: flex;">
-              <el-input v-model="sourceForm.creatuser" style="width: 200px" placeholder="璇疯緭鍏�" />
-            </el-form-item>
-
-          </div>
-          <div>
-            <div style="display: flex;align-items: start;margin-top: 5px;z-index: 2;justify-content: end">
-              <el-button type="primary" icon="el-icon-search" @click="sourceSearch">鏌ヨ</el-button>
-              <el-button type="info" icon="el-icon-refresh" @click="sourceReset">閲嶇疆</el-button>
-            </div>
-          </div>
-        </el-form>
-      </div>
-      <!--      <el-tooltip  :content="!isExpandDialog?'鐐瑰嚮灞曠ず鏇村':'鏀惰捣'" placement="bottom">-->
-      <div
-        style="display:flex;justify-content: center;
-          align-items:center;background-color:#eee;cursor: pointer"
-        @click="isExpandDialog=!isExpandDialog"
-      >
-        <i
-          :class="!isExpandDialog?'el-icon-arrow-down':'el-icon-arrow-up'"
-          :style="{color:'#42B983'}"
-        /></div>
-      <!--      </el-tooltip>-->
-      <div class="elTableDiv">
-        <el-table
-          :data="sourceTableData"
-          :height="(tableHeight-100)+'px'"
-          border
-          :row-class-name="tableRowClassName"
-          :style="{width: 100+'%',height:(tableHeight-100)+'px',}"
-          highlight-current-row
-          :header-cell-style="this.$headerCellStyle"
-          :cell-style="this.$cellStyle"
-          @sort-change="sourceSortChange"
-        >
-          <!--          <el-table-column-->
-          <!--            type="selection"-->
-          <!--            width="50"-->
-          <!--          />-->
-          <el-table-column
-            width="50"
-            fixed
-          >
-            <template slot-scope="{row}">
-              <el-radio
-                v-model="radioSelectedId"
-                :label="row.id"
-                style="color: transparent;padding-left: 10px;"
-                @change.native="getCurrentRowSource(row.id)"
-              />
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="RowNum"
-            width="50"
-            fixed
-            label="搴忓彿"
-          />
-          <el-table-column
-            prop="status"
-            label="璁㈠崟鐘舵��"
-            sortable="custom"
-            width="110"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.status==='NEW'">鏂拌鍗�</div>
-              <div v-if="row.status==='CREATING'">閮ㄥ垎涓嬭揪</div>
-              <div v-if="row.status==='CREATED'">鍏ㄩ儴涓嬭揪</div>
-              <div v-if="row.status==='CLOSED'">宸插叧闂�</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="wo"
-            label="璁㈠崟缂栧彿"
-            sortable="custom"
-            min-width="150"
-          />
-          <el-table-column
-            prop="partcode"
-            label="浜у搧缂栫爜"
-            sortable="custom"
-            min-width="150"
-          />
-          <el-table-column
-            prop="partname"
-            label="浜у搧鍚嶇О"
-            sortable="custom"
-            min-width="150"
-          />
-          <el-table-column
-            prop="partspec"
-            label="浜у搧瑙勬牸"
-            sortable="custom"
-            min-width="110"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.partspec">{{ row.partspec }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="qty"
-            label="璁㈠崟鏁伴噺"
-            width="150"
-            sortable="custom"
-          />
-          <el-table-column
-            prop="relse_qty"
-            label="宸蹭笅鍗曟暟閲�"
-            width="150"
-            sortable="custom"
-          />
-          <el-table-column
-            prop="wkshp_name"
-            label="鐢熶骇杞﹂棿"
-            sortable="custom"
-            width="150"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.wkshp_name">{{ row.wkshp_name }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="planstartdate"
-            label="棰勮寮�宸ユ椂闂�"
-            sortable="custom"
-            width="130"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.planstartdate">{{ row.planstartdate.substring(0, 11) }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="planenddate"
-            label="棰勮瀹屽伐鏃堕棿"
-            sortable="custom"
-            width="130"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.planenddate">{{ row.planenddate.substring(0, 11) }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="createuser"
-            label="鍒涘缓浜哄憳"
-            sortable="custom"
-            width="150"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.createuser">{{ row.createuser }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <el-table-column
-            prop="createdate"
-            label="鍒涘缓鏃堕棿"
-            width="130"
-            sortable="custom"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.createdate">{{ row.createdate.substring(0, 11) }}</div>
-              <div v-else>/</div>
-            </template>
-          </el-table-column>
-          <!--          <el-table-column-->
-          <!--            label="鎿嶄綔"-->
-          <!--            fixed="right"-->
-          <!--            width="80"-->
-          <!--          >-->
-          <!--            <template slot-scope="{row}">-->
-          <!--              <div class="operationClass">-->
-          <!--                <el-tooltip class="item" effect="dark" content="涓嬭揪" placement="top">-->
-          <!--                  &lt;!&ndash;                <el-button type="text" @click="edit('edit',row)">涓嬭揪</el-button>&ndash;&gt;-->
-          <!--                  <i-->
-          <!--                    class="el-icon-bottom"-->
-          <!--                    style="color:#42b983;cursor: pointer;margin-left: 5px"-->
-          <!--                    @click="edit('edit',row)"-->
-          <!--                  />-->
-          <!--                </el-tooltip>-->
-          <!--              </div>-->
-          <!--            </template>-->
-          <!--          </el-table-column>-->
-        </el-table>
-      </div>
-      <!--鍒嗛〉-->
-      <pagination
-        :total="sourceFormTotal"
-        :page.sync="sourceForm.page"
-        :limit.sync="sourceForm.rows"
-        align="right"
-        layout="total,prev, pager, next,sizes"
-        popper-class="select_bottom"
-        @pagination="getErpOrderSearch"
-      />
-      <span slot="footer" class="dialog-footer">
-        <div class="footerButton">
-          <el-button @click="dialogVisibleSourceBack">杩� 鍥�</el-button>
-          <el-button type="primary" @click="dialogVisibleSourceConfirm">纭� 瀹�</el-button>
-        </div>
-      </span>
-    </el-dialog>
-
-    <!--鎵撳嵃棰勮瀵硅瘽妗�  澶ф爣绛�-->
-    <el-dialog
-      title=""
-      :visible.sync="dialogVisibleApprove"
-      width="812px"
-      class="dialogVisibleConfirmClass"
-      append-to-body
-      :close-on-click-modal="false"
-      @close="dialogVisibleConfirmClose"
-    >
-      <!-- 瑕佹墦鍗扮殑鍖哄煙 -->
-      <div id="printMe" style="padding: 30px">
-        <div style="font-size: 26px; text-align: center">娴佺▼鍗�</div>
-
-        <div style="display: flex;justify-content: space-around;margin-top: 20px; position: relative;">
-          <div style="width: 78%">
-            <el-form
-              ref="formApprove"
-              :model="formApprove"
-              label-width="100px"
-              inline
-              style="display: flex;justify-content: space-between"
-            >
-              <div class="elForm">
-                <el-form-item label="宸ュ崟缂栧彿锛�" class="formContent">
-                  {{ formApprove.mesordercode }}
-                </el-form-item>
-                <el-form-item label="婧愬崟鍗曞彿锛�" class="formContent">
-                  {{ formApprove.m_po }}
-                </el-form-item>
-                <el-form-item label="浜у搧缂栫爜锛�" class="formContent">
-                  {{ formApprove.partcode }}
-                </el-form-item>
-                <el-form-item label="浜у搧鍚嶇О锛�" class="formContent">
-                  {{ formApprove.partname }}
-                </el-form-item>
-                <el-form-item label="浜у搧瑙勬牸锛�" class="formContent">
-                  {{ formApprove.partspec }}
-                </el-form-item>
-                <el-form-item label="宸ュ崟鏁伴噺锛�" class="formContent">
-                  {{ formApprove.plan_qty }}
-                </el-form-item>
-                <el-form-item label="宸ヨ壓璺嚎锛�" class="formContent">
-                  {{ formApprove.routename }}
-                </el-form-item>
-                <el-form-item label="鎵撳嵃浜哄憳锛�" class="formContent">
-                  {{ username }}
-                </el-form-item>
-                <el-form-item label="鎵撳嵃鏃堕棿锛�" class="formContent">
-                  {{ formApprove.lm_date }}
-                </el-form-item>
-              </div>
-            </el-form>
-          </div>
-          <div
-            id="qrCode"
-            style="width: 22%;height:97px;
-            margin-top: 20px;
-            overflow-y: scroll;display: flex;
-            justify-content: center;
-            position: relative;"
-          >
-            <!--            <div id="qrCode0" ref="qrCodeDiv0" />-->
-          </div>
-          <div style="background-color: #fff;width: 20px;height:120px; position: absolute;right: 0" />
-          <div
-            style="z-index: 10;background-color:transparent;width: 120px;height:120px; position: absolute;right: 21px"
-          />
-        </div>
-
-        <!--          <div style="width:100%;height: 30px;border-bottom: 1px solid #eee;margin-bottom: 20px" />-->
-        <el-table
-          id="table"
-          :data="tableDataPrint"
-          border
-          class="tableDataPrint"
-          :header-cell-style="{ background: '#c0c0c0',textAlign:'center',color:'#000',borderColor:'#000'}"
-          :cell-style="{textAlign: 'center',color:'#000',borderColor:'#000'}"
-          style="width: 100%;margin-top: 20px;text-align: center;border-color: #000"
-        >
-          <el-table-column
-            id="column0"
-            prop="seq"
-            label="宸ュ簭鍙�"
-            width="70"
-            align="center"
-          />
-          <el-table-column
-            id="column1"
-            prop="stepqrcode"
-            label="宸ュ簭浜岀淮鐮�"
-            width="100"
-            align="center"
-          >
-            <template slot-scope="{row}">
-              <div :id="'qrCode'+row.seq" :ref="'qrCodeDiv'+row.seq" class="tableColumn" />
-            </template>
-          </el-table-column>
-          <el-table-column
-            id="column2"
-            prop="stepname"
-            label="宸ュ簭"
-            width="120"
-            align="center"
-          />
-          <el-table-column
-            id="column3"
-            prop="plan_qty"
-            label="鍔犲伐鏁伴噺"
-            width="100"
-            align="center"
-          />
-          <el-table-column
-            id="column4"
-            prop="good_qty"
-            width="100"
-            align="center"
-            label="鍚堟牸鏁伴噺"
-          />
-          <el-table-column
-            id="column5"
-            width="100"
-            prop="ng_qty"
-            align="center"
-            label="涓嶈壇鏁伴噺"
-          />
-          <el-table-column
-            id="column6"
-            prop="desc"
-            align="center"
-            width="120"
-            label="澶囨敞"
-          />
-        </el-table>
-      </div>
-      <span slot="footer" class="dialog-footer">
-        <div class="footerButton">
-          <el-button @click="dialogVisibleBackPreview">杩� 鍥�</el-button>
-          <!--            <el-button v-if="operation==='add'" type="primary" @click="dialogVisibleConfirm">纭� 瀹�</el-button>-->
-          <!--            <el-button type="primary" @click="dialogVisibleConfirm">纭� 瀹�/鎵� 鍗�</el-button>-->
-          <el-button v-print="printObj" type="primary">鎵� 鍗�</el-button>
-        </div>
-      </span>
-    </el-dialog>
-
-    <!--鎵撳嵃棰勮椤甸潰  灏忔爣绛�-->
-    <el-dialog
-      title="棰勮"
-      :visible.sync="dialogVisible2"
-      width="1140"
-      top="10vh"
-      :close-on-click-modal="false"
-      @close="dialogVisible2Close"
-    >
-      <!-- 瑕佹墦鍗扮殑鍖哄煙 -->
-      <div id="printMe2" style="padding: 30px;">
-        <div
-          style="display: flex;width: 280px;height: 150px;border: 1px solid #000;text-align: center;font-size: 10px;"
-        >
-
-          <div style="width: 90px;display: flex;flex-direction: column;border-right: 1px solid #000">
-            <div
-              style="display: flex;height: 90px;border-bottom:1px solid #000;
-              justify-content: center;align-items: center;position: relative"
-            >
-              <div id="qrCode2" ref="qrCodeDiv2" style="overflow-y: hidden;height:60px;position: absolute;left: 14px;" />
-            </div>
-            <div
-              style="display: flex;height: 30px;justify-content: flex-start;border-bottom:1px solid #000;align-items: center"
-            >
-              <div style="margin-left: 5px;width: 28px">鏁伴噺:</div>
-              {{ qrForm.startqty }}
-            </div>
-            <div style="display: flex;height: 30px;justify-content: flex-start;align-items: center">
-              <div style="margin-left: 5px;width: 42px">澶勭悊浜�:</div>
-              {{ qrForm.operator }}
-            </div>
-          </div>
-
-          <div style="width:190px;display: flex;flex-direction: column">
-            <div
-              style="display: flex;height: 20%;border-bottom:1px solid #000;justify-content: flex-start;align-items: center;text-align: left"
-            >
-              <div style="width: 60px;margin-left: 5px;">宸ュ崟缂栧彿:</div>
-              <div>{{ qrForm.wo_code }}</div>
-            </div>
-            <div
-              style="display: flex;height: 20%;border-bottom:1px solid #000;justify-content: flex-start;align-items: center ;text-align: left"
-            >
-              <div style="width: 60px;margin-left: 5px;">浜у搧缂栫爜:</div>
-              <div>{{ qrForm.partcode }}</div>
-            </div>
-            <div
-              style="display: flex;height: 20%;border-bottom:1px solid #000 ;justify-content: flex-start;align-items: center;text-align: left"
-            >
-              <div style="width:60px;margin-left: 5px;">浜у搧鍚嶇О:</div>
-              <div>{{ qrForm.partname }}</div>
-            </div>
-            <div
-              style="display: flex;height: 20%;border-bottom:1px solid #000 ;justify-content: flex-start;align-items: center;text-align: left"
-            >
-              <div style="width:60px;margin-left: 5px;">涓嬮亾宸ュ簭:</div>
-              <div>{{ qrForm.nextstepname }}</div>
-            </div>
-            <div style="display: flex;height: 20%;justify-content: flex-start;align-items: center;text-align: left">
-              <div style="width: 60px;margin-left: 5px;">澶勭悊鏃堕棿:</div>
-              <div>{{ qrForm.operatorTime }}</div>
-            </div>
-
-          </div>
-
-        </div>
-      </div>
-      <span slot="footer" class="dialog-footer">
-        <div class="footerButton">
-          <el-button @click="dialogVisible2 = false">鍙� 娑�</el-button>
-          <el-button v-print="printObj2" type="primary">纭� 瀹�</el-button>
-        </div>
-      </span>
-    </el-dialog>
-
-    <!--    宸ヨ壓璺嚎瀵硅瘽妗�-->
-    <el-dialog
-      :close-on-click-modal="false"
-      title="鍏宠仈宸ヨ壓璺嚎"
-      :visible.sync="dialogVisibleRoute"
-      width="800px"
-      top="10vh"
-      :fullscreen="isIpad"
-      class="dialogVisibleRoute"
-      @closed="handleCloseRoute"
-      @close="handleCloseRoute"
-    >
-      <div>
-        <i class="el-icon-s-comment" style="color:#42b983;" /> 浜у搧鍚嶇О锛歿{ dialogFormRoute.projectName }}
-      </div>
-      <el-divider />
-      <div style="margin-bottom: 10px">
-        <i class="el-icon-s-operation" style="color:#42b983;" /> 宸ヨ壓璺嚎闆嗗悎
-      </div>
-
-      <div class="myCheckboxGroup">
-        <div
-          v-for="item in dialogFormRoute.routeOperationArr"
-          :key="item.code"
-          :style="{border:item.isSelected1?'1px solid #42b983':'1px solid #eee'}"
-          class="myCheckbox"
-          @click="myCheckboxClick(item)"
-        >
-          <input
-            class="myCheckboxInput"
-            type="checkbox"
-            :value="item.code"
-            :name="item.name"
-            :style="{color:item.isSelected2?'#42b983':'#fff'}"
-            @click="myCheckboxInputClick(item)"
-          >{{ item.name }}
-          <!--            鐖跺瓙鐐瑰嚮浜嬩欢涓嶅奖鍝�-->
-          <!--            onClick="event.cancelBubble = true"-->
-        </div>
-      </div>
-
-      <el-divider />
-      <div>
-        <i class="el-icon-s-operation" style="color:#42b983;" /> 榛樿宸ヨ壓璺嚎
-      </div>
-      <div style="margin-top: 20px">
-        <el-select
-          v-model="defaultroute_code"
-          filterable
-          style="width: 200px;"
-          placeholder="璇烽�夋嫨"
-          class="defaultroute_code"
-        >
-          <el-option
-            v-for="item in defaultroute_codeArr"
-            :key="item.code"
-            :label="item.name"
-            :value="item.code"
-          />
-        </el-select>
-      </div>
-      <el-divider />
-      <div style="margin-bottom: 10px">
-        <i class="el-icon-s-operation" style="color:#42b983;" /> 宸ュ簭鍒楄〃
-      </div>
-      <div style="overflow-y: scroll">
-        <el-table
-          ref="projectTableData"
-          :data="projectTableData"
-          border
-          height="280"
-          :row-class-name="tableRowClassName"
-          highlight-current-row
-          :header-cell-style="this.$headerCellStyle"
-          :cell-style="this.$cellStyle"
-        >
-          <el-table-column
-            prop="seq"
-            width="100"
-            label="宸ュ簭搴忓彿"
-            fixed
-          />
-          <el-table-column
-            prop="stepcode"
-            label="宸ュ簭缂栫爜"
-          />
-          <el-table-column
-            prop="stepname"
-            label="宸ュ簭鍚嶇О"
-          />
-          <el-table-column
-            prop="enable"
-            label="鍚敤鐘舵��"
-            fixed="right"
-          >
-            <template slot-scope="{row}">
-              <div v-if="row.enable==='Y'">
-                <svg-icon icon-class="circleYes" style="margin-right: 2px" />
-                鏄�
-              </div>
-              <div v-if="row.enable==='N'">
-                <svg-icon icon-class="circleNo" style="margin-right: 2px" />
-                鍚�
-              </div>
-            </template>
-          </el-table-column>
-        </el-table>
-      </div>
-      <span slot="footer" class="dialog-footer">
-        <div class="footerButton">
-          <el-button @click="routeDialogVisibleCancel">鍙� 娑�</el-button>
-          <el-button type="primary" @click="routeDialogVisibleConfirm">纭� 瀹�</el-button>
-        </div>
-      </span>
-    </el-dialog>
-
-  </div>
-</template>
-
-<script>
-import Pagination from '@/components/Pagination'
-import {
-  AddUpdateMesOrder,
-  ClosedMesOrder,
-  DeleteMesOrder, ErpOrderSearch,
-  MesOrderSearch, PartSelectRoute, RouteSelectWkshop, SearchWorkStep,
-  SelectRouteStep
-} from '@/api/scgl'
-import { InventoryFileAssociationRoute, PartSelect, SaveInventoryFile } from '@/api/zzmx'
-import { handleDatetime, handleDatetime2, validateCode } from '@/utils/global'
-import { getCookie } from '@/utils/auth'
-import { MesOrderPrintSearch1, PrintOrder } from '@/api/utils'
-import { urlAddRandomNo, webapp_ws_ajax_run, webapp_ws_autoupdate } from '@/utils/grwebapp'
-import QRCode from 'qrcodejs2'
-import $ from 'jquery'
-
-export default {
-  name: 'GD',
-  components: {
-    Pagination
-  },
-  data() {
-    return {
-      isIpad: false,
-      mainHeight: 0,
-      tableHeight: 0,
-      username: '',
-      form: {
-        mesorderstus: '', // 宸ュ崟鐘舵�佺爜
-        mesordercode: '', // 宸ュ崟缂栧彿
-        partcode: '', // 浜у搧缂栫爜
-        ordertype: '', // ordertype
-        sourceorder: '', // 婧愬崟鍗曞彿
-        partname: '', // 浜у搧鍚嶇О
-        partspec: '', // 浜у搧瑙勬牸
-        creatuser: '', // 鍒涘缓浜哄憳
-        createdate: '', // 鍒涘缓鏃堕棿
-        prop: 'lm_date', // 鎺掑簭瀛楁
-        order: 'desc', // 鎺掑簭瀛楁
-        page: 1, // 绗嚑椤�
-        rows: 20 // 姣忛〉澶氬皯鏉�
-      },
-      erporderstusArr: [
-        { code: 'NEW', name: '鏂板伐鍗�' },
-        // { code: 'CREATING', name: '鎵ц涓�' },
-        // { code: 'CREATED', name: '宸插叧闂�' }
-        { code: 'ALLO', name: '宸叉淳鍙�' },
-        { code: 'START', name: '寮�宸�' },
-        { code: 'CLOSED', name: '瀹屽伐' }
-      ],
-      total: 10,
-      radioSelected: '',
-      tableData: [],
-      dialogVisible: false,
-      dialogForm: {
-        partname: '', // 浜у搧鍚嶇О
-        partspec: '', // 浜у搧瑙勬牸
-        wkshopname: '', // 鐢熶骇杞﹂棿鍚嶇О
-        routename: '', // 宸ヨ壓璺嚎鍚嶇О
-
-        mesorderstus: 'NEW', // 宸ュ崟鐘舵�佺爜
-        mesordercode: '', // 宸ュ崟缂栧彿
-        partcode: '', // 浜у搧缂栫爜
-
-        ordertype: 'PO', // 宸ュ崟绫诲瀷
-        sourceorder: '', // 婧愬崟鍗曞彿
-        mesqty: '', // 宸ュ崟鏁伴噺
-
-        routecode: '', // 宸ヨ壓璺嚎缂栫爜
-        wkshopcode: '', // 鐢熶骇杞﹂棿缂栫爜
-        planstartdate: '', // 璁″垝寮�濮嬫椂闂�
-        planenddate: '', // 璁″垝瀹屾垚鏃堕棿
-        orderlev: '', // 宸ュ崟绛夌骇
-
-        OperType: '' // 鎿嶄綔绫诲瀷
-      },
-      ordertypeArr: [// 宸ュ崟绫诲瀷
-        { code: 'PO', name: '鏍囧噯宸ュ崟' },
-        { code: 'FO', name: '鎶ュ簾琛ュ崟' }
-      ],
-      partArr: [], // 浜у搧淇℃伅
-      wkshopArr: [], // 鐢熶骇杞﹂棿鏁扮粍
-      routeArr: [], // 宸ヨ壓璺嚎鏁扮粍
-      orderlevArr: [
-        { code: 1, name: '鐗圭骇' },
-        { code: 2, name: '绱ф��' },
-        { code: 3, name: '姝e父' }
-      ], // 宸ュ崟绛夌骇鏁扮粍
-      operation: '',
-      dialogFormRules: {
-        mesorderstus: [
-          { required: true, message: '璇烽�夋嫨璁㈠崟鐘舵��', trigger: ['blur', 'change'] }
-        ],
-        partcode: [
-          { required: true, message: '璇烽�夋嫨浜у搧淇℃伅', trigger: ['blur', 'change'] }
-        ],
-        mesordercode: [
-          { required: true, validator: validateCode, trigger: ['blur', 'change'] }
-        ],
-        mesqty: [
-          { required: true, message: '璇疯緭鍏ュ伐鍗曟暟閲�', trigger: ['blur', 'change'] }
-        ],
-        wkshopcode: [
-          { required: true, message: '璇烽�夋嫨鐢熶骇杞﹂棿', trigger: ['blur', 'change'] }
-        ],
-        routecode: [
-          { required: true, message: '璇烽�夋嫨宸ヨ壓璺嚎', trigger: ['blur', 'change'] }
-        ],
-        planstartdate: [
-          { required: true, message: '璇烽�夋嫨寮�濮嬫椂闂�', trigger: ['blur', 'change'] }
-        ],
-        planenddate: [
-          { required: true, message: '璇烽�夋嫨缁撴潫鏃堕棿', trigger: ['blur', 'change'] }
-        ],
-        orderlev: [
-          { required: true, message: '璇烽�夋嫨宸ュ崟绛夌骇', trigger: ['blur', 'change'] }
-        ]
-
-      },
-      dialogVisibleTask: false,
-      taskTableData: [],
-
-      dialogVisibleSearch: false,
-      searchTableData: [],
-      dialogVisibleApprove: false,
-      tableDataPrint: [], // 鎵撳嵃椤甸潰鍐呭
-      printObj: {
-        id: 'printMe',
-        popTitle: '鎵撳嵃妯℃澘',
-        preview: false,
-        extraHead: '<meta http-equiv="Content-Language" content="zh-cn"/>',
-        closeCallback(vue) { // 鍏抽棴鎵撳嵃鐨勫洖璋冧簨浠讹紙鏃犳硶纭畾鐐瑰嚮鐨勬槸纭杩樻槸鍙栨秷锛�
-          console.log('11212', vue)
-          // vue.dialogVisible = false
-          vue.dialogVisibleApprove = false
-        },
-        beforeOpenCallback(vue) {
-          vue.printLoading = true
-          console.log('鎵撳紑涔嬪墠')
-          console.log()
-        },
-        openCallback(vue) {
-          vue.printLoading = false
-          console.log('鎵ц浜嗘墦鍗�')
-        }
-      },
-
-      formApprove: {
-        m_po: '', // 婧愬崟鍗曞彿
-        mesordercode: '',
-        partcode: '',
-        partname: '',
-        partspec: '',
-        plan_qty: '',
-        routename: '',
-        lm_date: ''
-      },
-      number: '',
-      dialogVisible2: false,
-      printObj2: {
-        id: 'printMe2',
-        popTitle: '鎵撳嵃妯℃澘',
-        preview: false,
-        extraHead: '<meta http-equiv="Content-Language" content="zh-cn"/>',
-        closeCallback(vue) { // 鍏抽棴鎵撳嵃鐨勫洖璋冧簨浠讹紙鏃犳硶纭畾鐐瑰嚮鐨勬槸纭杩樻槸鍙栨秷锛�
-          console.log('11212', vue)
-          // vue.dialogVisible = false
-          vue.dialogVisible2 = false
-          // vue.dialogVisible = false
-        },
-        beforeOpenCallback(vue) {
-          vue.printLoading = true
-          console.log('鎵撳紑涔嬪墠')
-          console.log()
-        },
-        openCallback(vue) {
-          vue.printLoading = false
-          console.log('鎵ц浜嗘墦鍗�')
-        }
-      },
-      qrForm: {
-        qrvalue: '',
-        startqty: '',
-        wo_code: '',
-        partcode: '',
-        partname: '',
-        nextstepname: '',
-        operator: '', // 鎿嶄綔浜�
-        operatorTime: ''// 鎿嶄綔鏃堕棿
-      },
-      dialogVisibleSource: false,
-      sourceTableData: [],
-      sourceForm: {
-        erporderstus: '', // 璁㈠崟鐘舵�佺爜
-        erpordercode: '', // 璁㈠崟缂栧彿
-        partcode: '', // 浜у搧缂栫爜
-        partname: '', // 浜у搧鍚嶇О
-        partspec: '', // 浜у搧瑙勬牸
-        creatuser: '', // 鍒涘缓浜哄憳
-        // paystartdate: '', // 浜や粯鏃堕棿
-        paystartdate: '', // 棰勮寮�宸ユ椂闂�
-        payenddate: '', // 棰勮瀹屽伐鏃堕棿
-        createdate: '', // 鍒涘缓鏃堕棿
-        prop: 'createdate', // 鎺掑簭瀛楁
-        order: 'desc', // 鎺掑簭瀛楁
-        page: 1, // 绗嚑椤�
-        rows: 20 // 姣忛〉澶氬皯鏉�
-      },
-      sourceFormTotal: 10,
-      radioSelectedId: '',
-      isExpandDialog: false, // 瀵硅瘽妗嗚〃鍗曟槸鍚﹀睍寮�锛岄粯璁や笉灞曞紑
-      dialogVisibleRoute: false,
-      dialogFormRoute: {
-        projectName: '', // 浜у搧鍚嶇О
-        projectCode: '', // 浜у搧浠g爜
-        routeOperationArr: [] // 宸ヨ壓璺嚎闆嗗悎
-      },
-      defaultroute_code: '', // 榛樿宸ヨ壓璺嚎閫変腑鍊�
-      defaultroute_codeArr: '', // 榛樿宸ヨ壓璺嚎鏁扮粍
-      projectTableData: [], // 璁惧鍒楄〃
-      isExpandForm: false// 琛ㄥ崟鏄惁灞曞紑锛岄粯璁や笉灞曞紑
-    }
-  },
-  created() {
-    this.handleRequest()
-  },
-  mounted() {
-    window.addEventListener('resize', this.getHeight)
-    this.getHeight()
-    // webapp_urlprotocol_startup()
-    // webapp_ws_autoupdate(true)
-    this.username = getCookie('username')
-  },
-  methods: {
-    tableRowClassName({ row, rowIndex }) {
-      return 'custom-row'
-    },
-    handleRequest() {
-      this.getMesOrderSearch().then(res => {
-        if (res.code === '200') {
-          this.getSelect()
-        }
-      })
-    },
-    async getMesOrderSearch() {
-      // let tempDate = this.form.createdate
-      // if (tempDate.length > 0) {
-      //   tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
-      // }
-
-      const data = {
-        mesorderstus: this.form.mesorderstus, // 宸ュ崟鐘舵�佺爜
-        mesordercode: this.form.mesordercode, // 宸ュ崟缂栧彿
-        partcode: this.form.partcode, // 浜у搧缂栫爜
-        partname: this.form.partname, // 浜у搧鍚嶇О
-        partspec: this.form.partspec, // 浜у搧瑙勬牸
-        creatuser: this.form.creatuser, // 鍒涘缓浜哄憳
-        sourceorder: this.form.sourceorder, // 婧愬崟鍗曞彿
-        ordertype: this.form.ordertype, // 鍗曟嵁绫诲瀷
-        createdate: this.form.createdate.toString().length > 0 ? handleDatetime(this.form.createdate) : '', // 鍒涘缓鏃堕棿
-        prop: this.form.prop, // 鎺掑簭瀛楁
-        order: this.form.order, // 鎺掑簭瀛楁
-        page: this.form.page, // 绗嚑椤�
-        rows: this.form.rows // 姣忛〉澶氬皯鏉�
-      }
-      const res = await MesOrderSearch(data)
-      this.tableData = res.data
-      this.total = res.count
-
-      // this.form.createdate = tempDate
-      return { code: res.code }
-    },
-    async getSelect() {
-      // 鑾峰彇浜у搧淇℃伅
-      const { data: res1 } = await PartSelect()
-      this.partArr = res1
-    },
-    // 璁㈠崟鐘舵�佹敼鍙樻椂
-    erporderstusChange(val) {
-      this.form.mesorderstus = val
-    },
-    // 鎺掑簭鏀瑰彉鏃�
-    sortChange({ column, prop, order }) {
-      if (order === 'descending') {
-        order = 'desc'
-      } else if (order === 'ascending') {
-        order = 'asc'
-      } else {
-        order = 'desc'
-      }
-      this.form.order = order
-      this.form.prop = prop
-      this.getMesOrderSearch()
-    },
-    sourceSortChange({ column, prop, order }) {
-      if (order === 'descending') {
-        order = 'desc'
-      } else if (order === 'ascending') {
-        order = 'asc'
-      } else {
-        order = 'desc'
-      }
-      this.sourceForm.order = order
-      this.sourceForm.prop = prop
-      this.getErpOrderSearch()
-    },
-    // 鏌ヨ
-    search() {
-      this.getMesOrderSearch()
-    },
-
-    // 閲嶇疆
-    reset(val) {
-      this.form.mesorderstus = ''
-      this.form.mesordercode = ''
-      this.form.partcode = ''
-      this.form.partname = ''
-      this.form.partspec = ''
-      this.form.paydate = ''
-      this.form.creatuser = ''
-      this.form.sourceorder = ''
-      this.form.creatuser = ''
-      this.form.ordertype = ''
-      this.getMesOrderSearch()
-    },
-    // 鍗曢�夋閫変腑鑾峰彇褰撳墠琛屼俊鎭�
-    getCurrentRow(wo_code) {
-      this.radioSelected = wo_code
-    },
-    // 鏂板鎸夐挳
-    async add(operation) {
-      this.operation = operation
-      this.dialogVisible = true
-      this.dialogForm.planstartdate = handleDatetime(new Date())
-      this.dialogForm.planenddate = handleDatetime(new Date())
-      this.dialogForm.orderlev = 3
-    },
-
-    // 浜у搧淇℃伅鍊兼敼鍙�
-    async partcodeChange(val) {
-      console.log(val, 22)
-      const { data: res } = await PartSelectRoute({ partcode: val })
-      this.routeArr = res
-
-      let flag = false
-      this.routeArr.forEach(item => {
-        if (item.code === item.default_route) {
-          this.dialogForm.routecode = item.code
-          this.routecodeChange(this.dialogForm.routecode)
-          flag = true
-        }
-      })
-      if (!flag) {
-        this.dialogForm.routecode = ''
-      }
-
-      this.dialogForm.wkshopcode = ''
-    },
-    // 宸ヨ壓璺嚎鍊兼敼鍙�
-    async routecodeChange(val) {
-      const data = {
-        partcode: this.dialogForm.partcode,
-        routecode: this.dialogForm.routecode
-      }
-      // 鑾峰彇鐢熶骇杞﹂棿鏁扮粍
-      const { data: res2 } = await RouteSelectWkshop(data)
-      this.wkshopArr = res2
-      this.dialogForm.wkshopcode = ''
-    },
-    // 宸ュ簭浠诲姟
-    async check(row) {
-      const { data: res } = await SearchWorkStep({ wo_code: row.wo_code })
-      this.taskTableData = res
-
-      if (this.taskTableData.length === 0) {
-        return this.$message.info('鏃犵敓浜т换鍔℃暟鎹紒')
-      }
-      this.dialogForm.mesordercode = res[0].wo_code
-      this.dialogVisibleTask = true
-    },
-    dialogVisibleBack() {
-      this.dialogVisibleTask = false
-    },
-    // 娲惧彂
-    send(operation) {
-      if (this.radioSelected.length < 1) {
-        return this.$message.info('璇峰厛閫夋嫨宸ュ崟锛�')
-      }
-
-      const row = this.tableData.find(item => item.wo_code === this.radioSelected)
-
-      if (row.status !== 'NEW') {
-        return this.$message.info('姝ゅ伐鍗曚负闈炴柊宸ュ崟鐘舵�侊紝涓嶅彲娲惧彂锛�')
-      }
-      this.operation = operation
-      this.dialogVisible = true
-      this.$nextTick(() => {
-        this.dialogForm.mesorderstus = row.status
-        this.dialogForm.mesordercode = row.wo_code
-        this.dialogForm.partcode = row.partcode
-        this.partcodeChange(row.partcode)
-        this.dialogForm.partname = row.partname
-        this.dialogForm.mesqty = row.plan_qty
-        this.dialogForm.partspec = row.partspec
-        this.dialogForm.sourceorder = row.m_po
-        this.dialogForm.ordertype = row.wotype
-
-        // this.routecodeChange(this.dialogForm.routecode)
-
-        this.dialogForm.planstartdate = row.plan_startdate !== null ? row.plan_startdate : handleDatetime(new Date())
-        this.dialogForm.planenddate = row.plan_enddate !== null ? row.plan_enddate : handleDatetime(new Date())
-        this.dialogForm.orderlev = row.piroque !== null ? row.piroque : 3 // 绛夌骇
-      })
-    },
-    // 鍒犻櫎鎸夐挳
-    async del(row) {
-      if (row.status === 'START' || row.status === 'CLOSED') {
-        return this.$message.info('姝ゅ伐鍗曚笉鍙垹闄わ紒')
-      }
-      this.$confirm('鏄惁纭鍒犻櫎?', '鎻愮ず', {
-        confirmButtonText: '纭畾',
-        cancelButtonText: '鍙栨秷',
-        type: 'warning'
-      }).then(() => {
-        console.log(row, 1)
-        const data = {
-          souceid: row.sourceid,
-          wocode: row.wo_code,
-          m_po: row.m_po,
-          orderqty: row.plan_qty
-        }
-        DeleteMesOrder(data).then(res => {
-          if (res.code === '200') {
-            this.$message.success('鍒犻櫎鎴愬姛!')
-            if (this.form.page > 1 && this.tableData.length === 1) {
-              this.form.page--
-            }
-            this.getMesOrderSearch()
-          }
-        })
-      }).catch(() => {
-        this.$message.info('宸插彇娑堝垹闄�')
-      })
-    },
-    // 宸ュ崟鍏抽棴浜嬩欢
-    orderClose() {
-      if (this.radioSelected.length < 1) {
-        return this.$message.info('璇峰厛閫夋嫨宸ュ崟锛�')
-      }
-      console.log('宸ュ崟鍏抽棴浜嬩欢')
-      this.tableData.forEach(item => {
-        if (item.wo_code === this.radioSelected) {
-          if (item.status === 'START') {
-            return this.$message.info('褰撳墠宸ュ崟鏈畬宸ワ紝鏃犳硶鍏抽棴锛�')
-          } else if (item.status === 'CLOSED') {
-            return this.$message.info('宸ュ崟宸插叧闂紝鏃犻渶鍐嶅叧闂紒')
-          } else {
-            this.$confirm('鏄惁纭鍏抽棴宸ュ崟?', '鎻愮ず', {
-              confirmButtonText: '纭畾',
-              cancelButtonText: '鍙栨秷',
-              type: 'warning'
-            }).then(() => {
-              const data = {
-                wocode: item.wo_code,
-                m_po: item.m_po
-              }
-              ClosedMesOrder(data).then(res => {
-                if (res.code === '200') {
-                  this.$message.success('宸ュ崟鍏抽棴鎴愬姛!')
-                  this.getMesOrderSearch()
-                  // this.radioSelected = ''
-                }
-              })
-            }).catch(() => {
-              this.$message.info('宸插彇娑堝叧闂紒')
-            })
-          }
-        }
-      })
-    },
-    // 瀵硅瘽妗嗕骇鍝佷俊鎭�兼敼鍙�
-    partcodeChangeDialog(val) {
-      console.log(val)
-      this.dialogForm.partname = this.partArr.find(item => item.partcode === val).partname
-      this.dialogForm.partcode = this.partArr.find(item => item.partcode === val).partcode
-      this.dialogForm.partspec = this.partArr.find(item => item.partcode === val).partspec
-      // const { data: res } = await PartSelectRpute({ partcode: val })
-      // this.routeArr = res
-      // this.dialogForm.routecode = ''
-      this.partcodeChange(val)
-    },
-    // 瀵硅瘽妗嗗叧闂簨浠�
-    handleClose() {
-      this.dialogForm.partname = '' // 浜у搧鍚嶇О
-      this.dialogForm.partspec = '' // 浜у搧瑙勬牸
-      this.dialogForm.wkshopname = '' // 鐢熶骇杞﹂棿鍚嶇О
-      this.dialogForm.routename = '' // 宸ヨ壓璺嚎鍚嶇О
-
-      this.dialogForm.mesorderstus = 'NEW' // 宸ュ崟鐘舵�佺爜
-      this.dialogForm.mesordercode = '' // 宸ュ崟缂栧彿
-      this.dialogForm.partcode = '' // 浜у搧缂栫爜
-      this.dialogForm.mesqty = '' // 宸ュ崟鏁伴噺
-
-      this.dialogForm.ordertype = 'PO' // 宸ュ崟绫诲瀷
-      this.dialogForm.sourceorder = '' // 婧愬崟鍗曞彿
-
-      this.dialogForm.routecode = '' // 宸ヨ壓璺嚎缂栫爜
-      this.dialogForm.wkshopcode = '' // 鐢熶骇杞﹂棿缂栫爜
-      this.dialogForm.planstartdate = '' // 璁″垝寮�濮嬫椂闂�
-      this.dialogForm.planenddate = '' // 璁″垝瀹屾垚鏃堕棿
-      this.dialogForm.orderlev = '' // 宸ュ崟绛夌骇
-
-      this.$refs.dialogForm.clearValidate()
-    },
-    // 瀵硅瘽妗嗗彇娑�
-    dialogVisibleCancel() {
-      this.dialogVisible = false
-    },
-    // 瀵硅瘽妗嗙‘璁�
-    dialogVisibleConfirm() {
-      this.$refs.dialogForm.validate(valid => {
-        if (valid) {
-          if (this.dialogForm.ordertype === 'FO' && this.dialogForm.sourceorder.toString().trim().length <= 0) {
-            return this.$message.info('婧愬崟鍗曞彿涓嶈兘涓虹┖锛�')
-          }
-          const data = {
-            // partname: this.dialogForm.partname, // 浜у搧鍚嶇О
-            // partspec: this.dialogForm.partspec, // 浜у搧瑙勬牸
-            // wkshopname: this.dialogForm.wkshopname, // 鐢熶骇杞﹂棿鍚嶇О
-            // routename: this.dialogForm.routename, // 宸ヨ壓璺嚎鍚嶇О
-
-            mesorderstus: this.dialogForm.mesorderstus, // 宸ュ崟鐘舵�佺爜
-            mesordercode: this.dialogForm.mesordercode, // 宸ュ崟缂栧彿
-            partcode: this.dialogForm.partcode, // 浜у搧缂栫爜
-            mesqty: this.dialogForm.mesqty, // 宸ュ崟鏁伴噺
-            ordertype: this.dialogForm.ordertype, // 鍗曟嵁绫诲瀷
-            sourceorder: this.dialogForm.sourceorder, // 婧愬崟鍗曞彿
-            routecode: this.dialogForm.routecode, // 宸ヨ壓璺嚎缂栫爜
-            wkshopcode: this.dialogForm.wkshopcode, // 鐢熶骇杞﹂棿缂栫爜
-            planstartdate: this.dialogForm.planstartdate, // 璁″垝寮�濮嬫椂闂�
-            planenddate: this.dialogForm.planenddate, // 璁″垝瀹屾垚鏃堕棿
-            orderlev: this.dialogForm.orderlev, // 宸ュ崟绛夌骇
-            OperType: this.operation === 'add' ? 'Add' : 'Update'
-          }
-
-          AddUpdateMesOrder(data).then(res => {
-            if (res.code === '200') {
-              this.dialogVisible = false
-
-              this.handlePrint()
-
-              this.$message.success(this.operation === 'add' ? '娣诲姞鎴愬姛锛�' : '娲惧彂鎴愬姛锛�')
-              // this.dialogVisible = false
-              this.getMesOrderSearch()
-            } else {
-              this.$message.error(this.operation === 'add' ? '娣诲姞澶辫触锛�' : '娲惧彂澶辫触锛�')
-            }
-          })
-        }
-      })
-    },
-    // 娲惧彂鎵撳嵃
-    async sendPrint() {
-      const data = {
-        username: getCookie('admin'),
-        // username: getCookie('username'),
-        mesordercode: this.dialogForm.mesordercode
-      }
-      const res = await MesOrderPrintSearch1(data)
-      // const res = await PrintOrder(data)
-      if (res.code === '200') {
-        // 鍙傛暟鍏蜂綋璇存槑璇峰弬鑰冨府鍔╂枃妗d腑鐨勨�淲EB鎶ヨ〃(B/S鎶ヨ〃)->WEB鎶ヨ〃瀹㈡埛绔�->鍚姩鍙傛暟璇存槑鈥濋儴鍒�
-        var args = {
-          type: 'print', // preview  print
-          showOptionDlg: false, // 濡傛灉涓嶆樉绀烘墦鍗板璇濇鑰岀洿鎺ユ墦鍗帮紝灏嗘琛屾敞閲婂幓鎺夊嵆鍙�
-          report: urlAddRandomNo('./static/grf/浜у搧娴佷紶鍗旳4.grf'),
-          data: res.data
-        }
-        webapp_ws_ajax_run(args)
-      }
-    },
-
-    // 鑾峰彇椤甸潰楂樺害
-    getHeight() {
-      this.$nextTick(() => {
-        this.mainHeight = window.innerHeight - 85
-        this.tableHeight = this.mainHeight - 250
-        if (window.innerHeight < 769) {
-          this.tableHeight = this.tableHeight - 20
-        }
-        this.isIpad = window.innerHeight < 769 && window.innerWidth < 1367
-      })
-    },
-    // 宸ヨ壓璺嚎鏀惧ぇ闀滅偣鍑�
-    async searchClick() {
-      if (this.dialogForm.routecode === '') {
-        return this.$message.info('璇峰厛閫夋嫨宸ヨ壓璺嚎锛�')
-      }
-      this.dialogVisibleSearch = true
-      const { data: res } = await SelectRouteStep({ routecode: this.dialogForm.routecode })
-      this.searchTableData = res
-    },
-    dialogVisibleSearchBack() {
-      this.dialogVisibleSearch = false
-    },
-    // 澶勭悊鎵撳嵃
-    handlePrint() {
-      // const number = Math.random() * Math.random()
-      // this.number = number === 0 ? (10 + Math.random()) : number
-      // console.log(number)
-
-      const data2 = {
-        username: getCookie('admin'),
-        mesordercode: this.dialogForm.mesordercode
-      }
-      MesOrderPrintSearch1(data2).then(res2 => {
-        if (res2.code === '200') {
-          const res3 = res2.data.recordset
-
-          this.tableDataPrint = res3
-          this.formApprove.mesordercode = res3[0].wo_code
-          this.formApprove.m_po = res3[0].m_po
-          this.formApprove.partcode = res3[0].partcode
-          this.formApprove.partname = res3[0].partname
-          this.formApprove.partspec = res3[0].partspec
-          this.formApprove.plan_qty = res3[0].plan_qty
-          this.formApprove.routename = res3[0].routename
-          this.formApprove.lm_date = res3[0].lm_date
-
-          this.$nextTick(() => {
-            res3.forEach(i => {
-              this.bindQRCode(i.seq, i.stepqrcode, 'small')
-            })
-            // this.bindQRCode('0', this.formApprove.mesordercode, 'big')
-
-            const div = document.getElementById('qrCode')
-            // 杩欎箞澶氫唬鐮佸彧闇�瑕佽繖涓�鍙ュ疄鐜版垜浠墍闇�瑕佺殑鍔熻兘锛屽畾浣峝iv婊氬姩鏉′綅缃湪搴曢儴锛宻crollHeight璁$畻鍑篸iv鐨勯珮搴︼紝鍐峴crollTop 璁剧疆婊氬姩鏉$殑楂樺害涓哄灏�
-            // div.scrollTop = div.scrollHeight // 婊氬姩鏉′綅浜庢渶搴曢儴
-            div.scrollTop = 0 // 婊氬姩鏉′綅浜庢渶椤堕儴
-          })
-        }
-      })
-      this.dialogVisibleApprove = true
-    },
-    dialogVisibleTaskClose() {
-      this.dialogForm.mesordercode = ''
-    },
-    /*
-  * 鎵嬪姩鐐瑰嚮鎵撳嵃
-  * */
-    // 杩斿洖鎸夐挳
-    dialogVisibleBackPreview() {
-      this.dialogVisibleApprove = false
-    },
-    // dialogVisibleConfirmPreview(param) {
-    //   this.$refs.dialogForm.validate(valid => {
-    //     if (valid) {
-    //       const data = {
-    //         username: getCookie('admin'),
-    //         mesordercode: this.dialogForm.mesordercode
-    //       }
-    //       MesOrderPrintSearch1(data).then(res => {
-    //         if (res.code === '200') {
-    //           this.dialogVisibleApprove = true
-    //           console.log(res, 11)
-    //         }
-    //       })
-    //     }
-    //   })
-    // },
-    // 鐢熸垚浜岀淮鐮�
-    bindQRCode(seq, text, size) {
-      if (size === 'big') {
-        console.log(text, 1)
-        new QRCode(this.$refs.qrCodeDiv0, {
-          text: text,
-          width: size === 'big' ? 90 : 60,
-          height: size === 'big' ? 90 : 60,
-          // colorDark: '#333333', // 浜岀淮鐮侀鑹�
-          colorDark: '#000', // 浜岀淮鐮侀鑹�
-          colorLight: '#ffffff', // 浜岀淮鐮佽儗鏅壊
-          correctLevel: QRCode.CorrectLevel.L// 瀹归敊鐜囷紝L/M/H
-        })
-      } else {
-        new QRCode(this.$refs['qrCodeDiv' + seq], {
-          text: text,
-          width: size === 'big' ? 90 : 60,
-          height: size === 'big' ? 90 : 60,
-          // colorDark: '#333333', // 浜岀淮鐮侀鑹�
-          colorDark: '#000', // 浜岀淮鐮侀鑹�
-          colorLight: '#ffffff', // 浜岀淮鐮佽儗鏅壊
-          correctLevel: QRCode.CorrectLevel.L// 瀹归敊鐜囷紝L/M/H
-        })
-      }
-    },
-
-    dialogVisibleConfirmClose() {
-      // this.dialogForm.mesordercode = ''
-      this.formApprove.mesordercode = ''
-      this.formApprove.m_po = ''
-      this.formApprove.partcode = ''
-      this.formApprove.partname = ''
-      this.formApprove.partspec = ''
-      this.formApprove.plan_qty = ''
-      this.formApprove.routename = ''
-      this.formApprove.lm_date = ''
-
-      // this.$refs.qrCodeDiv0.title = ''
-
-      this.tableDataPrint = []
-    },
-    // 琛ユ墦鎸夐挳
-    supplementClick() {
-      this.dialogVisibleTask = false
-      this.handlePrint()
-    },
-    // 琛ユ墦灏忔爣绛�
-    supplementSmallClick(row) {
-      // let obj = {}
-
-      this.taskTableData.forEach((item, index) => {
-        if (item.seq === row.seq) {
-          console.log(item)
-          this.qrForm = {
-            qrvalue: item.seq === this.taskTableData.length ? item.wo_code + ';' + item.stepcode : item.wo_code + ';' + this.taskTableData[item.seq].stepcode,
-            startqty: item.seq === this.taskTableData.length ? item.plan_qty : this.taskTableData[item.seq].plan_qty,
-            wo_code: item.wo_code,
-            partcode: item.partcode,
-            partname: item.partname,
-            nextstepname: item.seq === this.taskTableData.length ? item.stepname : this.taskTableData[item.seq].stepname,
-            operator: getCookie('username'),
-            operatorTime: handleDatetime2(new Date())
-          }
-          this.$nextTick(() => {
-            console.log(this.qrForm.qrvalue, 3333)
-            this.bindQRCode2(this.qrForm.qrvalue)
-          })
-        }
-      })
-
-      // this.dialogVisibleTask = false
-      this.dialogVisible2 = true
-      console.log(this.qrForm, 1111)
-    },
-    dialogVisible2Close() {
-      this.qrForm.qrvalue = ''
-      this.qrForm.startqty = ''
-      this.qrForm.wo_code = ''
-      this.qrForm.partcode = ''
-      this.qrForm.partname = ''
-      this.qrForm.nextstepname = ''
-      this.qrForm.operator = ''
-      this.qrForm.operatorTime = ''
-      // this.$refs.qrCodeDiv2 = ''
-    },
-    // 鐢熸垚浜岀淮鐮�
-    bindQRCode2(text) {
-      new QRCode(this.$refs.qrCodeDiv2, {
-        text: text,
-        width: 60,
-        height: 60,
-        colorDark: '#000', // 浜岀淮鐮侀鑹�
-        colorLight: '#ffffff', // 浜岀淮鐮佽儗鏅壊
-        correctLevel: QRCode.CorrectLevel.L// 瀹归敊鐜囷紝L/M/H
-      })
-    },
-    // 鎶ュ簾琛ュ崟鎯呭喌涓嬪彲鐐瑰嚮閫夋嫨
-    mesordertsourcesearchclick() {
-      if (this.dialogForm.ordertype === 'PO') {
-        return this.$message.info('宸ュ崟绫诲瀷涓烘姤搴熻ˉ鍗曟儏鍐典笅鍙�夋嫨锛�')
-      }
-
-      this.getErpOrderSearch()
-
-      this.dialogVisibleSource = true
-    },
-    async getErpOrderSearch() {
-      let tempDate2 = this.sourceForm.paystartdate
-      if (tempDate2.length > 0) {
-        tempDate2 = handleDatetime(tempDate2[0]) + '~' + handleDatetime(tempDate2[1])
-      }
-
-      let tempDate = this.sourceForm.payenddate
-      if (tempDate.length > 0) {
-        tempDate = handleDatetime(tempDate[0]) + '~' + handleDatetime(tempDate[1])
-      }
-
-      const data = {
-        erporderstus: this.sourceForm.erporderstus, // 璁㈠崟鐘舵�佺爜
-        erpordercode: this.sourceForm.erpordercode, // 璁㈠崟缂栧彿
-        partcode: this.sourceForm.partcode, // 浜у搧缂栫爜
-        partname: this.sourceForm.partname, // 浜у搧鍚嶇О
-        partspec: this.sourceForm.partspec, // 浜у搧瑙勬牸
-        paystartdate: tempDate2, // 浜や粯鏃堕棿
-        payenddate: tempDate, // 浜や粯鏃堕棿
-        creatuser: this.sourceForm.creatuser, // 鍒涘缓浜哄憳
-
-        prop: this.sourceForm.prop, // 鎺掑簭瀛楁
-        order: this.sourceForm.order, // 鎺掑簭瀛楁
-        page: this.sourceForm.page, // 绗嚑椤�
-        rows: this.sourceForm.rows // 姣忛〉澶氬皯鏉�
-
-      }
-
-      const res = await ErpOrderSearch(data)
-      this.sourceTableData = res.data.filter(item => item.status !== 'NEW')
-      this.sourceFormTotal = res.count
-    },
-    // 鍗曢�夋閫変腑鑾峰彇褰撳墠琛屼俊鎭�
-    getCurrentRowSource(id) {
-      this.radioSelectedId = id
-    },
-    sourceSearch() {
-      this.getErpOrderSearch()
-    },
-    sourceReset() {
-      this.sourceForm.erporderstus = ''
-      this.sourceForm.erpordercode = ''
-      this.sourceForm.partcode = ''
-      this.sourceForm.partname = ''
-      this.sourceForm.partspec = ''
-      this.sourceForm.paystartdate = ''
-      this.sourceForm.payenddate = ''
-      this.sourceForm.creatuser = ''
-      this.sourceForm.createdate = ''
-      this.getErpOrderSearch()
-    },
-    dialogVisibleSourceClose() {
-      this.radioSelectedId = ''
-
-      this.sourceForm.erporderstus = ''
-      this.sourceForm.erpordercode = ''
-      this.sourceForm.partcode = ''
-      this.sourceForm.partname = ''
-      this.sourceForm.partspec = ''
-      this.sourceForm.paystartdate = ''
-      this.sourceForm.payenddate = ''
-      this.sourceForm.creatuser = ''
-      this.sourceForm.createdate = ''
-
-      this.isExpandDialog = false
-      this.sourceTableData = []
-    },
-    dialogVisibleSourceBack() {
-      this.dialogVisibleSource = false
-    },
-    dialogVisibleSourceConfirm() {
-      console.log(this.radioSelectedId)
-      this.sourceTableData.forEach(item => {
-        if (item.id === this.radioSelectedId) {
-          this.dialogForm.sourceorder = item.wo
-          this.dialogForm.partcode = item.partcode
-          this.dialogForm.partspec = item.partspec
-        }
-      })
-      this.dialogVisibleSource = false
-      this.partcodeChange(this.dialogForm.partcode)
-    },
-    mesordertypeChange(val) {
-      if (val === 'PO') {
-        this.dialogForm.sourceorder = ''
-        this.dialogForm.partcode = ''
-        this.dialogForm.partspec = ''
-      }
-    },
-    /* 鍏宠仈宸ヨ壓璺嚎妯″潡*/
-    // 鍏宠仈宸ヨ壓璺嚎
-    async routeClick(row) {
-      console.log(row)
-      // this.defaultroute_code = row.default_route
-      this.dialogFormRoute.projectCode = row.partcode
-      this.dialogFormRoute.projectName = row.partname
-      this.dialogVisibleRoute = true
-      const { data: res } = await InventoryFileAssociationRoute({ partcode: this.dialogFormRoute.projectCode })
-      this.dialogFormRoute.routeOperationArr = res
-
-      this.dialogFormRoute.routeOperationArr.forEach((item, index) => {
-        item.isSelected1 = false
-        item.isSelected2 = false
-        if (index === 0) {
-          item.isSelected1 = true
-          this.projectTableData = item.Data
-        }
-        if (item.flag === 'Y') {
-          item.isSelected2 = true
-          this.$nextTick(() => {
-            $('input:checkbox').eq(index).prop('checked', true)
-          })
-        }
-      })
-
-      this.defaultroute_codeArr = this.dialogFormRoute.routeOperationArr.filter(item => item.flag === 'Y')
-    },
-    // 瀵硅瘽妗嗗叧闂�
-    handleCloseRoute() {
-      this.dialogFormRoute.routeOperationArr = []
-      this.defaultroute_codeArr = []
-      this.defaultroute_code = ''
-      this.projectTableData = []
-    },
-    // 鍙栨秷
-    routeDialogVisibleCancel() {
-      this.dialogVisibleRoute = false
-    },
-    // 纭畾
-    async routeDialogVisibleConfirm() {
-      const temp = this.dialogFormRoute.routeOperationArr.filter(item => item.isSelected2)
-      if (this.defaultroute_code === '' && temp.length > 0) {
-        return this.$message.info('榛樿宸ヨ壓璺嚎涓嶈兘涓虹┖锛�')
-      }
-
-      // 鎻愪氦鏍煎紡
-      const data = []
-      this.dialogFormRoute.routeOperationArr.forEach(item => {
-        if (item.isSelected2) {
-          data.push({ code: item.code, name: item.name })
-        }
-      })
-
-      const res = await SaveInventoryFile(this.dialogFormRoute.projectCode, this.defaultroute_code, data)
-      if (res.code === '200') {
-        this.$message.success('淇濆瓨鎴愬姛锛�')
-        await this.getMesOrderSearch()
-        this.dialogVisibleRoute = false
-      }
-    },
-    // 澶х洅瀛愮偣鍑讳簨浠�
-    myCheckboxClick(val) {
-      console.log(val, 1)
-      this.dialogFormRoute.routeOperationArr.forEach(item => {
-        item.isSelected1 = val.code === item.code
-      })
-
-      this.projectTableData = val.Data
-    },
-    // 灏忕洅瀛愮偣鍑讳簨浠�
-    myCheckboxInputClick(val) {
-      console.log(val, 2)
-      val.isSelected2 = !val.isSelected2
-
-      this.dialogFormRoute.routeOperationArr.forEach((item, index) => {
-        if (val.code === item.code) {
-          item.flag = !item.flag
-        }
-      })
-      if (val.code === this.defaultroute_code) {
-        this.defaultroute_code = ''
-      }
-      this.defaultroute_codeArr = this.dialogFormRoute.routeOperationArr.filter(item => item.isSelected2)
-    }
-  }
-}
-</script>
-
-<style lang="scss" scoped>
-$main_color: #42b983;
-.dialogVisibleRoute {
-  .myCheckboxGroup {
-    display: flex;
-    flex-wrap: wrap;
-
-    .myCheckbox {
-      //border: 1px solid $main_color;
-      border: 1px solid #eee;
-      display: flex;
-      min-width: 100px;
-      padding: 10px;
-      margin: 10px 30px 0 0;
-      border-radius: 5px;
-      cursor: default;
-
-      .myCheckboxInput {
-        margin: 1px 5px 0 0;
-        cursor: pointer;
-      }
-
-    }
-
-    //.myCheckbox{
-    //  border: 1px solid $main_color;
-    //}
-
-    input[type=checkbox] {
-      cursor: pointer;
-      position: relative;
-      width: 14px;
-      height: 14px;
-      font-size: 14px;
-    }
-
-    input[type=checkbox]::after {
-      position: absolute;
-      top: 0;
-      //color: rgb(130, 35, 35);
-      color: $main_color;
-      width: 14px;
-      height: 14px;
-      display: inline-block;
-      visibility: visible;
-      padding-left: 0px;
-      text-align: center;
-      content: ' ';
-      border-radius: 3px
-    }
-
-    input[type=checkbox]:checked::after {
-      //content: "鉁�";
-      content: "鈭�";
-      color: #fff;
-      font-size: 12px;
-      font-weight: bold;
-      background-color: $main_color;
-    }
-  }
-}
-
-.dialogVisibleRoute {
-  ::v-deep .el-dialog__body {
-    padding: 20px 20px !important;
-  }
-}
-
-.defaultroute_code ::v-deep .el-input__suffix-inner {
-  display: flex;
-  align-items: center;
-  justify-content: center;
-  margin-top: -3px;
-}
-
-.el-date-editor {
-  font-size: 14px;
-}
-
-::v-deep .el-dialog__body {
-  padding: 20px 100px !important;
-}
-
-.dialogVisibleSearch ::v-deep .el-dialog__body {
-  padding: 20px 20px !important;
-}
-
-.dialogVisibleConfirmClass ::v-deep .el-dialog__body {
-  padding: 20px 20px !important;
-}
-
-::v-deep .el-table .caret-wrapper {
-  transform: scale(0.8);
-}
-
-::v-deep .el-button--text {
-  color: $main_color;
-  font-size: 14px;
-  cursor: pointer;
-}
-
-.operationClass {
-  height: 23px;
-  display: flex;
-  justify-content: space-between;
-  align-items: center;
-}
-
-::v-deep .el-radio.is-bordered + .el-radio.is-bordered {
-  margin: 10px 30px 0px 0;
-}
-
-.body ::v-deep .el-form-item {
-  margin-bottom: 0;
-}
-
-.elForm ::v-deep .el-form-item {
-  margin-bottom: 0;
-}
-
-//.elTableDiv {
-::v-deep .el-radio__label {
-  display: none;
-}
-
-//}
-
-.el-table::before {
-  height: 0;
-}
-
-//.dialogVisibleConfirmClass >>>.el-table--border, .el-table--fit {
-//  border-bottom: 2px solid #000 ;
-//  //outline: #000 solid 2px !important;
-//}
-
-.tableDataPrint ::v-deep div.cell {
-  display: flex !important;
-  align-items: center !important;
-  justify-content: center !important;
-}
-
-.formContent {
-  width: 240px;
-}
-
-</style>
-
-<style media="print">
-/*@media print {*/
-@page {
-  size: auto;
-  margin: 3mm;
-}
-
-</style>
-<style>
-.formContent .el-form-item__label {
-  color: #000 !important;
-}
-</style>
-<!--鍏叡椤甸潰鏍峰紡-->
-<style lang="scss" scoped>
-$main_color: #42b983;
-
-::v-deep .el-range-input {
-  font-size: 14px !important;
-}
-
-::v-deep .el-range__icon {
-  line-height: 28px !important;
-}
-
-::v-deep .el-range-separator {
-  line-height: 28px !important;
-}
-
-::v-deep .el-range-input {
-  font-size: 14px;
-}
-
-::v-deep .el-range-separator {
-  display: flex;
-  justify-content: center;
-  align-items: center;
-}
-
-.el-icon-share, .el-icon-delete, .el-icon-edit-outline {
-  color: $main_color;
-  cursor: pointer;
-}
-
-.el-icon-edit-outline {
-  margin-right: 15px;
-}
-
-::v-deep .el-button--primary, .el-button--default, .el-button--info {
-  height: 34px;
-  display: flex;
-  align-items: center;
-  padding: 0 15px;
-}
-
-::v-deep .el-button--primary {
-  //background-color: $main_color !important;
-}
-
-::v-deep .el-button--default {
-  background-color: #f8f8fa;
-  border: none;
-}
-
-::v-deep .el-input__inner {
-  height: 34px;
-  line-height: 34px;
-  //color: #a7a7a7;
-}
-
-::v-deep .el-dialog__body {
-  padding: 20px 100px !important;
-}
-
-::v-deep .dialogVisibleRoles .el-dialog__body {
-  padding: 20px 20px !important;
-}
-
-::v-deep .importPickerClass .el-dialog__body {
-  padding: 20px 20px !important;
-}
-
-::v-deep .el-dialog__footer {
-  display: flex;
-  justify-content: flex-end;
-}
-
-::v-deep .el-table .caret-wrapper {
-  transform: scale(0.8);
-}
-
-::v-deep .cell {
-  display: flex;
-  align-items: center;
-  justify-content: space-between;
-}
-
-::v-deep .el-table::before {
-  height: 0;
-}
-
-::v-deep .el-table__body-wrapper {
-  background-color: #f8f8fa;
-}
-
-::v-deep .el-table__body .el-table__row.hover-row td {
-  background-color: #eaecef;
-}
-
-::v-deep .el-form--inline .el-form-item__label {
-  color: #a7a7a7;
-}
-
-.body ::v-deep .el-divider {
-  border: 1px solid #eee;
-  width: 99%;
-  margin: 10px auto;
-}
-
-.body ::v-deep .el-form-item {
-  margin-bottom: 0;
-}
-
-.userDialogVisible ::v-deep .el-form-item {
-  margin-bottom: 0;
-}
-
-.dateMini {
-  ::v-deep .el-input__inner {
-    line-height: 34px;
-    height: 34px;
-    width: 200px;
-    display: flex;
-    font-size: 14px !important;
-    align-items: center !important;
-  }
-
-  ::v-deep .el-input__prefix {
-    margin-top: -3px;
-  }
-
-  //::v-deep .el-range__icon{
-  //  line-height: 28px;
-  //}
-}
-
-</style>
-<style>
-
-.el-table .custom-row {
-  background: #f8f8fa;
-}
-</style>

--
Gitblit v1.9.3