Commit 1cbd0c2c by 张立顺

fix bug修复

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