This commit is contained in:
parent
a3956e6f97
commit
4be4beda2d
|
|
@ -90,7 +90,7 @@
|
|||
|
||||
<script>
|
||||
import BASE_URL from '@/services/mes/api.js';
|
||||
|
||||
import JSONbig from 'json-bigint'
|
||||
|
||||
export default {
|
||||
|
||||
|
|
@ -410,7 +410,8 @@ export default {
|
|||
postdata.id = this.getDataId_BigInt();
|
||||
}
|
||||
|
||||
postdata.production_order_materials = JSON.parse(JSON.stringify(this.detailsData));
|
||||
postdata.production_order_materials = JSONbig.parse(JSONbig.stringify(this.detailsData));
|
||||
|
||||
postdata.production_order_materials = postdata.production_order_materials.filter(item => item.materials_id);
|
||||
|
||||
postdata.production_order_materials.forEach(item => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue