|
@ -132,7 +132,9 @@ |
|
|
import { |
|
|
import { |
|
|
Exception |
|
|
Exception |
|
|
} from 'sass'; |
|
|
} from 'sass'; |
|
|
import { nextTick } from 'vue'; |
|
|
import { |
|
|
|
|
|
nextTick |
|
|
|
|
|
} from 'vue'; |
|
|
|
|
|
|
|
|
export default { |
|
|
export default { |
|
|
components: { |
|
|
components: { |
|
@ -333,21 +335,16 @@ import { nextTick } from 'vue'; |
|
|
|
|
|
|
|
|
var queryParams = { |
|
|
var queryParams = { |
|
|
filters: [{ |
|
|
filters: [{ |
|
|
column: "plan_type", |
|
|
|
|
|
action: "==", |
|
|
|
|
|
value: "assemble" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
column: "number", |
|
|
column: "number", |
|
|
action: "==", |
|
|
action: "==", |
|
|
value: this.dataContent.planNumber |
|
|
value: this.dataContent.planNumber |
|
|
} |
|
|
}], |
|
|
], |
|
|
|
|
|
pageNo: 1, |
|
|
pageNo: 1, |
|
|
pageSize: 100, |
|
|
pageSize: 100, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
let isAllSubmit = Number(Number(this.dataContent.goodQty)+ Number(this.showList.length))==Number(this.dataContent.planQty) |
|
|
let isAllSubmit = Number(Number(this.dataContent.goodQty) + Number(this.showList.length)) == |
|
|
|
|
|
Number(this.dataContent.planQty) |
|
|
|
|
|
|
|
|
var planeInfo = await getPlanByNumber(queryParams); |
|
|
var planeInfo = await getPlanByNumber(queryParams); |
|
|
if (planeInfo.data && planeInfo.data.list.length > 0) { |
|
|
if (planeInfo.data && planeInfo.data.list.length > 0) { |
|
@ -469,7 +466,8 @@ import { nextTick } from 'vue'; |
|
|
// this.dataContent.handleQty = this.allList.length; |
|
|
// this.dataContent.handleQty = this.allList.length; |
|
|
// dataContent.noGoodQty 未完工 |
|
|
// dataContent.noGoodQty 未完工 |
|
|
|
|
|
|
|
|
if (this.dataContent.handleQty == this.dataContent.packQty || (this.dataContent.noGoodQty<this.dataContent.packQty&&this.dataContent.handleQty == this.dataContent.noGoodQty)) { |
|
|
if (this.dataContent.handleQty == this.dataContent.packQty || (this.dataContent.noGoodQty < this |
|
|
|
|
|
.dataContent.packQty && this.dataContent.handleQty == this.dataContent.noGoodQty)) { |
|
|
if (this.$refs.scanPopup) { |
|
|
if (this.$refs.scanPopup) { |
|
|
this.$refs.scanPopup.closeScanPopup(); |
|
|
this.$refs.scanPopup.closeScanPopup(); |
|
|
} |
|
|
} |
|
@ -555,8 +553,6 @@ import { nextTick } from 'vue'; |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
<style scoped lang="scss"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.item { |
|
|
.item { |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
} |
|
|
} |
|
|