Bladeren bron

no message

linwenxin 1 jaar geleden
bovenliggende
commit
d8f9646efd
1 gewijzigde bestanden met toevoegingen van 38 en 18 verwijderingen
  1. 38 18
      src/views/workOrder/completedToBeSettled/index.vue

+ 38 - 18
src/views/workOrder/completedToBeSettled/index.vue

@@ -366,13 +366,15 @@ export default {
 											{
 												columnAttributes: {
 													label: '结算标准(元/套)',
-													prop: 'normAmount'
+													prop: 'normAmount',
+													width: "160px"
 												},
 											},
 											{
 												columnAttributes: {
 													label: '结算数量',
-													prop: 'settleNum'
+													prop: 'settleNum',
+													width: "160px"
 												},
 												render: (h, { row, column, index }) => {
 													return this.panfuan(row) ? <div class="redbordererr">
@@ -393,6 +395,7 @@ export default {
 												columnAttributes: {
 													label: '结算金额(元)',
 													prop: 'settleAmount',
+													width: "160px"
 												},
 												render: (h, { row, column, index }) => {
 													row.settleAmount = (((Number(row.normAmount || 0) * Number(row.settleNum || 0)) * 100) / 100).toFixed(2)
@@ -496,7 +499,8 @@ export default {
 											{
 												columnAttributes: {
 													label: '结算数量',
-													prop: 'settleNum'
+													prop: 'settleNum',
+													width: "160px"
 												},
 												render: (h, { row, column, index }) => {
 													return this.panfuan(row) ? <div class="redbordererr">
@@ -517,6 +521,7 @@ export default {
 												columnAttributes: {
 													label: '结算金额(元)',
 													prop: 'settleAmount',
+													width: "160px"
 												},
 												render: (h, { row, column, index }) => {
 													row.settleAmount = (((Number(row.repairAmount || 0) + (Number(row.normAmount || 0) / 100) * Number(row.repairNormAmount || 0) * Number(row.settleNum || 0)) * 100) / 100).toFixed(2)
@@ -532,7 +537,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '备注',
-										prop: 'remark'
+										prop: 'remark',
+										width: "200px"
 									},
 									render: (h, { row, column, index }) => {
 										return this.panfuan(row) ? <div class="redbordererr">
@@ -551,7 +557,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '工程师名称',
-										prop: 'workerName'
+										prop: 'workerName',
+										width: "140px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -574,7 +581,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '结算费用',
-										prop: 'settleAmount'
+										prop: 'settleAmount',
+										width: "140px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr">
@@ -595,7 +603,8 @@ export default {
 								}, {
 									columnAttributes: {
 										label: '确认人',
-										prop: 'confirmBy'
+										prop: 'confirmBy',
+										width: "100px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -606,7 +615,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '确认时间',
-										prop: 'confirmTime'
+										prop: 'confirmTime',
+										width: "140px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -617,7 +627,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '汇总状态',
-										prop: 'poolStatus'
+										prop: 'poolStatus',
+										width: "100px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -795,20 +806,22 @@ export default {
 								{
 									columnAttributes: {
 										label: '单价(元/套)',
-										prop: 'normAmount'
+										prop: 'normAmount',
+										width: "160px"
 									},
 								},
 								{
 									columnAttributes: {
 										label: '数量',
-										prop: 'settleNum'
+										prop: 'settleNum',
+										width: "160px"
 									},
 									render: (h, { row, column, index }) => {
 										return this.panfuan(row) ? <div class="redbordererr">
 											<el-form-item label="" label-width="0px">
 												<el-input
 													type="number"
-													disabled={!row.bianji || row.normAmount ? expandDataForm.settleStatus != 'YWG' : true}
+													disabled={!row.bianji || expandDataForm.settleStatus != 'YWG'}
 													value={row[column.columnAttributes.prop]}
 													onInput={(val) => { row[column.columnAttributes.prop] = val }}
 													placeholder="请输入内容"
@@ -822,6 +835,7 @@ export default {
 									columnAttributes: {
 										label: '结算金额(元)',
 										prop: 'settleAmount',
+										width: "160px"
 									},
 									render: (h, { row, column, index }) => {
 										row.settleAmount = (((Number(row.normAmount || 0) * Number(row.settleNum || 0)) * 100) / 100).toFixed(2)
@@ -833,7 +847,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '备注',
-										prop: 'remark'
+										prop: 'remark',
+										width: "200px"
 									},
 									render: (h, { row, column, index }) => {
 										return this.panfuan(row) ? <div class="redbordererr">
@@ -852,7 +867,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '工程师名称',
-										prop: 'workerName'
+										prop: 'workerName',
+										width: "140px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -875,7 +891,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '结算费用',
-										prop: 'settleAmount'
+										prop: 'settleAmount',
+										width: "140px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr">
@@ -896,7 +913,8 @@ export default {
 								}, {
 									columnAttributes: {
 										label: '确认人',
-										prop: 'confirmBy'
+										prop: 'confirmBy',
+										width: "100px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -907,7 +925,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '确认时间',
-										prop: 'confirmTime'
+										prop: 'confirmTime',
+										width: "140px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">
@@ -918,7 +937,8 @@ export default {
 								{
 									columnAttributes: {
 										label: '汇总状态',
-										prop: 'poolStatus'
+										prop: 'poolStatus',
+										width: "100px"
 									},
 									render: (h, { row, column, index }) => {
 										return <div class="redbordererr" style="padding:0 6px;display:flex;align-items:center;">