fix(jd): 京东数据库价格列恢复显示+时间三列后移(2026-11-16 客户三问)

This commit is contained in:
2026-11-16 00:38:14 +08:00
parent ee3ff6fe8c
commit 46a334004a
4 changed files with 67 additions and 24 deletions
@@ -10,6 +10,9 @@
* 商品状态筛选框/列与导出按钮随 2026-11-15 客户口径「这两个不要/导出也不用」从前端下线
* (后端 sale_status 参数与 /export 端点保留;状态仍收详情抽屉);店铺筛选与店铺列同日
* 客户口径「店铺不需要」下线(后端 shop_name 参数同窗撤;店铺仍收详情抽屉)。
* 2026-11-16 两笔(用户截图反馈):① 创建/修改/同步三个时间列按「时间移动到最后去」移到
* 操作列之后收尾;② 价格列修「采集到了却全显示 -」=模型解析层 text() 丢掉后端 BigDecimal
* 的 JSON number 形状(生产库 273/273 行 price_min 全有值,jd-product-model.ts decimalText 收口)。
* 骨架像素复刻「外观专利数据库」页(panel-box + LoadFailureBar + 自绘 table + 旧式分页);
* 超管切公司 tab = 清筛选重取(watch 体照外观专利页逐字形状);日期对护栏:起侧 max=止侧、
* 止侧 min=起侧、两侧 @change 用 orderedPair 把倒挂交换回来(clampJdSyncedRange 照 clampDatePair)。
@@ -342,10 +345,11 @@ onMounted(() => {
<th style="width: 76px">总库存</th>
<th style="width: 120px">价格</th>
<th style="width: 170px">上架时间 / 商品状态</th>
<!-- 创建/修改/同步三个时间列 2026-11-16 客户口径「时间移动到最后去」移到操作列之后收尾。 -->
<th style="width: 120px">操作</th>
<th style="width: 150px">创建时间</th>
<th style="width: 150px">修改时间</th>
<th style="width: 170px">同步时间</th>
<th style="width: 120px">操作</th>
</tr>
</thead>
<tbody>
@@ -383,14 +387,15 @@ onMounted(() => {
<span class="jd-sale-dot"></span>{{ row.saleStatus }}
</div>
</td>
<td>{{ formatDateTime(row.jdCreatedAt || '') || '-' }}</td>
<td>{{ formatDateTime(row.jdUpdatedAt || '') || '-' }}</td>
<td>{{ formatDateTime(row.syncedAt || '') }}</td>
<!-- 操作列(2026-11-15 用户口径):编辑/删除;@click.stop 防冒泡开详情抽屉。 -->
<!-- 操作列(2026-11-15 用户口径):编辑/删除;@click.stop 防冒泡开详情抽屉。
2026-11-16 客户口径「时间移动到最后去」:操作列前置,创建/修改/同步三列收尾。 -->
<td class="jd-ops-cell" @click.stop>
<button class="btn btn-sm" type="button" @click="openEdit(row)">编辑</button>
<button class="btn btn-sm btn-danger" type="button" :disabled="deleting" @click="removeOne(row)">删除</button>
</td>
<td>{{ formatDateTime(row.jdCreatedAt || '') || '-' }}</td>
<td>{{ formatDateTime(row.jdUpdatedAt || '') || '-' }}</td>
<td>{{ formatDateTime(row.syncedAt || '') }}</td>
</tr>
</template>
<tr v-else-if="loading">