Commit 755011fd authored by 徐来柯's avatar 徐来柯

update

parent 96cadfb9
......@@ -165,4 +165,8 @@
}
textarea {
padding: 5px 15px;
}
.el-table--striped .el-table__body tr.el-table__row--striped.current-row td, .el-table__body tr.current-row>td {
background-color: #C1D0F3!important;
}
\ No newline at end of file
......@@ -65,9 +65,17 @@
:show-overflow-tooltip="true"
prop="FinishQuantity"
width="180">
</el-table-column>
<el-table-column
label="变量绑定"
:show-overflow-tooltip="true"
prop="VFinishQuantity"
width="200">
<template slot-scope="scope" >
<span>{{scope.row.FinishQuantity}}</span>
<span @click="openRelate('FinishQuantity',scope.row)" class="relateBtn plan_relateBtn" >选 择</span>
<div class="slot_class" >
<span>{{scope.row.VFinishQuantity}}</span>
<span @click="openRelate('VFinishQuantity',scope.row)" class="relateBtn plan_relateBtn" >选 择</span>
</div>
</template>
</el-table-column>
<el-table-column
......@@ -218,7 +226,7 @@ export default {
var $this = this
this.$axios({
method:"post",
url:`/api/ProductStorage/ProductStorage_WindowAddSave?ID=${this.ID}&VFinish=${data.Name}`,
url:`/api/StatisticsManage/StatisticsManage_VFinish?ID=${this.ID}&VFinish=${data.Name}`,
data:data
}).then((res)=>{
$this.relateShow = false
......@@ -279,6 +287,13 @@ export default {
</script>
<style lang="scss" scoped>
.slot_class {
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
padding: 0 5px
}
.relateBtn {
width: 75px;
height: 35px;
......
......@@ -8,6 +8,7 @@
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
highlight-current-row
:row-class-name="rowClassName"
@selection-change="handleSelectionChange">
<el-table-column
......
......@@ -239,7 +239,7 @@ export default {
return
}
}
if (this.relateType === 'VPlanQuantity' || this.relateType === 'FinishQuantity') {
if (this.relateType === 'VPlanQuantity' || this.relateType === 'VFinishQuantity') {
if (this.currentRow.DateType.indexOf('整型') !== -1) {
return this.$emit('conserve', this.currentRow, this.relateType)
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment