|
|
|
|
@ -36,13 +36,14 @@ |
|
|
|
|
:showDialog="editOpen" |
|
|
|
|
:cardNo="cardNo" |
|
|
|
|
@closeDialog="closeDialog" |
|
|
|
|
:rowItem="rowItem" |
|
|
|
|
></editDialog> |
|
|
|
|
</basic-container> |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import editDialog from './editDialog.vue'; |
|
|
|
|
import { getList } from '@/api/productionManagement/deductionPreserve'; |
|
|
|
|
import { getList,getWorkOrderByCardNo } from '@/api/productionManagement/deductionPreserve'; |
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
|
components: { |
|
|
|
|
@ -205,20 +206,28 @@ export default { |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
data: [], |
|
|
|
|
rowItem:{} |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 扫描流程卡号 |
|
|
|
|
queryOrder() { |
|
|
|
|
this.editOpen = true; |
|
|
|
|
this.loading = true; |
|
|
|
|
getWorkOrderByCardNo({cardNo:this.cardNo}).then(res => { |
|
|
|
|
this.rowItem = res.data.data |
|
|
|
|
this.editOpen = true; |
|
|
|
|
this.loading = false |
|
|
|
|
}).catch(err=>{ |
|
|
|
|
this.loading = false |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
closeDialog(type) { |
|
|
|
|
this.isRushOpen = false; |
|
|
|
|
this.isBatchOpen = false; |
|
|
|
|
this.editOpen = false; |
|
|
|
|
if(type){ |
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
if (type) { |
|
|
|
|
this.onLoad(this.page, this.query); |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|