|
@@ -40,7 +40,7 @@
|
|
|
<div class="row2">
|
|
|
<div class="grid-content">
|
|
|
<el-form-item label="干粮水分">
|
|
|
- <el-input v-model="baseInfoForm.waterMin" @input="changeMinWater" :disabled="!isEdit"></el-input>
|
|
|
+ <el-input v-model="baseInfoForm.waterMin" @input="changeMinWater" :disabled="!isEdit" id="aaa"></el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div class="grid-content">
|
|
@@ -95,19 +95,19 @@
|
|
|
v-show="item1.type!=1&&item1.type!=2&&item1.type!=3" :disabled="!isEdit">-</el-button>
|
|
|
</div>
|
|
|
<div v-show="item1.type!=4">
|
|
|
- <input v-if='item1.type==1' class="water-price" v-model="baseInfoForm.waterMin"
|
|
|
+ <input v-if='item1.type==1' class="water-price" :class="item1.isWrite?'white-bgc':''" v-model="baseInfoForm.waterMin"
|
|
|
:disabled="item1.isWrite?false:true"></input>
|
|
|
- <input v-if='item1.type==2' class="water-price" v-model="baseInfoForm.waterBase"
|
|
|
+ <input v-if='item1.type==2' class="water-price" :class="item1.isWrite?'white-bgc':''" v-model="baseInfoForm.waterBase"
|
|
|
:disabled="item1.isWrite?false:true"></input>
|
|
|
- <input v-if='item1.type==3' class="water-price" v-model="baseInfoForm.waterMax"
|
|
|
+ <input v-if='item1.type==3' class="water-price" :class="item1.isWrite?'white-bgc':''" v-model="baseInfoForm.waterMax"
|
|
|
:disabled="item1.isWrite?false:true"></input>
|
|
|
- <input v-if='item1.type==5' class="water-price" v-model="item1.water"
|
|
|
+ <input v-if='item1.type==5' class="water-price" :class="item1.isWrite?'white-bgc':''" v-model="item1.water"
|
|
|
:disabled="isEdit?false:true"></input>
|
|
|
</div>
|
|
|
<div class="circle" v-if="item1.type!=4"></div>
|
|
|
</div>
|
|
|
<div class="bottom-price">
|
|
|
- <input v-if="item1.type==4" class="water-price" v-model="item1.jfprice" :disabled="!isEdit"></input>
|
|
|
+ <input v-if="item1.type==4" class="water-price" :class="isEdit?'white-bgc':''" v-model="item1.jfprice" :disabled="!isEdit"></input>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -119,7 +119,7 @@
|
|
|
<el-main v-show="!isCountShow">
|
|
|
<div class="page2-content">
|
|
|
<div class="titel">
|
|
|
- 玉米价格对照表(按水分)
|
|
|
+ {{selectVal}}价格对照表(按水分)
|
|
|
</div>
|
|
|
<el-table :data="tableData" style="width: 100%" :row-class-name="tableRowClassName">
|
|
|
<el-table-column prop="waterMin" label="水分下限(%)">
|
|
@@ -381,7 +381,9 @@
|
|
|
this.makeLookPriceList()
|
|
|
})
|
|
|
},
|
|
|
- goodsChange(e) {},
|
|
|
+ goodsChange(e) {
|
|
|
+
|
|
|
+ },
|
|
|
changeBaseWater(val) {
|
|
|
for (let i = 0; i < this.priceList.length; i++) {
|
|
|
for (let k = 0; k < this.priceList[i].detailList.length; k++) {
|
|
@@ -1120,7 +1122,7 @@
|
|
|
water: _detailList[k],
|
|
|
type: 5,
|
|
|
index: k,
|
|
|
- isWrite: false
|
|
|
+ isWrite: true
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -1435,4 +1437,10 @@
|
|
|
justify-content: space-around;
|
|
|
align-items: center;
|
|
|
}
|
|
|
+ .white-bgc{
|
|
|
+ background: white!important;
|
|
|
+ }
|
|
|
+ #aaa::selection{
|
|
|
+ background: red;
|
|
|
+ }
|
|
|
</style>
|