小牛集卡web 客户端
chenwei
2021-06-08 e41faf1640e2e71febf4ba347a301e0c043b6ce9
src/components/agopage/comment/InfoDialog.vue
@@ -102,9 +102,10 @@
        ],
      },
      temId: "",
      self:false
    };
  },
  props: ["demo", "count","type","self"],
  props: ["demo", "count","type"],
  created() {
    this.$set(this.demo);
  },
@@ -114,6 +115,9 @@
  watch: {
    demo: {
      handler(val, oldVal) {
        console.log("箱子弹窗的值",val)
        //根据是否为自备箱进行增加或删除输入项
        this.self = val.SelfBox
        this.temId = val.TempOrderID;
        if (val.TempOrderContainer.length != 0) {
          this.ruleForm.BolCode = val.TempOrderContainer[0].BolCode;
@@ -142,7 +146,7 @@
              val.TempOrderContainer[0].ContainerNo;
            this.ruleForm.moreBox[0].BoxSeal =
              val.TempOrderContainer[0].BoxSeal;
              his.ruleForm.moreBox[0].Weight =
              this.ruleForm.moreBox[0].Weight =
              val.TempOrderContainer[0].Weight;
          }
          console.log(this.ruleForm);