Commit f1a11709 authored by zhangyichen's avatar zhangyichen

修改bug

parent a6c44cb4
......@@ -819,7 +819,6 @@ export default {
this.endMaterialList.forEach(item => {
this.addMaterialMap[item.businessId] = item
})
this.endMaterialList = []
this.selectPartNum.forEach(item => {
if (this.addMaterialMap[item.businessId]) {
this.$nextTick(() => {
......@@ -1189,6 +1188,9 @@ export default {
} else if (this.htmlType === '3') {
nltmodelAdd(params).then(res => {
this.$message.success('新增成功')
this.queryParams = this.$options.data().queryParams
this.positionList = this.$options.data().positionList
this.form = this.$options.data().form
this.$router.push({
name: '/productionInfo/ProductionModel'
})
......
......@@ -234,7 +234,7 @@
:total="totalMater"
:page.sync="queryParam.page"
:limit.sync="queryParam.rows"
@pagination="partNum"
@pagination="partNum(1)"
/>
</el-col>
</el-row>
......@@ -413,9 +413,9 @@ export default {
this.queryParam.page = 1
this.queryParam.rows = 10
this.openPartNo = true
this.partNum()
this.partNum(1)
},
partNum() {
partNum(flag) {
this.loadingCode = true
const params = {
...this.queryParam
......@@ -425,7 +425,9 @@ export default {
this.selectPartNum = res.rows
this.totalMater = res.total
this.loadingCode = false
this.getList()
if (flag !== 1) {
this.getList()
}
})
},
// 删除生产模型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment