|  | @@ -310,6 +310,7 @@
 | 
											
												
													
														|  |                  maxlength="16"
 |  |                  maxlength="16"
 | 
											
												
													
														|  |                  v-input-limit="2"
 |  |                  v-input-limit="2"
 | 
											
												
													
														|  |                  placeholder="计划净重"
 |  |                  placeholder="计划净重"
 | 
											
												
													
														|  | 
 |  | +                @input="changePlannetWeight"
 | 
											
												
													
														|  |                  :disabled="
 |  |                  :disabled="
 | 
											
												
													
														|  |                  browseStatus || current !== before || form.warehouseStatus > 3
 |  |                  browseStatus || current !== before || form.warehouseStatus > 3
 | 
											
												
													
														|  |                "
 |  |                "
 | 
											
										
											
												
													
														|  | @@ -6372,6 +6373,7 @@ export default {
 | 
											
												
													
														|  |        entryPrinting: 1,
 |  |        entryPrinting: 1,
 | 
											
												
													
														|  |        weighedRequired: 1,
 |  |        weighedRequired: 1,
 | 
											
												
													
														|  |        inTime: '',
 |  |        inTime: '',
 | 
											
												
													
														|  | 
 |  | +      bring: null
 | 
											
												
													
														|  |      };
 |  |      };
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
										
											
												
													
														|  | @@ -6436,6 +6438,9 @@ export default {
 | 
											
												
													
														|  |      this.getConfigKey("show_fIfinspection").then((response) => {
 |  |      this.getConfigKey("show_fIfinspection").then((response) => {
 | 
											
												
													
														|  |        this.showfIfinspection = response.msg;
 |  |        this.showfIfinspection = response.msg;
 | 
											
												
													
														|  |      });
 |  |      });
 | 
											
												
													
														|  | 
 |  | +    this.getConfigKey("warehouse.inStock.bring").then((response) => {
 | 
											
												
													
														|  | 
 |  | +      this.bring = response.msg;
 | 
											
												
													
														|  | 
 |  | +    });
 | 
											
												
													
														|  |      //货值是否显示
 |  |      //货值是否显示
 | 
											
												
													
														|  |      // this.getConfigKey("show_fValue").then((response) => {
 |  |      // this.getConfigKey("show_fValue").then((response) => {
 | 
											
												
													
														|  |      //   this.showfValue = response.msg;
 |  |      //   this.showfValue = response.msg;
 | 
											
										
											
												
													
														|  | @@ -7998,7 +8003,8 @@ export default {
 | 
											
												
													
														|  |            } else if (column.property === "fNetweight") {
 |  |            } else if (column.property === "fNetweight") {
 | 
											
												
													
														|  |              sums[index] = (sums[index] / 1000).toFixed(4) + "吨";
 |  |              sums[index] = (sums[index] / 1000).toFixed(4) + "吨";
 | 
											
												
													
														|  |            } else {
 |  |            } else {
 | 
											
												
													
														|  | -            sums[index] = sums[index].toFixed(2);
 |  | 
 | 
											
												
													
														|  | 
 |  | +            // sums[index] = sums[index].toFixed(2);
 | 
											
												
													
														|  | 
 |  | +            sums[index] = sums[index]
 | 
											
												
													
														|  |            }
 |  |            }
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |        });
 |  |        });
 | 
											
										
											
												
													
														|  | @@ -8802,19 +8808,18 @@ export default {
 | 
											
												
													
														|  |          this.msgSuccess("撤销成功");
 |  |          this.msgSuccess("撤销成功");
 | 
											
												
													
														|  |        })
 |  |        })
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | 
 |  | +    changePlannetWeight() {
 | 
											
												
													
														|  | 
 |  | +      console.log(this.bring)
 | 
											
												
													
														|  | 
 |  | +      if (this.bring == '0') {
 | 
											
												
													
														|  | 
 |  | +        this.$set(this.form, 'fPlangrossweight', this.form.fPlannetweight)
 | 
											
												
													
														|  | 
 |  | +      }
 | 
											
												
													
														|  | 
 |  | +    },
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |    watch: {
 |  |    watch: {
 | 
											
												
													
														|  |      // 监听 addOrUpdateVisible 改变
 |  |      // 监听 addOrUpdateVisible 改变
 | 
											
												
													
														|  |      addOrUpdateVisible(oldVal, newVal) {
 |  |      addOrUpdateVisible(oldVal, newVal) {
 | 
											
												
													
														|  |        this.showDialog = this.addOrUpdateVisible;
 |  |        this.showDialog = this.addOrUpdateVisible;
 | 
											
												
													
														|  |      },
 |  |      },
 | 
											
												
													
														|  | -    'form.fPlannetweight': {
 |  | 
 | 
											
												
													
														|  | -      deep: true,
 |  | 
 | 
											
												
													
														|  | -      handler: function(newVal, oldVal) {
 |  | 
 | 
											
												
													
														|  | -        // this.form.fPlangrossweight = newVal
 |  | 
 | 
											
												
													
														|  | -        this.$set(this.form, 'fPlangrossweight', newVal)
 |  | 
 | 
											
												
													
														|  | -      }
 |  | 
 | 
											
												
													
														|  | -    }
 |  | 
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  |  };
 |  |  };
 | 
											
												
													
														|  |  </script>
 |  |  </script>
 |