Selaa lähdekoodia

fix: 调整申请修改暂时位置

zh 2 vuotta sitten
vanhempi
commit
7c0e2b02e6

+ 15 - 14
src/views/commercialEngineering/crossDistrict/crossDistrictkList.vue

@@ -203,6 +203,20 @@ export default {
       return (h, { row, index, column }) => {
         return (
           <div class='operation-btns'>
+               {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
+              <el-button
+                size='mini'
+                type='text'
+                onClick={() => {
+                  this.detailId = row.id
+                  this.operateType = 'apply'
+                  this.operateTitle = '申请修改'
+                  this.operateVisible = true
+                }}
+              >
+                申请修改
+              </el-button>
+            ) : null}
             {this.isTradeExaminer && (row.orderStatus === 'WAIT' || row.orderStatus === 'OK' || row.orderStatus === 'FAIL') ? (
               <el-button
                 size='mini'
@@ -253,20 +267,7 @@ export default {
               更新
               </el-button> : null
             }
-            {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
-              <el-button
-                size='mini'
-                type='text'
-                onClick={() => {
-                  this.detailId = row.id
-                  this.operateType = 'apply'
-                  this.operateTitle = '申请修改'
-                  this.operateVisible = true
-                }}
-              >
-                申请修改
-              </el-button>
-            ) : null}
+
             {this.isTradeExaminer && ((row.orderStatus === 'OK' || row.orderStatus === 'FAIL') && row.isApplyUpdate) ? (
               <el-button
                 size='mini'

+ 15 - 14
src/views/commercialEngineering/frock/frockList.vue

@@ -202,6 +202,20 @@ export default {
       return (h, { row, index, column }) => {
         return (
           <div class='operation-btns'>
+                {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
+              <el-button
+                size='mini'
+                type='text'
+                onClick={() => {
+                  this.detailId = row.id
+                  this.operateType = 'apply'
+                  this.operateTitle = '申请修改'
+                  this.operateVisible = true
+                }}
+              >
+                申请修改
+              </el-button>
+            ) : null}
             {this.isTradeExaminer && (row.orderStatus === 'WAIT' || row.orderStatus === 'OK' || row.orderStatus === 'FAIL') ? (
               <el-button
                 size='mini'
@@ -255,20 +269,7 @@ export default {
               更新
               </el-button> : null
             }
-            {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
-              <el-button
-                size='mini'
-                type='text'
-                onClick={() => {
-                  this.detailId = row.id
-                  this.operateType = 'apply'
-                  this.operateTitle = '申请修改'
-                  this.operateVisible = true
-                }}
-              >
-                申请修改
-              </el-button>
-            ) : null}
+
             {this.isTradeExaminer && ((row.orderStatus === 'OK' || row.orderStatus === 'FAIL') && row.isApplyUpdate) ? (
               <el-button
                 size='mini'

+ 15 - 14
src/views/commercialEngineering/homeDecoration/homeDecorationList.vue

@@ -239,6 +239,20 @@ export default {
       return (h, { row, index, column }) => {
         return (
           <div class='operation-btns'>
+               {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
+              <el-button
+                size='mini'
+                type='text'
+                onClick={() => {
+                  this.detailId = row.id
+                  this.operateType = 'apply'
+                  this.operateTitle = '申请修改'
+                  this.operateVisible = true
+                }}
+              >
+                申请修改
+              </el-button>
+            ) : null}
             {this.isTradeExaminer && (row.orderStatus === 'WAIT' || row.orderStatus === 'OK' || row.orderStatus === 'FAIL') ? (
               <el-button
                 size='mini'
@@ -289,20 +303,7 @@ export default {
               更新
               </el-button> : null
             }
-            {!this.isTradeExaminer && ((row.orderStatus === 'OK') && row.status === 'ING' && !row.isApplyUpdate) ? (
-              <el-button
-                size='mini'
-                type='text'
-                onClick={() => {
-                  this.detailId = row.id
-                  this.operateType = 'apply'
-                  this.operateTitle = '申请修改'
-                  this.operateVisible = true
-                }}
-              >
-                申请修改
-              </el-button>
-            ) : null}
+
             {this.isTradeExaminer && ((row.orderStatus === 'OK' || row.orderStatus === 'FAIL') && row.isApplyUpdate) ? (
               <el-button
                 size='mini'