|
|
|
@ -46,7 +46,6 @@
|
|
|
|
|
</span>
|
|
|
|
|
<a class="senior-search" @click="toggleAdvanced" v-if="formData.length > 4">
|
|
|
|
|
{{ advanced ? '收起查询' : '更多查询' }}
|
|
|
|
|
<!-- <a-icon :type="advanced ? 'up' : 'down'" /> -->
|
|
|
|
|
<i class="iconfont" :class="advanced ? 'icon-shouqi' : 'icon-zhankai'"></i>
|
|
|
|
|
</a>
|
|
|
|
|
</template>
|
|
|
|
@ -107,7 +106,7 @@
|
|
|
|
|
@confirm="excuteShippingOrderCompareBatch"
|
|
|
|
|
@cancel="cancelRemove"
|
|
|
|
|
>
|
|
|
|
|
<div class="nav"><i class="iconfont icon-shanchu2"></i>下货纸比对</div>
|
|
|
|
|
<div class="nav"><i class="iconfont icon-duibi"></i>下货纸比对</div>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="确定删除当前选中订舱?"
|
|
|
|
@ -896,10 +895,6 @@ export default {
|
|
|
|
|
pageSize: this.gridOptions.pagerConfig.pageSize,
|
|
|
|
|
pageSizes: [10, 20, 50, 100, 200, 500]
|
|
|
|
|
}
|
|
|
|
|
// this.tableOrderLabel = ''
|
|
|
|
|
// this.tableOrderType = ''
|
|
|
|
|
// this.$refs.xGrid.clearSort()
|
|
|
|
|
// debugger
|
|
|
|
|
this.gridOptions.data = []
|
|
|
|
|
this.getList(queryParam)
|
|
|
|
|
},
|
|
|
|
@ -1377,8 +1372,7 @@ export default {
|
|
|
|
|
return item
|
|
|
|
|
})
|
|
|
|
|
this.$set(this.gridOptions.pagerConfig, 'columns', JSON.parse(JSON.stringify(initData.columns)))
|
|
|
|
|
// debugger
|
|
|
|
|
// this.$set(this.gridOptions, 'data', [..._data])
|
|
|
|
|
this.$set(this.gridOptions, 'data', [..._data])
|
|
|
|
|
this.$refs.xGrid.reloadData(_data).then(() => {
|
|
|
|
|
this.$set(this.gridOptions, 'loading', false)
|
|
|
|
|
})
|
|
|
|
@ -1775,8 +1769,10 @@ export default {
|
|
|
|
|
.then(res => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
this.$message.success('删除成功')
|
|
|
|
|
this.gridOptions.data = this.gridOptions.data.filter(item => !arr.includes(item.id))
|
|
|
|
|
this.gridOptions.pagerConfig.total = this.gridOptions.pagerConfig.total - arr.length
|
|
|
|
|
const _data = this.gridOptions.data.filter(item => !arr.includes(item.id))
|
|
|
|
|
this.$refs.xGrid.reloadData(_data).then(() => {
|
|
|
|
|
this.gridOptions.pagerConfig.total = this.gridOptions.pagerConfig.total - arr.length
|
|
|
|
|
})
|
|
|
|
|
this.$forceUpdate()
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.message)
|
|
|
|
|