|
@@ -26,10 +26,12 @@
|
|
<template slot-scope="{ row, index }" slot="cname">
|
|
<template slot-scope="{ row, index }" slot="cname">
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="check(row)">{{ row.cname }}</span>
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="check(row)">{{ row.cname }}</span>
|
|
</template>
|
|
</template>
|
|
- <!-- <template slot="enableOrNot" slot-scope="{row,index,disabled}">
|
|
|
|
- <el-switch active-value="1" inactive-value="0" :disabled="disabled" v-model="row.enableOrNot">
|
|
|
|
- </el-switch>
|
|
|
|
- </template> -->
|
|
|
|
|
|
+ <template slot="enableOrNot" slot-scope="{row,index,disabled}">
|
|
|
|
+<!-- <el-switch active-value="1" inactive-value="0" :disabled="disabled" v-model="row.enableOrNot">-->
|
|
|
|
+<!-- </el-switch>-->
|
|
|
|
+ <div v-if="row.enableOrNot === 1">是</div>
|
|
|
|
+ <div v-else style="color: red">否</div>
|
|
|
|
+ </template>
|
|
<template slot="corpNameSearch">
|
|
<template slot="corpNameSearch">
|
|
<crop-select v-model="search.corpId" corpType="KH" :refresh="false"></crop-select>
|
|
<crop-select v-model="search.corpId" corpType="KH" :refresh="false"></crop-select>
|
|
</template>
|
|
</template>
|
|
@@ -126,7 +128,7 @@ export default {
|
|
span: 24,
|
|
span: 24,
|
|
propsHttp: {
|
|
propsHttp: {
|
|
res: "data"
|
|
res: "data"
|
|
- },
|
|
|
|
|
|
+ },
|
|
tip: "请上传 .xls,.xlsx 标准格式文件",
|
|
tip: "请上传 .xls,.xlsx 标准格式文件",
|
|
action: "/api/blade-sales-part/corpsDesc/supplierImport?corpType=GYS"
|
|
action: "/api/blade-sales-part/corpsDesc/supplierImport?corpType=GYS"
|
|
}
|
|
}
|