e99c4026 by 蔡俊立

功能完善

1 parent ac87420f
......@@ -147,8 +147,11 @@ export default {
getJtfcInfo({ sqcxBsm: this.sqcxBsm }).then((res) => {
this.$endLoading();
if (res.code == 200) {
this.form = res.result;
this.activeStep = 2;
this.isSearch = true;
this.$nextTick(() => {
this.$refs.dydjbInfo.setResult(res.result)
})
}
});
},
......@@ -162,7 +165,6 @@ export default {
this.activeStep = 2;
this.isSearch = true;
this.$nextTick(() => {
console.log(this.$refs.dydjbInfo,22222);
this.$refs.dydjbInfo.setResult(res.result)
})
this.$parent.queryClick();
......
......@@ -30,25 +30,17 @@
<lb-table :column="yydjColumns" key="yydj" :data="resultData.yydjDetail" :maxHeight="200" heightNumSetting
:pagination="false">
</lb-table>
<div class="submit-button" style="padding-bottom:50px">
<el-button @click="resetClick" v-show="!isSearch">重置</el-button>
<el-button type="primary" @click="queryChick" v-show="!isSearch">查询</el-button>
<el-button @click="closeDialog">关闭</el-button>
</div>
</div>
</div>
</template>
<script>
import { datas, sendThis } from "./infodata";
import { getJtfcInfo } from "@/api/sqcx";
export default {
props: {
},
created () {
},
data () {
return {
ruleForm: {
......@@ -76,8 +68,6 @@ export default {
mounted () { },
methods: {
setResult(data){
console.log(data,11111);
this.resultData = data
}
},
......
......@@ -92,9 +92,13 @@ export default {
});
},
dydjbClick (scope) {
popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
sqcxdata: scope.row,
});
this.$nextTick(() => {
this.isDialog = true
this.sqcxBsm = scope.row.bsmSqcx
})
// popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
// bsmSqcx: scope.row.bsmSqcx,
// });
},
handleSort (name, sort) {
console.log(name, sort);
......