-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
+
{{ item.name }}
- {{ item.code }}
+ {{
+ item.code
+ }}
-
+
{{ item.name }}
- {{ item.code }}
+ {{
+ item.code
+ }}
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -195,8 +205,10 @@
:show-overflow-tooltip="item.tooltip"
:key="item.columnName"
>
-
- {{ item.lableRuleObj[scope.row[item.columnName]] }}
+
+ {{
+ item.lableRuleObj[scope.row[item.columnName]]
+ }}
-
-
- {{ item.lableRuleObj?item.lableRuleObj[scope.row[item.columnName]]:scope.row[item.columnName] }}
+
+
+ {{
+ item.lableRuleObj ? item.lableRuleObj[scope.row[item.columnName]] : scope.row[item.columnName]
+ }}
@@ -245,7 +260,9 @@
:key="item.columnName"
>
- {{ scope.row[item.columnName] }}
+ {{
+ scope.row[item.columnName]
+ }}
@@ -321,10 +338,10 @@ import {
} from '@/api/supplier/supProductsAddDi'
import selectDiDetail from '@/views/supplier/products/selectDIDetailDialog'
import ThrProductsAdd from '@/views/supplier/products/supProductsAdd'
-import { filterCustomers, filterCustomersOptimize } from '@/api/auth/customer'
+import {filterCustomers, filterCustomersOptimize} from '@/api/auth/customer'
import thrProductsDetail from '@/views/supplier/products/supProductsDetail'
import {
- getHead,executeFuc
+ getHead, executeFuc
} from "@/utils/customConfig";
export default {
@@ -351,12 +368,12 @@ export default {
fileList: [],
checkVisible: false,
newType: 1,
- tableHeader:[],
- queryList:[],
- fromList:[],
+ tableHeader: [],
+ queryList: [],
+ fromList: [],
options: {
- findCompany:[],
- findMethod:[],
+ findCompany: [],
+ findMethod: [],
},
thrProductsDetailVisible: false,
thrProductsDiDetailVisible: false,
@@ -434,7 +451,7 @@ export default {
this.total = 0
})
},
- deleteDialog(_this,row) {
+ deleteDialog(_this, row) {
_this.$confirm('此操作将永久删除该产品信息, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -461,7 +478,7 @@ export default {
.catch(() => {
})
},
- detailDialog(_this,row) {
+ detailDialog(_this, row) {
_this.title = "产品信息详情"
if (row.type == 1) {
let query = {devKey: row.deviceRecordKey}
@@ -469,7 +486,7 @@ export default {
if (res.code === 20000) {
_this.thisData = res.data
_this.editDate = row
- _this.thisData.isAudit = type
+ _this.thisData.isAudit = 1
_this.thrProductsDiDetailVisible = true
} else {
_this.$message.error('参数错误')
@@ -481,7 +498,7 @@ export default {
_this.thrProductsDetailVisible = true;
}
},
- auditDialog(_this,row) {
+ auditDialog(_this, row) {
_this.title = "物资入院审核"
if (row.type == 1) {
let query = {devKey: row.deviceRecordKey}
@@ -489,7 +506,7 @@ export default {
if (res.code === 20000) {
_this.thisData = res.data
_this.editDate = row
- _this.thisData.isAudit = type
+ _this.thisData.isAudit = 2
_this.thrProductsDiDetailVisible = true
} else {
_this.$message.error('参数错误')
@@ -529,7 +546,7 @@ export default {
this.$message.error(error.message)
})
},
- findCompany(_this,query) {
+ findCompany(_this, query) {
_this.companyNames = []
let cQuery = {
key: query
@@ -540,11 +557,11 @@ export default {
_this.options.findCompany = []
})
},
- executeFuc(row,type,clickFuc,value){
- return executeFuc(this,row,type,clickFuc,value);
+ executeFuc(row, type, clickFuc, value) {
+ return executeFuc(this, row, type, clickFuc, value);
},
- executeEval(row,expression,defaultRet){
- if(expression){
+ executeEval(row, expression, defaultRet) {
+ if (expression) {
return eval(expression);
}
return defaultRet;
@@ -556,7 +573,7 @@ export default {
mounted() {
},
created() {
- getHead("supDiProductsCheck","1").then((re) => {
+ getHead("supDiProductsCheck", "1").then((re) => {
// 处理返回的数据
this.tableObj = re.data;
this.tableHeader = re.data.tableList;