haoxuan
2024-04-11 5d6f0896533dfa7d91a227036cf51bd072d6ccbf
关闭弹框再开启的时候赋值之前的回数,车号,片数的逻辑处理
1个文件已修改
4 ■■■■ 已修改文件
src/views/productManage/productRegisterForm/addProductRegisterPage.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/productManage/productRegisterForm/addProductRegisterPage.vue
@@ -907,8 +907,8 @@
    // 仪器连接弹窗
    deviceConnectClick() {
      if (this.isDeviceConnectStatus) {
        this.$refs.addProductDialog.proForm.pieceNumber=1
        this.$refs.addProductDialog.proForm.pieces=1
        this.$refs.addProductDialog.proForm.pieceNumber= this.$refs.addProductDialog.proForm.pieceNumber||1
        this.$refs.addProductDialog.proForm.pieces= this.$refs.addProductDialog.proForm.pieces||1
        this.$forceUpdate();
        this.$refs.addProductDialog.editDialogVisible = true;
      }