|
@@ -24,9 +24,10 @@
|
|
|
v-model="record.advicePrice"
|
|
|
:precision="2"
|
|
|
:min="0"
|
|
|
- :max="999"
|
|
|
+ :max="999999"
|
|
|
style="width: 70%;"
|
|
|
placeholder="请输入回收价格"
|
|
|
+ @change="changeInput(record)"
|
|
|
/>
|
|
|
</template>
|
|
|
<!-- 操作 -->
|
|
@@ -78,6 +79,11 @@ export default {
|
|
|
// this.save()
|
|
|
console.log(key, this.type)
|
|
|
},
|
|
|
+ changeInput (item) {
|
|
|
+ if (item.advicePrice == 0) {
|
|
|
+ item.advicePrice = ''
|
|
|
+ }
|
|
|
+ },
|
|
|
getListData () {
|
|
|
gePriceList({ adviceType: this.type }).then(res => {
|
|
|
if (res.status == 200) {
|
|
@@ -104,7 +110,7 @@ export default {
|
|
|
savPrice(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.$message.success(res.message)
|
|
|
- this.getListData()
|
|
|
+ this.getListData()
|
|
|
} else {
|
|
|
this.$message.warning(res.message)
|
|
|
}
|