|
|
@@ -640,11 +640,11 @@
|
|
|
</el-dialog>
|
|
|
<el-dialog append-to-body title="导入OW合约" :visible.sync="owhyDialog" width="60%" v-dialog-drag>
|
|
|
<span>
|
|
|
- <avue-crud v-if="owhyDialog" :option="owOption" :data="owList" id="out-table" ref="owCrud" :search.sync="query" :page.sync="page"
|
|
|
- @search-change="owSearchChange" @search-reset="owSearchReset" :header-cell-class-name="headerClassName"
|
|
|
- @current-change="currentChange" @size-change="sizeChange" :row-style="{ height: '20px', padding: '0px' }"
|
|
|
- :cell-style="{ height: '20px', padding: '0px' }" @on-load="getOwList"
|
|
|
- @current-row-change="handleCurrentRowChange">
|
|
|
+ <avue-crud v-if="owhyDialog" :option="owOption" :data="owList" id="out-table" ref="owCrud" :search.sync="query"
|
|
|
+ :page.sync="page" @search-change="owSearchChange" @search-reset="owSearchReset"
|
|
|
+ :header-cell-class-name="headerClassName" @current-change="currentChange" @size-change="sizeChange"
|
|
|
+ :row-style="{ height: '20px', padding: '0px' }" :cell-style="{ height: '20px', padding: '0px' }"
|
|
|
+ @on-load="getOwList" @current-row-change="handleCurrentRowChange">
|
|
|
</avue-crud>
|
|
|
</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
@@ -4037,8 +4037,8 @@ export default {
|
|
|
if (name == '撤销导入') {
|
|
|
let ids = []
|
|
|
for (let item of this.selecPickList) {
|
|
|
- if (item.whetherGenerateCost == 0) {
|
|
|
- return this.$message.error("请选择要撤销的明细");
|
|
|
+ if (item.whetherGenerateCost == 1) {
|
|
|
+ return this.$message.error("已生成费用明细");
|
|
|
}
|
|
|
ids.push(item.id)
|
|
|
}
|