Explorar el Código

售后与账单日期

shish hace 1 año
padre
commit
758ce74962
Se han modificado 1 ficheros con 10 adiciones y 3 borrados
  1. 10 3
      ghsApp/src/admin/custom/debtChange.vue

+ 10 - 3
ghsApp/src/admin/custom/debtChange.vue

@@ -3,15 +3,22 @@
 		<block v-if="!$util.isEmpty(list.data)">
 		<block v-if="!$util.isEmpty(list.data)">
 			<t-table :headerBackgroundColor="'#F0F2F6'">
 			<t-table :headerBackgroundColor="'#F0F2F6'">
 				<t-tr header>
 				<t-tr header>
-					<t-th>日期</t-th>
+					<t-th><view style="width:150upx;">创建 / 账单</view></t-th>
 					<t-th><view style="width:230upx;">事项</view></t-th>
 					<t-th><view style="width:230upx;">事项</view></t-th>
 					<t-th>变动</t-th>
 					<t-th>变动</t-th>
 					<t-th>剩余欠款</t-th>
 					<t-th>剩余欠款</t-th>
 				</t-tr>
 				</t-tr>
 				<view v-for="(item, index) in list.data" :key="index" @click="goDetail(item)">
 				<view v-for="(item, index) in list.data" :key="index" @click="goDetail(item)">
 					<t-tr>
 					<t-tr>
-						<t-td align="center" color="info"><view >{{ item.addTime.substr(5,11) }}</view></t-td>
-						<t-td align="center" color="info"><view style="width:230upx;">{{ item.event }}</view></t-td>
+						<t-td align="center" color="info">
+							<view style="width:150upx;">
+								<view style="width:100%;">{{ item.addTime.substr(5,11) }}</view>
+								<block v-if="item.payTime!='0000-00-00 00:00:00' && item.payTime.substr(5,5)!=item.addTime.substr(5,5)">
+									<view style="width:100%;color:#CCCCCC;">{{ item.payTime.substr(5,11) }}</view>
+								</block>
+							</view>
+						</t-td>
+						<t-td align="center" color="info"><view style="width:200upx;">{{ item.event }}</view></t-td>
 						<t-td align="center" color="info"><view >{{ item.amount }}</view></t-td>
 						<t-td align="center" color="info"><view >{{ item.amount }}</view></t-td>
 						<t-td align="center" color="info"><view >{{ parseFloat(item.balance) }}</view></t-td>
 						<t-td align="center" color="info"><view >{{ parseFloat(item.balance) }}</view></t-td>
 					</t-tr>
 					</t-tr>