dd73587b by lihua

数据产品目录添加来源专区

1 parent 6886029b
...@@ -38,6 +38,7 @@ const isRegisterOptions = ref<any>([ ...@@ -38,6 +38,7 @@ const isRegisterOptions = ref<any>([
38 const damTypesOptions = ref<any>([ 38 const damTypesOptions = ref<any>([
39 { label: "自建", value: 1 }, 39 { label: "自建", value: 1 },
40 { label: "加工交付", value: 2 }, 40 { label: "加工交付", value: 2 },
41 { label: "专区", value: 3 },
41 ]) 42 ])
42 const searchItemList = ref([ 43 const searchItemList = ref([
43 { 44 {
...@@ -435,7 +436,7 @@ const handleWindowResize = () => { ...@@ -435,7 +436,7 @@ const handleWindowResize = () => {
435 </div> 436 </div>
436 <div class="mid-content"> 437 <div class="mid-content">
437 <div class="left">产品来源</div> 438 <div class="left">产品来源</div>
438 <div class="right">{{ item.foundMode ? (item.foundMode === 1 ? '自建' : '加工交付') : '--' 439 <div class="right">{{ item.foundMode ? (item.foundMode === 1 ? '自建' : (item.foundMode == 3 ? '专区' : '加工交付')) : '--'
439 }}</div> 440 }}</div>
440 </div> 441 </div>
441 <div class="mid-content"> 442 <div class="mid-content">
...@@ -444,10 +445,10 @@ const handleWindowResize = () => { ...@@ -444,10 +445,10 @@ const handleWindowResize = () => {
444 </div> 445 </div>
445 </div> 446 </div>
446 <div class="v-bottom"> 447 <div class="v-bottom">
447 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2)" 448 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.foundMode != 3"
448 @click.stop="tableBtnClick(item, 'delete')">删除</el-button> 449 @click.stop="tableBtnClick(item, 'delete')">删除</el-button>
449 <el-button plain v-if="!(item.isRegister == 'Y')" @click.stop="handleDataClick(item)">编辑</el-button> 450 <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3" @click.stop="handleDataClick(item)">编辑</el-button>
450 <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y')">详情</el-button> 451 <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y' || item.foundMode == 3)">详情</el-button>
451 </div> 452 </div>
452 </div> 453 </div>
453 </div> 454 </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!