|
@@ -765,10 +765,13 @@ export default {
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|
|
|
materialNumber(val) {
|
|
materialNumber(val) {
|
|
|
|
|
+ //BUG修复
|
|
|
|
|
+ /**
|
|
|
if (val == this.selectedRowData.materialNumber) {
|
|
if (val == this.selectedRowData.materialNumber) {
|
|
|
this.updateInsertForm.theoryWeight = this.selectedRowData.theoryWeight
|
|
this.updateInsertForm.theoryWeight = this.selectedRowData.theoryWeight
|
|
|
this.updateInsertForm.netWeight = this.selectedRowData.netWeight
|
|
this.updateInsertForm.netWeight = this.selectedRowData.netWeight
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ */
|
|
|
this.updateInsertForm.theoryWeight = accMul(
|
|
this.updateInsertForm.theoryWeight = accMul(
|
|
|
val,
|
|
val,
|
|
|
this.updateInsertForm.singleWeight
|
|
this.updateInsertForm.singleWeight
|
|
@@ -780,7 +783,10 @@ export default {
|
|
|
),
|
|
),
|
|
|
val
|
|
val
|
|
|
)
|
|
)
|
|
|
- }
|
|
|
|
|
|
|
+ if (val == this.selectedRowData.materialNumber) {
|
|
|
|
|
+ this.updateInsertForm.netWeight = this.selectedRowData.netWeight
|
|
|
|
|
+ }
|
|
|
|
|
+ //}
|
|
|
},
|
|
},
|
|
|
updateInsertVisible(val) {
|
|
updateInsertVisible(val) {
|
|
|
if (!val) {
|
|
if (!val) {
|