导出时间
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -94,7 +94,7 @@ class BillExport implements FromCollection, WithStyles
|
|||||||
->all();
|
->all();
|
||||||
$rows[] = ['账单号:' . $billNoText];
|
$rows[] = ['账单号:' . $billNoText];
|
||||||
$this->specialRows[++$rowIndex] = 'scope';
|
$this->specialRows[++$rowIndex] = 'scope';
|
||||||
$rows[] = ['门店:' . implode('、', $storeNames) . ' 分类:' . $categoryName . ' 导出时间:' . now()->format('Y-m-d H:i:s')];
|
$rows[] = ['门店:' . implode('、', $storeNames) . ' 分类:' . $categoryName . ' 导出时间:' . now('Asia/Shanghai')->format('Y-m-d H:i:s')];
|
||||||
$this->specialRows[++$rowIndex] = 'scope';
|
$this->specialRows[++$rowIndex] = 'scope';
|
||||||
|
|
||||||
// 空行
|
// 空行
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class ContainerReturnExport implements FromCollection, WithStyles, WithStrictNul
|
|||||||
$this->specialRows[++$rowIndex] = 'title';
|
$this->specialRows[++$rowIndex] = 'title';
|
||||||
|
|
||||||
// 范围行:门店 / 导出时间
|
// 范围行:门店 / 导出时间
|
||||||
$rows[] = ['门店:' . implode('、', array_values($this->storeNames)) . ' 导出时间:' . now()->format('Y-m-d H:i:s')];
|
$rows[] = ['门店:' . implode('、', array_values($this->storeNames)) . ' 导出时间:' . now('Asia/Shanghai')->format('Y-m-d H:i:s')];
|
||||||
$this->specialRows[++$rowIndex] = 'scope';
|
$this->specialRows[++$rowIndex] = 'scope';
|
||||||
|
|
||||||
// 空行
|
// 空行
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ class PurchaseOrderExport implements FromCollection, WithStrictNullComparison, W
|
|||||||
if ($this->supplierId > 0) {
|
if ($this->supplierId > 0) {
|
||||||
$scopeSupplier = $supplierNames[$this->supplierId] ?? ('供应商#' . $this->supplierId);
|
$scopeSupplier = $supplierNames[$this->supplierId] ?? ('供应商#' . $this->supplierId);
|
||||||
}
|
}
|
||||||
$rows[] = ['供应商:' . $scopeSupplier . ' 导出时间:' . now()->format('Y-m-d H:i:s')];
|
$rows[] = ['供应商:' . $scopeSupplier . ' 导出时间:' . now('Asia/Shanghai')->format('Y-m-d H:i:s')];
|
||||||
$this->specialRows[++$rowIndex] = 'scope';
|
$this->specialRows[++$rowIndex] = 'scope';
|
||||||
|
|
||||||
// 空行
|
// 空行
|
||||||
|
|||||||
Reference in New Issue
Block a user