|
@@ -84,7 +84,7 @@
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="已申请数量" prop="alreadyInvoiceNum" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="已申请数量" prop="alreadyInvoiceNum" min-width="100" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="center" label="未申请数量" prop="refundableQty" min-width="100" show-overflow-tooltip> </el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="未申请数量" prop="canApply" min-width="100" show-overflow-tooltip> </el-table-column>
|
|
<el-table-column align="center" label="备注" prop="remark" min-width="160" show-overflow-tooltip>
|
|
<el-table-column align="center" label="备注" prop="remark" min-width="160" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-input v-model="scope.row.remark" size="small"></el-input>
|
|
<el-input v-model="scope.row.remark" size="small"></el-input>
|
|
@@ -160,7 +160,7 @@
|
|
<el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="规格型号" prop="specification" min-width="160" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="单位" prop="unit" min-width="80" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="单位" prop="unit" min-width="80" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="数量" prop="qty" min-width="80" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="数量" prop="qty" min-width="80" show-overflow-tooltip></el-table-column>
|
|
- <el-table-column align="center" label="未申请数量" prop="refundableQty" min-width="100" show-overflow-tooltip></el-table-column>
|
|
|
|
|
|
+ <el-table-column align="center" label="未申请数量" prop="canApply" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="已申请数量" prop="alreadyInvoiceNum" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="已申请数量" prop="alreadyInvoiceNum" min-width="100" show-overflow-tooltip></el-table-column>
|
|
<el-table-column align="center" label="本次申请数量" prop="invoiceNum" min-width="110" show-overflow-tooltip>
|
|
<el-table-column align="center" label="本次申请数量" prop="invoiceNum" min-width="110" show-overflow-tooltip>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -432,7 +432,7 @@ export default {
|
|
this.$errorMsg('申请数量要大于0');
|
|
this.$errorMsg('申请数量要大于0');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- // if(tableSelection[i].invoiceNum > tableSelection[i].refundableQty) {
|
|
|
|
|
|
+ // if(tableSelection[i].invoiceNum > tableSelection[i].canApply) {
|
|
// this.$errorMsg('申请数量不能大于未申请数量');
|
|
// this.$errorMsg('申请数量不能大于未申请数量');
|
|
// return;
|
|
// return;
|
|
// }
|
|
// }
|
|
@@ -461,7 +461,7 @@ export default {
|
|
this.$errorMsg('请输入申请数量');
|
|
this.$errorMsg('请输入申请数量');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- // if(this.goodsList[i].invoiceNum > this.goodsList[i].refundableQty) {
|
|
|
|
|
|
+ // if(this.goodsList[i].invoiceNum > this.goodsList[i].canApply) {
|
|
// this.$errorMsg('申请数量不能大于未申请数量');
|
|
// this.$errorMsg('申请数量不能大于未申请数量');
|
|
// return;
|
|
// return;
|
|
// }
|
|
// }
|