页面调整

This commit is contained in:
王帅 2025-05-06 15:36:50 +08:00
parent 6bf264981f
commit 789752087c
4 changed files with 26 additions and 22 deletions

View File

@ -68,7 +68,7 @@
</a-col> </a-col>
<a-col :span="8"> <a-col :span="8">
<a-form-model-item label="时效" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="validity"> <a-form-model-item label="时效" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="validity">
<a-input v-model="model.validity" placeholder="请输入时效" ></a-input> <a-input-number v-model="model.validity" placeholder="请输入时效" style="width: 100%" ></a-input-number>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="8"> <a-col :span="8">
@ -139,6 +139,7 @@
supplierCode :[{required: true, message: '请输入供应商编码!'}], supplierCode :[{required: true, message: '请输入供应商编码!'}],
effectiveDate :[{required: true, message: '请选择生效日期!'}], effectiveDate :[{required: true, message: '请选择生效日期!'}],
validity :[{required: true, message: '请输入时效!'}], validity :[{required: true, message: '请输入时效!'}],
tandardPrice :[{required: true, message: '请输入定标价格!'}],
}, },
url: { url: {
add: "/iogisticsprice/tmsIogisticsPrice/add", add: "/iogisticsprice/tmsIogisticsPrice/add",

View File

@ -141,11 +141,6 @@
align:"center", align:"center",
dataIndex: 'pn' dataIndex: 'pn'
}, },
{
title:'描述',
align:"center",
dataIndex: 'describes'
},
{ {
title:'规格', title:'规格',
align:"center", align:"center",
@ -156,6 +151,11 @@
align:"center", align:"center",
dataIndex: 'qtyPerTon' dataIndex: 'qtyPerTon'
}, },
{
title:'描述',
align:"center",
dataIndex: 'describes'
},
{ {
title: '操作', title: '操作',
dataIndex: 'action', dataIndex: 'action',

View File

@ -5,17 +5,12 @@
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="料号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pn"> <a-form-model-item label="料号" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="pn">
<a-input v-model="model.pn" placeholder="请输入料号" ></a-input> <a-input v-model.trim="model.pn" placeholder="请输入料号" ></a-input>
</a-form-model-item>
</a-col>
<a-col :span="12">
<a-form-model-item label="描述" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="describes">
<a-input v-model="model.describes" placeholder="请输入描述" ></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="规格" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="spec"> <a-form-model-item label="规格" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="spec">
<a-input v-model="model.spec" placeholder="请输入规格" ></a-input> <a-input v-model.trim="model.spec" placeholder="请输入规格" ></a-input>
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12"> <a-col :span="12">
@ -23,6 +18,11 @@
<a-input-number v-model="model.qtyPerTon" placeholder="请输入每托的产品支数" style="width: 100%" /> <a-input-number v-model="model.qtyPerTon" placeholder="请输入每托的产品支数" style="width: 100%" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
<a-col :span="12">
<a-form-model-item label="描述" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="describes">
<a-input v-model="model.describes" placeholder="请输入描述" ></a-input>
</a-form-model-item>
</a-col>
</a-row> </a-row>
</a-form-model> </a-form-model>
</j-form-container> </j-form-container>
@ -60,6 +60,9 @@
}, },
confirmLoading: false, confirmLoading: false,
validatorRules: { validatorRules: {
pn :[{required: true, message: '请输入料号!'}],
spec :[{required: true, message: '请输入规格!'}],
qtyPerTon :[{required: true, message: '请输入产品支数!'}],
}, },
url: { url: {
add: "/vehicleproduct/tmsVehicleProduct/add", add: "/vehicleproduct/tmsVehicleProduct/add",

View File

@ -80,7 +80,7 @@
<a-table <a-table
ref="table" ref="table"
size="middle" size="middle"
:scroll="{ y: 200, x:'max-content' }" :scroll="{ y: 200, x:1332 }"
bordered bordered
rowKey="id" rowKey="id"
:columns="columns" :columns="columns"
@ -194,7 +194,7 @@
title:'发货日期', title:'发货日期',
align:"center", align:"center",
dataIndex: 'shipDate', dataIndex: 'shipDate',
width: 120, // width: 120,
customRender:function (text) { customRender:function (text) {
return !text?"":(text.length>10?text.substr(0,10):text) return !text?"":(text.length>10?text.substr(0,10):text)
} }
@ -203,25 +203,25 @@
title:'发货类型', title:'发货类型',
align:"center", align:"center",
dataIndex: 'shipType_dictText', dataIndex: 'shipType_dictText',
width: 100, // width: 100,
}, },
{ {
title:'料号', title:'料号',
align:"center", align:"center",
dataIndex: 'pn', dataIndex: 'pn',
width: 100, // width: 100,
}, },
{ {
title:'预计装车总托数', title:'预计装车总托数',
align:"center", align:"center",
dataIndex: 'totalPallets', dataIndex: 'totalPallets',
width: 120, // width: 120,
}, },
{ {
title:'总发货数量', title:'总发货数量',
align:"center", align:"center",
dataIndex: 'totalShips', dataIndex: 'totalShips',
width: 100, // width: 100,
}, },
// { // {
// title:'送货区域', // title:'送货区域',
@ -232,19 +232,19 @@
title:'送货地点', title:'送货地点',
align:"center", align:"center",
dataIndex: 'deliveryAddress', dataIndex: 'deliveryAddress',
width: 80, // width: 80,
}, },
{ {
title:'取货仓库', title:'取货仓库',
align:"center", align:"center",
dataIndex: 'pickUpHub', dataIndex: 'pickUpHub',
width: 80, // width: 80,
}, },
{ {
title:'用车需求编号', title:'用车需求编号',
align:"center", align:"center",
dataIndex: 'vdNo', dataIndex: 'vdNo',
width: 120, // width: 120,
}, },
{ {
title: '操作', title: '操作',