shish %!s(int64=2) %!d(string=hai) anos
pai
achega
59beb5fcbf

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 34 - 5
ghs/src/views/order/book.vue


+ 2 - 2
ghs/src/views/order/list.vue

@@ -50,7 +50,7 @@
 
       <!-- 操作 -->
       <template #slot-column-option="{scope}">
-        <el-button @click.stop="printOrder(scope.row)" size="mini" type="primary" plain >A4打印</el-button>
+        <el-button @click.stop="printOrder(scope.row)" size="mini" type="primary" plain >A4</el-button>
       </template>
     </x-crud>
     <!-- 用户详情 -->
@@ -317,7 +317,7 @@ export default {
               }
             },
             op: {
-              visible: true, // 是否显示
+              visible: true,
               props: {
                 width: 220,
                 align: 'center',

+ 5 - 4
ghsApp/src/admin/order/statBook.vue

@@ -15,13 +15,14 @@
 		<scroll-view scroll-y scroll-with-animation class="main-view">
 			<view class="space-view ex-table">
 				<t-table :headerBackgroundColor="'#F0F2F6'">
-					<t-tr header><t-th>日期</t-th><t-th>花材</t-th><t-th>数量</t-th></t-tr>
+					<t-tr header><t-th>日期</t-th><t-th>花材</t-th><t-th>数量</t-th><t-th>库存</t-th></t-tr>
 					<template v-if="!$util.isEmpty(profile)">
 						<view v-for="(item, index) in profile" :key="index" @click="goDetail(item)">
 							<t-tr>
-								<t-td><view style="color:#333333;font-size:30upx;">{{item.time.substr(4,4)}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:30upx;">{{item.name}}</view></t-td>
-								<t-td><view style="color:#333333;font-size:30upx;">{{item.num}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:26upx;">{{item.shortTime}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:26upx;">{{item.name}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:26upx;">{{item.num?parseFloat(item.num):0}}</view></t-td>
+								<t-td><view style="color:#333333;font-size:26upx;">{{item.stock?parseFloat(item.stock):0}}</view></t-td>
 							</t-tr>
 						</view>
 					</template>

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio