|
@@ -345,8 +345,10 @@
|
|
|
|
|
|
<u-popup v-model="alterPrice" :round="10" @close="alterClose" mode="center" border-radius="10">
|
|
<u-popup v-model="alterPrice" :round="10" @close="alterClose" mode="center" border-radius="10">
|
|
<view style="padding: 20px 20px; display: flex;">
|
|
<view style="padding: 20px 20px; display: flex;">
|
|
- <span style="line-height: 35px;">单价:</span>
|
|
|
|
- <u-input placeholder="请输入内容" :border="true" name="input" type="digit" clearable v-model="Price" style="width: 170px;">
|
|
|
|
|
|
+ <span style="line-height: 35px;">单价(元/公斤):</span>
|
|
|
|
+ <u-input v-if="gridList.type == '潮粮'" placeholder="请输入内容" :border="true" name="input" type="digit" clearable v-model="gridList.tidalGrainPrice" style="width: 170px;">
|
|
|
|
+ </u-input>
|
|
|
|
+ <u-input v-if="gridList.type == '干粮'" placeholder="请输入内容" :border="true" name="input" type="digit" clearable v-model="gridList.dryGrainPrice" style="width: 170px;">
|
|
</u-input>
|
|
</u-input>
|
|
</view>
|
|
</view>
|
|
<u-button type="success" style="width: 50%;margin-bottom: 10px;" @click="good">确定</u-button>
|
|
<u-button type="success" style="width: 50%;margin-bottom: 10px;" @click="good">确定</u-button>
|
|
@@ -718,12 +720,6 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
good() {
|
|
good() {
|
|
- debugger
|
|
|
|
- if (this.gridList.type == '干粮') {
|
|
|
|
- this.gridList.dryGrainPrice = this.Price
|
|
|
|
- } else if (this.gridList.type == '潮粮') {
|
|
|
|
- this.gridList.tidalGrainPrice = this.Price
|
|
|
|
- }
|
|
|
|
this.alterPrice = false
|
|
this.alterPrice = false
|
|
},
|
|
},
|
|
alterClose() {
|
|
alterClose() {
|