From 5a23c3a4599a652f97de2316eabfb6dcbd1c2f38 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期日, 02 十一月 2025 17:25:04 +0800
Subject: [PATCH] 优化出库单前端显示
---
新建文件夹/WMS/src/views/outbound/outboundOrder.vue | 81 +++++++++++++++++++++++++---------------
1 files changed, 51 insertions(+), 30 deletions(-)
diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder.vue" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder.vue"
index f47b4ba..99e31b8 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder.vue"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WMS/src/views/outbound/outboundOrder.vue"
@@ -1,4 +1,5 @@
- <template>
+
+<template>
<view-grid ref="grid"
:columns="columns"
:detail="detail"
@@ -71,8 +72,8 @@
{
title: "搴撴埧鍙�",
field: "warehouse_no",
- type: "string",
- dataKey: "warehouse",
+ type: "select",
+ dataKey: "warehouseNuber",
data: [],
width: 100
},
@@ -109,6 +110,7 @@
[
{ title: "鍑哄簱鍗曞彿", field: "out_no", type: "like" },
{ title: "瀹㈡埛浠g爜", field: "client_no", type: "like" },
+ { title: "搴撴埧鍙�", field: "warehouse_no", type: "select", dataKey: "warehouseNuber", data: [] },
{
title: "鍑哄簱鍗曠被鍨�",
field: "out_type",
@@ -118,13 +120,13 @@
},
],
[
- {
- title: "鐘舵��",
- field: "outStatus",
- type: "select",
- dataKey: "outStatus",
- data: [],
- },
+ // {
+ // title: "鐘舵��",
+ // field: "outStatus",
+ // type: "select",
+ // dataKey: "outStatus",
+ // data: [],
+ // },
{ title: "瀹㈡埛鍚嶇О", field: "client_name", type: "like" },
{ title: "鍑哄簱璁拌处鏃堕棿", field: "account_time", type: "datetime" },
]
@@ -180,7 +182,7 @@
type: 'string',
width: 100,
align: 'left',
- bind: { key: "warehouse", data: [] }
+ bind: { key: "warehouseNuber", data: [] }
},
{
field: 'account_time',
@@ -198,13 +200,13 @@
// bind: { key: "outStatus", data: [] }
// edit:{type:""}
},
- {
- field: 'creater',
- title: '鍒涘缓浜�',
- type: 'string',
- width: 90,
- align: 'left'
- },
+ // {
+ // field: 'creater',
+ // title: '鍒涘缓浜�',
+ // type: 'string',
+ // width: 90,
+ // align: 'left'
+ // },
{
field: 'createDate',
title: '鍒涘缓鏃堕棿',
@@ -213,13 +215,13 @@
align: 'left',
sort: true
},
- {
- field: 'modifier',
- title: '淇敼浜�',
- type: 'string',
- width: 100,
- align: 'left'
- },
+ // {
+ // field: 'modifier',
+ // title: '淇敼浜�',
+ // type: 'string',
+ // width: 100,
+ // align: 'left'
+ // },
{
field: 'modifyDate',
title: '淇敼鏃堕棿',
@@ -231,7 +233,7 @@
]);
const detail = ref({
- cnName: "鍘嗗彶鍑哄簱鍗曟槑缁�",
+ cnName: "鍑哄簱鍗曟槑缁�",
table: "DeliveryOrderDetail",
url: "/DeliveryOrderDetail/",
columns: [
@@ -262,8 +264,18 @@
width: 120,
align: 'left',
bind: { key: "warehouseNuber", data: [] },
- edit:{type:""}
+ // edit:{type:""}
+ },
+ {
+ field: "goods_no",
+ title: "鐗╂枡鍚嶇О",
+ type: "string",
+ width: 150,
+ align: "left",
+ required: true,
+ // edit:{type:""},
+ bind: { key: "MaterielNames", data: [] },
},
{
field: 'goods_no',
@@ -273,11 +285,20 @@
require: true,
align: 'left',
bind: { key: "medicineGoods", data: [] },
- edit:{type:""}
+ // edit:{type:""}
},
{
field: 'order_qty',
title: '璁㈠崟鏁伴噺',
+ type: 'decimal',
+ width: 100,
+ require: true,
+ align: 'left',
+ // edit:{type:"number"}
+ },
+ {
+ field: 'order_Outqty',
+ title: '瀹屾垚鏁伴噺',
type: 'decimal',
width: 100,
require: true,
@@ -307,7 +328,7 @@
type: 'string',
width: 120,
align: 'left',
- edit:{type:""}
+ // edit:{type:""}
},
{
field: 'status',
@@ -316,7 +337,7 @@
width: 120,
align: 'left',
bind: { key: "syncStatus", data: [] },
- edit:{type:'select',dataKey:'syncStatus',data:[]}
+ // edit:{type:'select',dataKey:'syncStatus',data:[]}
},
{
field: 'creater',
--
Gitblit v1.9.3