2
3
dubch 5 роки тому
батько
коміт
58394485ce

+ 3 - 0
src/dashoo.cn/backend/api/controllers/tmpzcgf/tmpzcgf.go

@@ -860,6 +860,9 @@ func (this *TmpzcgfController) ClearAll() {
 
 	sql = "truncate table Base_AuditHistory"
 	svc.DBE.Query(sql)
+	
+	sql = "truncate table OilSupplierSceneFile"
+	svc.DBE.Query(sql)
 	fmt.Println("==========truncate table结束=========")
 
 }

+ 3 - 3
src/dashoo.cn/frontend_web/src/pages/select/companyselect/index.vue

@@ -1722,10 +1722,10 @@ export default {
       }
       if (row.SupplierTypeCode === '01') { // 物资类
         this.$router.push('/oilsupplier/supplier/' + row.Id + '/goodsedit?certid=' + row.CertId + '&showcy=true')
-      } else if (row.SupplierTypeCode === '02') { // 服务类
-        this.$router.push('/oilsupplier/supplier/' + row.Id + '/techedit?certid=' + row.CertId + '&showcy=true')
-      } else if (row.SupplierTypeCode === '03') { // 物资类
+      } else if (row.SupplierTypeCode === '02') { // 基建类
         this.$router.push('/oilsupplier/supplier/' + row.Id + '/basisedit?certid=' + row.CertId + '&showcy=true')
+      } else if (row.SupplierTypeCode === '03') { // 服务类
+        this.$router.push('/oilsupplier/supplier/' + row.Id + '/techedit?certid=' + row.CertId + '&showcy=true')
       }
     },
     GetorgOptions () {