Merge remote-tracking branch 'origin/main'

main
yangzhicheng 11 months ago
commit 380f493c01
  1. 2
      src/views/inspection/inspectionobject.vue
  2. 2
      src/views/inspection/inspectionobjectDetail.vue

@ -109,6 +109,7 @@
{ {
label: "对象编号", label: "对象编号",
prop: "objectNo", prop: "objectNo",
search: true,
span:4.5, span:4.5,
rules: [{ rules: [{
required: true, required: true,
@ -190,7 +191,6 @@
{ {
label: "KKS编号", label: "KKS编号",
prop: "kksNo", prop: "kksNo",
search:true,
rules: [{ rules: [{
required: true, required: true,
message: "请输入KKS编号", message: "请输入KKS编号",

@ -237,11 +237,9 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(() => { }).then(() => {
alert(this.form.istatus)
if (this.form.istatus==1){ if (this.form.istatus==1){
this.form.cancelReason=""; this.form.cancelReason="";
} }
alert(this.form.cancelReason)
update(this.form).then(() => { update(this.form).then(() => {
this.$router.push({ this.$router.push({
path: "/inspection/inspectionobject", path: "/inspection/inspectionobject",

Loading…
Cancel
Save