|
@@ -208,7 +208,7 @@
|
|
<el-table-column align="right" label="可退数量" prop="refundableQty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="right" label="可退数量" prop="refundableQty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="right" label="退订数量" prop="tdQty" min-width="100" show-overflow-tooltip>
|
|
<el-table-column align="right" label="退订数量" prop="tdQty" min-width="100" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-input v-model="scope.row.tdQty" size="mini" type="number" @mousewheel.native.prevent></el-input>
|
|
|
|
|
|
+ <el-input v-model="scope.row.tdQty" size="mini" @blur="hasTdQty(scope.row)" type="number" @mousewheel.native.prevent></el-input>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="left" label="备注" prop="remark" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="left" label="备注" prop="remark" min-width="160" show-overflow-tooltip></el-table-column>
|
|
@@ -304,7 +304,13 @@ export default {
|
|
var currentdate = year + seperator1 + month + seperator1 + strDate;
|
|
var currentdate = year + seperator1 + month + seperator1 + strDate;
|
|
return currentdate;
|
|
return currentdate;
|
|
},
|
|
},
|
|
|
|
+ hasTdQty(row){
|
|
|
|
+ if (row.tdQty<0) {
|
|
|
|
+ row.tdQty = 0
|
|
|
|
+ this.$errorMsg('不能填负数')
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ },
|
|
// 返回列表
|
|
// 返回列表
|
|
goBack() {
|
|
goBack() {
|
|
this.$emit('backListFormDetail');
|
|
this.$emit('backListFormDetail');
|