-
admin
2024-06-06 019f1c8bac7e8986d299aff70c123dedc1747d72
jcdm-ui/src/views/main/om/productionOrde/index.vue
@@ -147,6 +147,16 @@
          @click="patchwork"
        >补打</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          :disabled="single"
          @click="jieBang"
        >解绑</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
@@ -297,7 +307,7 @@
  delProductionOrde,
  addProductionOrde,
  updateProductionOrde,
  receivingWorkOrders
  receivingWorkOrders, jieBang
} from "@/api/main/om/productionOrde/productionOrde";
import QRCode from "qrcodejs2";
@@ -406,6 +416,13 @@
    this.test1()
  },
  methods: {
    jieBang(row){
      const id = row.id || this.ids
      jieBang(id).then(response => {
        this.getList()
        this.$modal.msgSuccess("解绑成功");
      });
    },
    patchwork(row){
      const id = row.id || this.ids
      getProductionOrde(id).then(response => {