Commit 1cbd0c2c by 张立顺

fix bug修复

1 parent 74e90dac
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<div v-else>-</div> <div v-else>-</div>
</template> </template>
<template slot="actionSlot" slot-scope="scope"> <template slot="actionSlot" slot-scope="scope">
<el-button type="text" @click="handleInventoryDetail(scope.row)" <el-button type="text" @click="handleInventoryDetail(scope.scope)"
>库存明细</el-button >库存明细</el-button
> >
</template> </template>
...@@ -414,12 +414,6 @@ export default { ...@@ -414,12 +414,6 @@ export default {
formatter: (cellValue) => { formatter: (cellValue) => {
return "¥" + cellValue.goodsTotalPrice return "¥" + cellValue.goodsTotalPrice
} }
},
{
label: "操作",
prop: "action",
width: "100px",
addHtml: "actionSlot"
} }
] ]
} }
...@@ -427,6 +421,10 @@ export default { ...@@ -427,6 +421,10 @@ export default {
}, },
props: { props: {
fromPage: {
type: String,
default: "procurementReview"
},
rejectVisible: { rejectVisible: {
type: Boolean, type: Boolean,
default: false default: false
...@@ -458,8 +456,16 @@ export default { ...@@ -458,8 +456,16 @@ export default {
watch: {}, watch: {},
created() {}, created() {
components: {}, if (this.fromPage == "procurementBusiness") {
this.tableParams.tableColumns.push({
label: "操作",
prop: "action",
width: "100px",
addHtml: "actionSlot"
})
}
},
mounted() { mounted() {
this.getDetail({ currentPage: 1, pageSize: 10 }) this.getDetail({ currentPage: 1, pageSize: 10 })
...@@ -468,7 +474,7 @@ export default { ...@@ -468,7 +474,7 @@ export default {
methods: { methods: {
handleInventoryDetail(row) { handleInventoryDetail(row) {
this.stockDetailInfo = { this.stockDetailInfo = {
upgradeGoodsId: row?.goodsId || row?.id upgradeGoodsId: row?.upgradeGoodsId
// yqMerchantId: this.detailInfo.callOutYqMerchantId // yqMerchantId: this.detailInfo.callOutYqMerchantId
} }
this.stockDetailDialogVisible = true this.stockDetailDialogVisible = true
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<orderDeatilDialog :visible.sync="detailVisible" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog> <orderDeatilDialog :visible.sync="detailVisible" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog>
<CheckDialog :check-visible="checkVisible" v-if="checkVisible" :params-obj="paramsObj" from-page="procurementBusiness" @dialogClose="dialogClose"> <CheckDialog :check-visible="checkVisible" v-if="checkVisible" :params-obj="paramsObj" from-page="procurementBusiness" @dialogClose="dialogClose">
</CheckDialog> </CheckDialog>
<rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" :filter-reject-list="[1,2]" @dialogClose="dialogClose"> <rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" from-page="procurementBusiness" :filter-reject-list="[1,2]" @dialogClose="dialogClose">
</rejectDialog> </rejectDialog>
</d2-container> </d2-container>
</template> </template>
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
btn-cancel-label="取消" btn-cancel-label="取消"
@closeDialog="handleClose" @closeDialog="handleClose"
@confirmDialog="handleClose" @confirmDialog="handleClose"
:appendToBody="true"
> >
<div class="d2-container-content"> <div class="d2-container-content">
<div class="search-box"> <div class="search-box">
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
@refreshTable="refreshTable" @refreshTable="refreshTable"
> >
<template slot="actionSlot" slot-scope="scope"> <template slot="actionSlot" slot-scope="scope">
<el-button type="text" @click="handleInventoryDetail(scope.row)" <el-button type="text" @click="handleInventoryDetail(scope.scope)"
>库存明细</el-button >库存明细</el-button
> >
</template> </template>
...@@ -168,10 +168,7 @@ ...@@ -168,10 +168,7 @@
<span class="span-txt-one">{{ <span class="span-txt-one">{{
item.status ? $$(statusForShow, [item.status], "text") : "" item.status ? $$(statusForShow, [item.status], "text") : ""
}}</span> }}</span>
<span <span class="span-txt-two">
class="span-txt-two"
style="display: inline-block; width: 116px"
>
<span <span
:class="item.status ? examineStatusClass[item.status] : ''" :class="item.status ? examineStatusClass[item.status] : ''"
> >
...@@ -214,7 +211,7 @@ ...@@ -214,7 +211,7 @@
<span v-if="item.remark" class="span-txt-two" <span v-if="item.remark" class="span-txt-two"
>备注: >备注:
<el-tooltip <el-tooltip
class="item" class="item audit-remark-input"
popper-class="remark-popper-class" popper-class="remark-popper-class"
effect="dark" effect="dark"
:content="item.remark" :content="item.remark"
...@@ -608,13 +605,12 @@ export default { ...@@ -608,13 +605,12 @@ export default {
.audit-form { .audit-form {
margin-bottom: 30px; margin-bottom: 30px;
max-width: 800px;
} }
} }
.examine-record { .examine-record {
position: relative; position: relative;
width: 850px; width: 100%;
min-height: 60px; min-height: 60px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #fafafa; border: 1px solid #fafafa;
...@@ -662,21 +658,22 @@ export default { ...@@ -662,21 +658,22 @@ export default {
.record-div-d { .record-div-d {
margin-top: 10px; margin-top: 10px;
display: flex;
align-items: center;
} }
.span-txt-one { .span-txt-one {
margin-left: 14px; margin-left: 14px;
width: 203px; margin-right: 30px;
height: 21px;
} }
.reviewer { .reviewer {
display: inline-block; display: inline-block;
width: 140px; margin-right: 30px;
} }
.span-txt-two { .span-txt-two {
margin-left: 20px; margin-right: 30px;
} }
.greenSp { .greenSp {
...@@ -710,4 +707,10 @@ export default { ...@@ -710,4 +707,10 @@ export default {
text-align: center; text-align: center;
padding: 10px 0; padding: 10px 0;
} }
::v-deep.audit-remark-input {
.el-input__count {
right: 15px;
bottom: 5px;
}
}
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
@refreshTable="refreshTable" @refreshTable="refreshTable"
> >
<template slot="actionSlot" slot-scope="scope"> <template slot="actionSlot" slot-scope="scope">
<el-button type="text" @click="handleInventoryDetail(scope.row)" <el-button type="text" @click="handleInventoryDetail(scope.scope)"
>库存明细</el-button >库存明细</el-button
> >
</template> </template>
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
<div style="display: flex; margin-bottom: 10px"> <div style="display: flex; margin-bottom: 10px">
<span style="width: 60px; font-weight: bold">备注:</span> <span style="width: 60px; font-weight: bold">备注:</span>
<el-input <el-input
class="audit-remark-input"
type="textarea" type="textarea"
:rows="4" :rows="4"
placeholder="请输入备注" placeholder="请输入备注"
...@@ -561,6 +562,7 @@ export default { ...@@ -561,6 +562,7 @@ export default {
} }
}, },
handleInventoryDetail(row) { handleInventoryDetail(row) {
console.log(row, "row")
this.stockDetailInfo = { this.stockDetailInfo = {
upgradeGoodsId: row?.goodsId || row?.id upgradeGoodsId: row?.goodsId || row?.id
// yqMerchantId: this.detailInfo.callOutYqMerchantId // yqMerchantId: this.detailInfo.callOutYqMerchantId
...@@ -780,4 +782,10 @@ export default { ...@@ -780,4 +782,10 @@ export default {
text-align: center; text-align: center;
padding: 10px 0; padding: 10px 0;
} }
::v-deep.audit-remark-input {
.el-input__count {
right: 15px;
bottom: 5px;
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!