|
@@ -110,7 +110,7 @@
|
|
|
label-width="180px"
|
|
|
>
|
|
|
<div class="flex flex-col items-start">
|
|
|
- <div class="text-gray-400">最近10个PO的供应商列表</div>
|
|
|
+ <!-- <div class="text-gray-400">最近10个PO的供应商列表</div> -->
|
|
|
<div
|
|
|
v-for="(item, index) in recommandVendor"
|
|
|
:key="index"
|
|
@@ -126,19 +126,19 @@
|
|
|
<div class="pl-[12px]">
|
|
|
<div class="text-gray-400">
|
|
|
<span>产品部首选供应商</span>
|
|
|
- <span class="text-sm"> (单击供应商名称快速选中)</span>
|
|
|
+ <!-- <span class="text-sm"> (单击供应商名称快速选中)</span> -->
|
|
|
</div>
|
|
|
<div
|
|
|
v-for="(item, index) in preferSupplier"
|
|
|
:key="item.sku"
|
|
|
- class="flex"
|
|
|
+ class="flex text-sm"
|
|
|
:class="{
|
|
|
- 'border border-gray-300 border-x-[0] border-t-[0] border-solid':
|
|
|
+ 'border border-gray-200 border-x-[0] border-t-[0] border-solid':
|
|
|
index + 1 === preferSupplier.length,
|
|
|
}"
|
|
|
>
|
|
|
<div
|
|
|
- class="border border-solid border-gray-300 border-r-[0] border-b-[0] min-w-[100px] flex justify-center items-center"
|
|
|
+ class="border border-solid border-gray-200 border-r-[0] border-b-[0] min-w-[100px] flex justify-center items-center"
|
|
|
>
|
|
|
{{ item.sku }}
|
|
|
</div>
|
|
@@ -146,7 +146,17 @@
|
|
|
<div
|
|
|
v-for="subItem in item.list"
|
|
|
:key="subItem.id"
|
|
|
- class="border border-solid border-gray-300 border-b-[0] p-[6px]"
|
|
|
+ :style="{
|
|
|
+ backgroundColor:
|
|
|
+ subItem.Supplier.id === form.currentVendor
|
|
|
+ ? '#409eff'
|
|
|
+ : 'inhert',
|
|
|
+ color:
|
|
|
+ subItem.Supplier.id === form.currentVendor
|
|
|
+ ? '#fff'
|
|
|
+ : 'inhert',
|
|
|
+ }"
|
|
|
+ class="border border-solid border-gray-200 border-b-[0] p-[6px] hover:bg-sky-100"
|
|
|
>
|
|
|
<el-tooltip
|
|
|
placement="right"
|
|
@@ -154,7 +164,7 @@
|
|
|
:disabled="!subItem.Note"
|
|
|
>
|
|
|
<span
|
|
|
- class="cursor-pointer text-sm"
|
|
|
+ class="cursor-pointer"
|
|
|
@click="quickSelectSupplier(subItem.Supplier)"
|
|
|
>
|
|
|
<span>
|