diff --git a/src/typings/produce.d.ts b/src/typings/produce.d.ts index 19ac9bf..2a466f7 100644 --- a/src/typings/produce.d.ts +++ b/src/typings/produce.d.ts @@ -6,6 +6,7 @@ declare namespace workOrderArrange { pageSize: number; total: number; wiredrawingCode: string; + orderCode?: string; specification: string; equipmentCode: string; enamellingCode: string; diff --git a/src/views/produce/workOrderArrange/index.vue b/src/views/produce/workOrderArrange/index.vue index 5769b7d..e72654b 100644 --- a/src/views/produce/workOrderArrange/index.vue +++ b/src/views/produce/workOrderArrange/index.vue @@ -66,6 +66,9 @@ + + + @@ -154,6 +157,7 @@ const searchForm = ref({ total: 0, workOrderType: 1, wiredrawingCode: '', + orderCode: '', specification: '', equipmentCode: '', enamellingCode: '' @@ -241,15 +245,15 @@ const lsColumns: Ref> = ref([ tooltip: true } }, - { - title: '开始机台', - align: 'center', - width: 160, - key: 'equipmentCode', - ellipsis: { - tooltip: true - } - }, + { + title: '订单编号', + align: 'center', + width: 160, + key: 'orderCode', + ellipsis: { + tooltip: true + } + }, { title: '产品型号', align: 'center', @@ -415,6 +419,15 @@ const qbColumns: Ref> = ref([ tooltip: true } }, + { + title: '订单编号', + align: 'center', + width: 160, + key: 'orderCode', + ellipsis: { + tooltip: true + } + }, // { // title: '结束机台', // align: 'center', @@ -581,6 +594,7 @@ function reset(): void { pageNum: 1, pageSize: 10, total: 0, + orderCode: '', workOrderType: 0, wiredrawingCode: '', specification: '', diff --git a/src/views/sale/saleOrder/index.vue b/src/views/sale/saleOrder/index.vue index fc687ff..46604c5 100644 --- a/src/views/sale/saleOrder/index.vue +++ b/src/views/sale/saleOrder/index.vue @@ -557,10 +557,13 @@ const columns: Ref> = ref([ '2': { label: '已排产', type: 'success' }, '3': { label: '生产中', type: 'warning' }, '4': { label: '已完成', type: 'success' }, - '5': { label: '已完成', type: 'success' }, + '5': { label: '已发货', type: 'success' }, + '6': { label: '已驳回', type: 'error' }, '8': { label: '申请发货中', type: 'primary' }, - '9': { label: '已发货', type: 'success' }, - '6': { label: '已驳回', type: 'error' } + '9': { label: '已通过待发货', type: 'success' }, + '10': { label: '发货申请未通过', type: 'error' }, + '11': { label: '出库中', type: 'success' }, + '12': { label: '已发货', type: 'success' } }; const { label, type } = statusMap[row.status || '0']; return {label}; @@ -597,6 +600,7 @@ const columns: Ref> = ref([ title: '操作', align: 'center', key: 'actions', + fixed: 'right', width: 220, render: row => { const actions:any[] = []; @@ -748,7 +752,7 @@ const workorderHandleCancel = () => { function handleSend(row){ return dialog.warning({ title: '提示', - content:"申请后需仓管审核后发货,确认申请发货?", + content:"申请后需仓管审核后发货,确认申请?", style: { borderRadius: '10px' }, @@ -759,7 +763,7 @@ function handleSend(row){ console.log(1); }, onPositiveClick: () => { - editSaleOrder({id: row.id, status: '8'}).then((res: any) => { + editSaleOrder({id: row.id, status: '8', attr1:'send'}).then((res: any) => { if (res.code === 200) { message.success('申请成功'); init(); diff --git a/src/views/storage/rawMaterial/index.vue b/src/views/storage/rawMaterial/index.vue index d6db429..0131dd5 100644 --- a/src/views/storage/rawMaterial/index.vue +++ b/src/views/storage/rawMaterial/index.vue @@ -1,730 +1,929 @@ diff --git a/src/views/system/log/login/index.vue b/src/views/system/log/login/index.vue index 19bbf63..f68412a 100644 --- a/src/views/system/log/login/index.vue +++ b/src/views/system/log/login/index.vue @@ -200,11 +200,11 @@ const columns: Ref> = ref([ align: 'center' }, - { - title: '地址', - key: 'ipaddr', - align: 'center' - }, + // { + // title: '地址', + // key: 'ipaddr', + // align: 'center' + // }, { title: '描述', diff --git a/src/views/system/log/operate/index.vue b/src/views/system/log/operate/index.vue index 1041a14..ffde947 100644 --- a/src/views/system/log/operate/index.vue +++ b/src/views/system/log/operate/index.vue @@ -275,12 +275,12 @@ const columns: Ref> = ref([ align: 'center', width: 100 }, - { - title: '主机', - key: 'operIp', - align: 'center', - width: 140 - }, + // { + // title: '主机', + // key: 'operIp', + // align: 'center', + // width: 140 + // }, { title: '操作状态', key: 'status', diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 6264a3b..b745963 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -281,12 +281,12 @@ const columns: Ref> = ref([ align: 'center', width: 60 }, - { - title: '用户编号', - key: 'id', - align: 'center', - width: 120 - }, + // { + // title: '用户编号', + // key: 'id', + // align: 'center', + // width: 120 + // }, { title: '用户名称', key: 'name',