|
|
@@ -105,7 +105,7 @@
|
|
|
:loading="loading"
|
|
|
ref="modal_search"
|
|
|
id="search-data-class"
|
|
|
- class-name="search-data-class"
|
|
|
+ class-name="change-class"
|
|
|
width="1100px"
|
|
|
v-model="chooseModal"
|
|
|
:shortcut-flag="false"
|
|
|
@@ -123,12 +123,12 @@
|
|
|
<SearchCond id="search-cond-div" width="1000px" class="search-cond-class"
|
|
|
v-if="searchContent && searchContent.length > 0" ref="searchCond"
|
|
|
v-model="searchCond" :setFlag="false" :searchContent="searchContent" :col-count="4"></SearchCond>
|
|
|
- <DkSplit mode="vertical" v-model="split" :height="tableHeight">
|
|
|
+ <DkSplit mode="vertical" v-model="split" :height="chooseTableHeight">
|
|
|
<div slot="top">
|
|
|
<DkTable
|
|
|
ref="purTable"
|
|
|
:data="purList"
|
|
|
- :height="this.chooseTableHeight * split - 60"
|
|
|
+ :height="this.chooseTableHeight * split"
|
|
|
:page-flag="false"
|
|
|
:show-setting-flag="false"
|
|
|
:freeze="false"
|
|
|
@@ -317,7 +317,7 @@ export default {
|
|
|
],
|
|
|
split: 0.5,// 分区的默认
|
|
|
editFlag: self.type === self.$config.formMode.add ? false : true,
|
|
|
- chooseTableHeight: 400,
|
|
|
+ chooseTableHeight: 600,
|
|
|
purList: [],// 选择采购订单
|
|
|
// 查询条件
|
|
|
searchCond: {},
|
|
|
@@ -545,8 +545,6 @@ export default {
|
|
|
this.purId = row.purId
|
|
|
//查询采购订单明细
|
|
|
this.getDetail(1)
|
|
|
-
|
|
|
- this.$refs['detail-select'].selectAll({checked:true});
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -568,6 +566,10 @@ export default {
|
|
|
return this.excute(this.$service.purchaseItemService, this.$service.purchaseItemService.selectByCond, params).then(res => {
|
|
|
if (res.code === this.$config.SUCCESS_CODE) {
|
|
|
this.tableDataDetail_goodsDetail = res.data.list
|
|
|
+ // 全选
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$refs['detail-select'].checkAll();
|
|
|
+ })
|
|
|
this.$refs['detail-select'].pageInfo.total = res.data.total
|
|
|
} else {
|
|
|
this.tableDataDetail_goodsDetail = []
|
|
|
@@ -849,3 +851,13 @@ export default {
|
|
|
},
|
|
|
}
|
|
|
</script>
|
|
|
+
|
|
|
+
|
|
|
+<style scoped>
|
|
|
+
|
|
|
+
|
|
|
+/deep/ .ivu-modal-body {
|
|
|
+ background: #EAEDF7 !important;
|
|
|
+}
|
|
|
+
|
|
|
+</style>
|