|
@@ -410,28 +410,28 @@ export default {
|
|
|
this.myDialog.qrcode = true;
|
|
|
this.$refs.qrcode.getCanvas(1111);
|
|
|
}
|
|
|
- if (
|
|
|
- val == "flowBuild" || //所属建筑楼层
|
|
|
- val == "infos.productDate" || //生产日期
|
|
|
- val == "infos.serialNum" || //出厂编号
|
|
|
- val == "infos.assetID" || //资产编号
|
|
|
- val == "infos.purchasePrice" || //采购价格
|
|
|
- val == "infos.insuranceNum" || //保险单号
|
|
|
- val == "infos.insuranceFile" //保险文件
|
|
|
- ) {
|
|
|
- const propertyId = this.tableData[row.row].propertyId;
|
|
|
- if (!propertyId) { //未关联资产
|
|
|
- this.$confirm('您暂未关联设备对应的资产,该信息点不可编辑', '提示', {
|
|
|
- confirmButtonText: '我知道了',
|
|
|
- showCancelButton: false,
|
|
|
- type: 'warning',
|
|
|
- center: true
|
|
|
- }).then(() => {
|
|
|
- return false;
|
|
|
- });
|
|
|
- }
|
|
|
- return false
|
|
|
- }
|
|
|
+ // if (
|
|
|
+ // val == "flowBuild" || //所属建筑楼层
|
|
|
+ // val == "infos.productDate" || //生产日期
|
|
|
+ // val == "infos.serialNum" || //出厂编号
|
|
|
+ // val == "infos.assetID" || //资产编号
|
|
|
+ // val == "infos.purchasePrice" || //采购价格
|
|
|
+ // val == "infos.insuranceNum" || //保险单号
|
|
|
+ // val == "infos.insuranceFile" //保险文件
|
|
|
+ // ) {
|
|
|
+ // const propertyId = this.tableData[row.row].propertyId;
|
|
|
+ // if (!propertyId) { //未关联资产
|
|
|
+ // this.$confirm('您暂未关联设备对应的资产,该信息点不可编辑', '提示', {
|
|
|
+ // confirmButtonText: '我知道了',
|
|
|
+ // showCancelButton: false,
|
|
|
+ // type: 'warning',
|
|
|
+ // center: true
|
|
|
+ // }).then(() => {
|
|
|
+ // return false;
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
//保险文件--设备文档--安装质检报告
|
|
|
if (
|
|
|
val == "infos.insuranceFile" || //保险文件
|