dc1e6b80 by renchao@pashanhoo.com

style:楼盘表添加单元

1 parent 5439e063
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-03-07 09:13:26
* @LastEditTime: 2024-03-13 09:33:38
*/
import Vue from 'vue'
import { getPrintTemplateByCode, getPrintAcceptance, getPrintReceiveSupplementalMaterials, getPrintRejectForms, getPrintSendBackMaterials, getPrintRiviseForms } from "@/api/print";
......@@ -142,6 +142,7 @@ export default {
{ bsmSlsq: this.$route.query.bsmSlsq }, '70%', true
)
break;
// B8 可编辑 house 不可编辑
case "B8":
!window.djlx && getZrzbsmList(this.bsmSlsq).then((res) => {
if (res.code === 200) {
......@@ -169,6 +170,36 @@ export default {
djlx: window.djlx
}, '85%', true, false)
break;
case "house":
!window.djlx && getZrzbsmList(this.bsmSlsq).then((res) => {
if (res.code === 200) {
ywPopupDialog('楼盘表', 'lpb/index', {
bsm: res.result[0],
onlyShow: false,
unitData: window.unitData,
bsmSlsq: this.bsmSlsq,
onlyShow: true,
showSave: true,
djlx: window.djlx,
isworkFrame: true
}, '85%', true, false)
} else {
this.$message.error(res.message)
}
})
.catch((err) => {
this.$message.error(err)
});
window.djlx && ywPopupDialog('楼盘表', 'lpb/zjgcdy', {
onlyShow: false,
unitData: window.unitData,
onlyShow: true,
bsmSlsq: this.bsmSlsq,
showSave: true,
djlx: window.djlx
}, '85%', true, false)
break;
break;
// 图形定位
case "B-TXDW":
getZdInfo(this.currentSelectProps.bdcdyid).then(res => {
......@@ -256,7 +287,7 @@ export default {
let key = index + 1
this.$set(infoRes.result, "file" + key, it.sjmc)
this.$set(infoRes.result, "file" + key + 'ys', it.ys)
this.$set(infoRes.result, "file" + key + 'lx', it.sjlx==1?"原件":"复印件")
this.$set(infoRes.result, "file" + key + 'lx', it.sjlx == 1 ? "原件" : "复印件")
})
}
infoRes.result.nownian = this.newDate.split(' ')[0].split('年')[0]
......
......@@ -44,7 +44,7 @@
:data="tableData.data">
</lb-table>
</div>
<div class="submit_button" style="text-align:center">
<div class="submit_button" style="text-align:center" v-if="!sqywInfo.onlyShow">
<el-button @click="close">取消</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button>
<el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button>
......