Commit 3f2c907a by zhangxw

自测修改

1 parent ae7122fa
......@@ -121,7 +121,7 @@
prop="upgradeGoodsCustomCode" />
<el-table-column align="center"
label="规格值"
prop="specificationData" />
prop="specification" />
<el-table-column align="center"
label="出库方式"
prop="outboundMethodName" />
......
......@@ -111,7 +111,7 @@
<div v-for="(s, i) in row.subOrderListForView"
:key="`mc${i}`"
class="cell-stacked__line">
{{ s.specificationData || '-' }}
{{ s.specification || '-' }}
</div>
</template>
<span v-else>-</span>
......@@ -563,15 +563,17 @@ export default {
return "back-blue";
return "back-grey";
},
// 过程状态 0-待领单(橙) 1-待出库(橙) 2-已施工(绿) 3-已返工(红)
// 过程状态 0-待领单(橙) 1-待出库(橙) 2-待完工(橙) 3-已完工(绿) 4-部分出库(蓝) 5-部分完工(紫)
innerDotClass(s) {
const n = s == null || s === "" ? null : Number(s);
if (n === 2)
return "back-green";
if (n === 3)
return "back-red";
if (n === 0 || n === 1)
if (n === 0 || n === 1 || n === 2)
return "back-orange";
if (n === 3)
return "back-green";
if (n === 4)
return "back-blue";
if (n === 5)
return "back-purple";
return "back-grey";
},
openDetail(row) {
......@@ -683,7 +685,7 @@ export default {
this.tableParams.tableColumns = [
{ label: "施工单号", prop: "constructionCode", minWidth: 190, showOverFlow: true, ...center },
{ label: "门店名称", prop: "sellerMerchantName", minWidth: 200, showOverFlow: true, ...center },
{ label: "所属园区店", prop: "sellerMerchantName", minWidth: 200, showOverFlow: true, ...center },
{ label: "所属园区店", prop: "sellerMerchantShopName", minWidth: 200, showOverFlow: true, ...center },
{ label: "技师姓名", prop: "technicianText", minWidth: 160, addHtml: "technicianCol", ...center },
{ label: "服务项目", prop: "serviceLines", minWidth: 120, addHtml: "serviceItemsCol", ...center },
{ label: "主订单编号", prop: "mainOrderText", minWidth: 150, showOverFlow: true, ...center },
......@@ -871,5 +873,8 @@ export default {
.back-blue {
background: #347bff;
}
.back-purple {
background: #5842EB;
}
}
</style>
......@@ -193,7 +193,7 @@ export function mapConstructionListRow(row, index) {
constructionStatusText: cst != null && CONSTRUCTION_STATUS_TEXT[cst] != null
? CONSTRUCTION_STATUS_TEXT[cst]
: (cst != null ? String(cst) : "-"),
constructionTagText: ist != null && INNER_STATUS_TEXT[ist] != null
constructionInnerText: ist != null && INNER_STATUS_TEXT[ist] != null
? INNER_STATUS_TEXT[ist]
: (ist != null ? String(ist) : "-"),
constructionStatusVal: cst,
......@@ -261,7 +261,7 @@ export function mapApiRowToDetailForm(row) {
number: s.number || "-",
upgradeGoodsCommodityCode: s.upgradeGoodsCommodityCode || "-",
upgradeGoodsCustomCode: s.upgradeGoodsCustomCode || "-",
specificationData: s.specificationData?.replace(/;~;/g, "/") || "-",
specification: s.specification || "-",
outboundMethodName: s.outboundMethod === 0 ? "扫码出库" : s.outboundMethod === 1 ? "手动输入" : "-",
materialsUsed: formatMaterialsUsedDisplay(s.materialsUsed),
subItemStatusVal,
......@@ -269,7 +269,7 @@ export function mapApiRowToDetailForm(row) {
reworkFlag: s.subItemStatus == 3 ? "是" : "否",
reworkConstructionCode: s.reworkConstructionCode || "-",
refundQuantity: formatMaterialsUsedDisplay(s.refundQuantity),
remark: s.subItemStatus == 3 ? s.remark : "-",
remark: s.subItemStatus == 3 ? (s.remark || '-') : "-",
subItemPictures: (s.subItemPictures || [])
.map((p) => {
if (typeof p === "string")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!