shish пре 1 година
родитељ
комит
8900c2fa53
2 измењених фајлова са 30 додато и 2 уклоњено
  1. 7 0
      ghs/src/service/order/index.js
  2. 23 2
      ghs/src/views/order/list.vue

+ 7 - 0
ghs/src/service/order/index.js

@@ -84,6 +84,13 @@ export class OrderService extends BaseService {
 		});
 		});
 	}
 	}
 
 
+	modifyReCheck(data) {
+		return this.request({
+			url: '/modify-re-check',
+			params: data
+		});
+	}
+
 	modifyRemark(data) {
 	modifyRemark(data) {
 		return this.request({
 		return this.request({
 			url: '/modify-remark',
 			url: '/modify-remark',

+ 23 - 2
ghs/src/views/order/list.vue

@@ -37,6 +37,15 @@
           <i class="el-icon-success" style="color:green;font-size:17px;"></i>
           <i class="el-icon-success" style="color:green;font-size:17px;"></i>
         </div>
         </div>
       </template>
       </template>
+
+      <template #table-column-reCheck="{scope}">
+        <div v-if="scope.row.reCheck == 0">
+            <i class="el-icon-edit" style="color:#409eff;font-size:17px;cursor:pointer;" @click="changeReCheck(scope.row)"></i>
+        </div>
+        <div v-else>
+          <i class="el-icon-success" style="color:green;font-size:17px;"></i>
+        </div>
+      </template>
       
       
       <template #table-column-debt="{scope}">
       <template #table-column-debt="{scope}">
         <span style="font-size:13px;" v-if="scope.row.debt == 1">是</span>
         <span style="font-size:13px;" v-if="scope.row.debt == 1">是</span>
@@ -517,11 +526,17 @@ export default {
         that.refreshData()
         that.refreshData()
       })
       })
     },
     },
-    updateClearSign(info){
+    changeReCheck(info){
       let that = this
       let that = this
+      this.$service.order.modifyReCheck({id:info.id}).then(data => {
+        this.$notify({ title: '操作成功', message: '', type: 'success'})
+        info.reCheck = 1
+      })
+    },
+    updateClearSign(info){
       this.$service.order.modifyClearSign({id:info.id}).then(data => {
       this.$service.order.modifyClearSign({id:info.id}).then(data => {
         this.$notify({ title: '操作成功', message: '', type: 'success'})
         this.$notify({ title: '操作成功', message: '', type: 'success'})
-        that.refreshData()
+        info.clearSign = 1
       })
       })
     },
     },
 		newCg(){
 		newCg(){
@@ -799,6 +814,12 @@ export default {
                 align: 'center',
                 align: 'center',
                 width: 70
                 width: 70
               },
               },
+              {
+                prop: 'reCheck',
+                label: '复核',
+                align: 'center',
+                width: 50
+              },
               {
               {
                 prop: 'clearSign',
                 prop: 'clearSign',
                 label: '结算',
                 label: '结算',