| | |
| | | :status="toProgressPercentage(row?.completionStatus) >= 100 ? 'success' : ''" /> |
| | | </template> |
| | | <template #quantity="{ row }"> |
| | | {{ row.quantity || '-' }}<span style="color:rgb(63, 95, 211)"> 块</span> |
| | | {{ row.quantity || '-' }}<span style="color:rgb(63, 95, 211)"> 方</span> |
| | | </template> |
| | | <template #completeQuantity="{ row }"> |
| | | {{ row.completeQuantity || '-' }}<span style="color:rgb(42, 169, 146)"> 方</span> |
| | | </template> |
| | | <template #strength="{ row }"> |
| | | <el-tag v-if="row.strength" |
| | | :type="row.strength === 'A3.5' ? 'primary' : 'warning'">{{ row.strength }}</el-tag> |
| | | </template> |
| | | </PIMTable> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="info-item"> |
| | | <div class="info-label">已下发方数</div> |
| | | <div class="info-value">{{ item.assignedQuantity ? `${item.assignedQuantity}` : 0 }}<span style="color:rgba(214, 134, 22, 0.76)"> 方</span></div> |
| | | <div class="info-value">{{ item.totalAssignedQuantity ? `${item.totalAssignedQuantity}` : 0 }}<span style="color:rgba(214, 134, 22, 0.76)"> 方</span></div> |
| | | </div> |
| | | <div class="info-item"> |
| | | <div class="info-label">尺寸</div> |
| | |
| | | { |
| | | label: "生产订单号", |
| | | prop: "npsNo", |
| | | width: "120px", |
| | | width: "150px", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | |
| | | label: "强度", |
| | | prop: "strength", |
| | | width: "120px", |
| | | dataType: "tag", |
| | | dataType: "slot", |
| | | slot: "strength", |
| | | // formatData: val => (val ? val : ""), |
| | | }, |
| | | { |
| | | label: "物料编码", |
| | |
| | | }, |
| | | { |
| | | label: "已下发方数", |
| | | prop: "assignedQuantity", |
| | | prop: "totalAssignedQuantity", |
| | | width: "150px", |
| | | className: "spec-cell", |
| | | formatData: cell => (cell ? `${cell}方` : 0), |
| | |
| | | orderId: row.id, |
| | | type: "order", |
| | | editable: true, |
| | | status: row.status || false, |
| | | }, |
| | | }); |
| | | } catch (e) { |
| | |
| | | volume: plan.volume, |
| | | status: plan.status, |
| | | assignedQuantity: plan.assignedQuantity, |
| | | totalAssignedQuantity: plan.totalAssignedQuantity, |
| | | length: plan.length, |
| | | width: plan.width, |
| | | height: plan.height, |