详情调整,操作居中

product
bawei 2 years ago
parent f9869e213e
commit b0738534e7

@ -120,7 +120,7 @@
sortable sortable
align="center" align="center"
/> />
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"

@ -32,7 +32,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="合同状态" <el-form-item label="合同状态"
prop="status"> prop="status">
<p>{{dataForm.status}}</p> <p>{{ dataForm.status | dynamicText(statusOptions) }} </p>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
@ -84,7 +84,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="供应商/客户编" <el-form-item label="供应商/客户编"
prop="code"> prop="code">
<p>{{dataForm.code}}</p> <p>{{dataForm.code}}</p>
</el-form-item> </el-form-item>
@ -134,7 +134,7 @@
<el-col :span="24"> <el-col :span="24">
<el-form-item label="合同分类 " <el-form-item label="合同分类 "
prop="classification"> prop="classification">
<p>{{dataForm.classification}}</p> <p>{{ dataForm.classification | dynamicText(classificationOptions) }} </p>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
@ -310,8 +310,57 @@
contract_item1List: [] contract_item1List: []
}, },
activemdfrsi: '0', activemdfrsi: '0',
contractTypeOptions: [{ 'fullName': '选项一', 'id': '1' }, { 'fullName': '选项二', 'id': '2' }] contractTypeOptions: [
{
fullName: "采购合同",
id: "0",
},
{
fullName: "销售合同",
id: "1",
},
{
fullName: "租赁合同",
id: "3",
},
{
fullName: "仓储合同",
id: "4",
},
{
fullName: "运输合同",
id: "5",
},
{
fullName: "施工合同",
id: "6",
},
],
statusOptions: [
{
fullName: "进行中",
id: "0",
},
{
fullName: "审批中",
id: "1",
},
{
fullName: "审批结束",
id: "2",
},
],
classificationOptions: [
{
fullName: "采购类",
id: "0",
},
{
fullName: "销售类",
id: "1",
},
],
} }
}, },
computed: {}, computed: {},

@ -126,21 +126,21 @@
<el-table-column <el-table-column
prop="contractCode" prop="contractCode"
label="合同编码" label="合同编码"
width="200" width="180"
align="center" align="center"
sortable sortable
/> />
<el-table-column <el-table-column
prop="contractName" prop="contractName"
label="合同名称" label="合同名称"
width="200" width="270"
align="center" align="center"
sortable sortable
/> />
<el-table-column <el-table-column
prop="contractNo" prop="contractNo"
label="对方合同号" label="对方合同号"
width="200" width="180"
align="center" align="center"
sortable sortable
/> />
@ -222,7 +222,7 @@
/> />
<el-table-column <el-table-column
label="单据状态" label="合同状态"
width="120" width="120"
sortable sortable
prop="status" prop="status"

@ -117,7 +117,7 @@
<el-table-column <el-table-column
prop="supplierNm" prop="supplierNm"
label="客户名称" label="客户名称"
width="200" width="250"
align="center" align="center"
sortable sortable
/> />
@ -174,7 +174,7 @@
<el-table-column <el-table-column
prop="bank" prop="bank"
label="开户行" label="开户行"
width="200" width="270"
align="center" align="center"
sortable sortable
/> />
@ -194,7 +194,7 @@
<el-table-column <el-table-column
prop="bankAccount" prop="bankAccount"
label="银行账号" label="银行账号"
width="0" width="200"
align="center" align="center"
/> />
@ -213,7 +213,7 @@
<el-table-column <el-table-column
prop="address" prop="address"
label="地址" label="地址"
width="120" width="250"
align="center" align="center"
sortable="custom" sortable="custom"
/> />

@ -79,7 +79,7 @@
width="0" width="0"
align="left" align="left"
/> />
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <el-button type="text" v-has="'btn_edit'"--> <!-- <el-button type="text" v-has="'btn_edit'"-->
<!-- @click="addOrUpdateHandle(scope.row.id)">编辑--> <!-- @click="addOrUpdateHandle(scope.row.id)">编辑-->

@ -156,7 +156,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"

@ -140,34 +140,34 @@
sortable sortable
/> />
<el-table-column <el-table-column
width="120" width="200"
prop="identity" prop="identity"
label="身份证" label="身份证"
align="center" align="center"
sortable sortable
/> />
<el-table-column <el-table-column
width="120" width="200"
prop="bankAccount" prop="bankAccount"
label="银行账户" label="银行账户"
align="center" align="center"
sortable sortable
/> />
<el-table-column <el-table-column
width="120" width="200"
prop="bank" prop="bank"
label="开户行" label="开户行"
align="center" align="center"
sortable sortable
/> />
<el-table-column <el-table-column
width="120" width="200"
prop="bankNo" prop="bankNo"
label="行号" label="行号"
align="center" align="center"
sortable sortable
/> />
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"

@ -144,7 +144,7 @@
align="center" align="center"
sortable sortable
/> />
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"

@ -155,7 +155,7 @@
align="center" align="center"
sortable sortable
/> />
<el-table-column label="操作" fixed="right" width="100"> <el-table-column label="操作" fixed="right" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
type="text" type="text"

Loading…
Cancel
Save