|
@@ -241,6 +241,7 @@
|
|
|
import OrderPrint from '@/components/print/OrderPrint';
|
|
import OrderPrint from '@/components/print/OrderPrint';
|
|
|
import bomList from './components/bomList';
|
|
import bomList from './components/bomList';
|
|
|
import { getTaskListById } from '@/api/mainData/index.js';
|
|
import { getTaskListById } from '@/api/mainData/index.js';
|
|
|
|
|
+ import dictMixins from '@/mixins/dictMixins';
|
|
|
import {
|
|
import {
|
|
|
reportPage,
|
|
reportPage,
|
|
|
getInfoById,
|
|
getInfoById,
|
|
@@ -248,6 +249,7 @@
|
|
|
writeOffWork
|
|
writeOffWork
|
|
|
} from '@/api/produceOrder/index.js';
|
|
} from '@/api/produceOrder/index.js';
|
|
|
export default {
|
|
export default {
|
|
|
|
|
+ mixins: [dictMixins],
|
|
|
components: {
|
|
components: {
|
|
|
OrderPrint,
|
|
OrderPrint,
|
|
|
otherMission,
|
|
otherMission,
|
|
@@ -1021,9 +1023,12 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '交货仓库',
|
|
label: '交货仓库',
|
|
|
- prop: 'deliveryWarehouse',
|
|
|
|
|
|
|
+ prop: 'storageCode',
|
|
|
minWidth: 100,
|
|
minWidth: 100,
|
|
|
- align: 'center'
|
|
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
|
|
+ return this.getDictValue('仓库', _row.storageCode);
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: '操作',
|
|
label: '操作',
|
|
@@ -1057,6 +1062,7 @@
|
|
|
created () {
|
|
created () {
|
|
|
this.workOrderId = this.$route.query.id;
|
|
this.workOrderId = this.$route.query.id;
|
|
|
this.getInfo(this.workOrderId);
|
|
this.getInfo(this.workOrderId);
|
|
|
|
|
+ this.requestDict('仓库');
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
handlePrint () {
|
|
handlePrint () {
|