hdy
2025-03-14 4cb4e41df7c2cc7954e09ef3751ecb24de7c06d2
billion-ui/src/views/main/om/info/index.vue
@@ -125,17 +125,17 @@
      <el-table-column label="预装上线数量" align="center" prop="preQty" />
      <el-table-column label="缸体工单状态" align="center" prop="bodyStatus" >
        <template slot-scope="scope">
          <dict-tag :options="dict.type.status" :value="scope.row.bodyStatus"/>
          <dict-tag :options="dict.type.order_status" :value="scope.row.bodyStatus"/>
        </template>
      </el-table-column>
      <el-table-column label="缸盖工单状态" align="center" prop="headStatus" >
        <template slot-scope="scope">
          <dict-tag :options="dict.type.status" :value="scope.row.headStatus"/>
          <dict-tag :options="dict.type.order_status" :value="scope.row.headStatus"/>
        </template>
      </el-table-column>
      <el-table-column label="预装工单状态" align="center" prop="preStatus" >
        <template slot-scope="scope">
          <dict-tag :options="dict.type.status" :value="scope.row.preStatus"/>
          <dict-tag :options="dict.type.order_status" :value="scope.row.preStatus"/>
        </template>
      </el-table-column>
      <el-table-column label="备注" width="180px" show-overflow-tooltip align="center" prop="remarks" />
@@ -456,13 +456,18 @@
      getInfo(id).then(response => {
        this.form = response.data;
        if(this.form.bodyStatus === "1"){
          this.form.bodyStatus = "3";
          this.form.bodyStatus = "5";
          updateInfo(this.form).then(response => {
            this.$modal.msgSuccess("暂停成功");
            this.getList();});
        }else if(this.form.bodyStatus === "2"){
          this.$message('订单已完成禁止修改');
        }else if(this.form.bodyStatus === "3"){
        }else if(this.form.bodyStatus === "3") {
          this.$message('订单关闭禁止修改');
        }else if(this.form.bodyStatus === "4") {
          this.$message('订单已全部上线完成禁止修改');
        }
        else if(this.form.bodyStatus === "5") {
          this.form.bodyStatus = "1";
          updateInfo(this.form).then(response => {
            this.$modal.msgSuccess("重启成功");
@@ -479,13 +484,18 @@
      getInfo(id).then(response => {
        this.form = response.data;
        if(this.form.headStatus === "1"){
          this.form.headStatus = "3";
          this.form.headStatus = "5";
          updateInfo(this.form).then(response => {
            this.$modal.msgSuccess("暂停成功");
            this.getList();});
        }else if(this.form.headStatus === "2"){
          this.$message('订单已完成禁止修改');
        }else if(this.form.headStatus === "3"){
        }else if(this.form.headStatus === "3") {
          this.$message('订单关闭禁止修改');
        }else if(this.form.headStatus === "4") {
          this.$message('订单已全部上线完成禁止修改');
        }
        else if(this.form.headStatus === "5") {
          this.form.headStatus = "1";
          updateInfo(this.form).then(response => {
            this.$modal.msgSuccess("重启成功");
@@ -502,13 +512,18 @@
      getInfo(id).then(response => {
        this.form = response.data;
        if(this.form.preStatus === "1"){
          this.form.preStatus = "3";
          this.form.preStatus = "5";
          updateInfo(this.form).then(response => {
            this.$modal.msgSuccess("暂停成功");
            this.getList();});
        }else if(this.form.preStatus === "2"){
          this.$message('订单已完成禁止修改');
        }else if(this.form.preStatus === "3"){
        }else if(this.form.preStatus === "3") {
          this.$message('订单关闭禁止修改');
        }else if(this.form.preStatus === "4") {
          this.$message('订单已全部上线完成禁止修改');
        }
        else if(this.form.preStatus === "5") {
          this.form.preStatus = "1";
          updateInfo(this.form).then(response => {
            this.$modal.msgSuccess("重启成功");