|
|
@@ -13,26 +13,26 @@
|
|
|
<view class="box">
|
|
|
<view class="data">
|
|
|
<text class="key">ETC金额</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnLoadetc"
|
|
|
- v-model="formData.loadetc" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnLoadetc" v-model="formData.loadetc" />
|
|
|
</view>
|
|
|
<view class="data">
|
|
|
<text class="key">现金过路费</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnLoadtoll"
|
|
|
- v-model="formData.loadtoll" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnLoadtoll" v-model="formData.loadtoll" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class="box">
|
|
|
<view class="data">
|
|
|
<text class="key">公司加油(升)</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilhomeQty"
|
|
|
- v-model="formData.oilhomeQty" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilhomeQty" v-model="formData.oilhomeQty" />
|
|
|
</view>
|
|
|
<view class="data">
|
|
|
<text class="key">加油金额</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilhomeAmt"
|
|
|
- v-model="formData.oilhomeAmt" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilhomeAmt" v-model="formData.oilhomeAmt" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -46,129 +46,61 @@
|
|
|
<text class="key">定点加油</text>
|
|
|
<view class="list">
|
|
|
<uni-data-select :disabled="disabled" :localdata="gasStationList"
|
|
|
- v-model="formData.gasstation1" :clear="false"></uni-data-select>
|
|
|
+ v-model="formData.gasstation1" @change="gasstation1Change"></uni-data-select>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box">
|
|
|
<view class="data">
|
|
|
<text class="key">升数</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilappoint1Qty"
|
|
|
- placeholder="请输入升数" v-model="formData.oilappoint1Qty" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilappoint1Qty" placeholder="请输入升数"
|
|
|
+ v-model="formData.oilappoint1Qty" />
|
|
|
</view>
|
|
|
<view class="data">
|
|
|
<text class="key">金额</text>
|
|
|
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilappoint1Amt"
|
|
|
- placeholder="请输入金额" v-model="formData.oilappoint1Amt" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilappoint1Amt" placeholder="请输入金额"
|
|
|
+ v-model="formData.oilappoint1Amt" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- <view class="box-list vertical-layout"> -->
|
|
|
- <!-- <view class="iconfont icon-jiayouzhan icon"></view> -->
|
|
|
- <!-- <view class="icon" style="color: #3c9cff;">定点加油</view>
|
|
|
- <view> -->
|
|
|
- <!-- <u-radio-group class="list" :disabled="disabled" v-model="formData.gasstation1"
|
|
|
- @change="groupChangeOne">
|
|
|
- <u-radio :customStyle="{marginBottom: '20rpx', marginRight: '30rpx'}"
|
|
|
- v-for="(item, index) in gasStationList" :key="index" :label="item.cname"
|
|
|
- :name="item.cname" @change="radioChangeOne">
|
|
|
- </u-radio>
|
|
|
- </u-radio-group> -->
|
|
|
- <!-- <view class="list">
|
|
|
- <uni-data-select :localdata="gasStationList" v-model="formData.gasstation1"
|
|
|
- :clear="false"></uni-data-select>
|
|
|
- </view> -->
|
|
|
-
|
|
|
- <!-- <view class="quantity-aum vertical-layout">
|
|
|
- <view class="aaa vertical-layout">
|
|
|
- <text style="color: #3c9cff;">升数</text>
|
|
|
- <input class="key" :disabled="disabled" inputmode="decimal"
|
|
|
- @input="checkUnOilappoint1Qty" placeholder="请输入升数"
|
|
|
- v-model="formData.oilappoint1Qty" />
|
|
|
- </view>
|
|
|
- <view class="bbb vertical-layout">
|
|
|
- <text style="color: #3c9cff;">金额</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal"
|
|
|
- @input="checkUnOilappoint1Amt" placeholder="请输入金额"
|
|
|
- v-model="formData.oilappoint1Amt" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
<view class="box">
|
|
|
<view class="data-two">
|
|
|
<text class="key">定点加油</text>
|
|
|
<view class="list">
|
|
|
<uni-data-select :disabled="disabled" :localdata="gasStationList"
|
|
|
- v-model="formData.gasstation2" :clear="false"></uni-data-select>
|
|
|
+ v-model="formData.gasstation2" @change="gasstation2Change"></uni-data-select>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="box">
|
|
|
<view class="data">
|
|
|
<text class="key">升数</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilappoint2Qty"
|
|
|
- placeholder="请输入升数" v-model="formData.oilappoint2Qty" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilappoint2Qty" placeholder="请输入升数"
|
|
|
+ v-model="formData.oilappoint2Qty" />
|
|
|
</view>
|
|
|
<view class="data">
|
|
|
<text class="key">金额</text>
|
|
|
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilappoint2Amt"
|
|
|
- placeholder="请输入金额" v-model="formData.oilappoint2Amt" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilappoint2Amt" placeholder="请输入金额"
|
|
|
+ v-model="formData.oilappoint2Amt" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
-
|
|
|
- <!-- <view class="box-list vertical-layout"> -->
|
|
|
- <!-- <view class="iconfont icon-jiayouzhan icon"></view> -->
|
|
|
- <!-- <view class="icon" style="color: #3c9cff;">定点加油</view>
|
|
|
- <view> -->
|
|
|
- <!-- <u-radio-group class="list" :disabled="disabled" v-model="formData.gasstation2"
|
|
|
- @change="groupChangeTwo">
|
|
|
- <u-radio :customStyle="{marginBottom: '20rpx', marginRight: '30rpx'}"
|
|
|
- v-for="(item, index) in gasStationList" :key="index" :label="item.cname"
|
|
|
- :name="item.cname" @change="radioChangeTwo">
|
|
|
- </u-radio>
|
|
|
- </u-radio-group> -->
|
|
|
-
|
|
|
-
|
|
|
- <!-- <view class="list">
|
|
|
- <uni-data-select :localdata="gasStationList" v-model="formData.gasstation2"
|
|
|
- :clear="false"></uni-data-select>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="quantity-aum vertical-layout">
|
|
|
- <view class="aaa vertical-layout">
|
|
|
- <text style="color: #3c9cff;">升数</text>
|
|
|
- <input class="key" :disabled="disabled" inputmode="decimal"
|
|
|
- @input="checkUnOilappoint2Qty" placeholder="请输入升数"
|
|
|
- v-model="formData.oilappoint2Qty" />
|
|
|
- </view>
|
|
|
- <view class="bbb vertical-layout">
|
|
|
- <text style="color: #3c9cff;">金额</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal"
|
|
|
- @input="checkUnOilappoint2Amt" placeholder="请输入金额"
|
|
|
- v-model="formData.oilappoint2Amt" />
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
<view class="box">
|
|
|
<view class="data">
|
|
|
<text class="key">现金加油(升)</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilcash1Qty"
|
|
|
- v-model="formData.oilcash1Qty" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilcash1Qty" v-model="formData.oilcash1Qty" />
|
|
|
</view>
|
|
|
<view class="data">
|
|
|
<text class="key">加油金额</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilcash1Amt"
|
|
|
- v-model="formData.oilcash1Amt" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilcash1Amt" v-model="formData.oilcash1Amt" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -176,18 +108,30 @@
|
|
|
<view class="box">
|
|
|
<view class="data">
|
|
|
<text class="key">油卡加油(升)</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilcardQty"
|
|
|
- v-model="formData.oilcardQty" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilcardQty" v-model="formData.oilcardQty" />
|
|
|
</view>
|
|
|
<view class="data">
|
|
|
<text class="key">加油金额</text>
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal" @input="checkUnOilcardAmt"
|
|
|
- v-model="formData.oilcardAmt" />
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnOilcardAmt" v-model="formData.oilcardAmt" />
|
|
|
</view>
|
|
|
</view>
|
|
|
+
|
|
|
+ <view class="box-two">
|
|
|
+ <text class="key">备 注</text>
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled" v-model="formData.driverassdesc" />
|
|
|
+ </view>
|
|
|
<!-- </u-collapse-item> -->
|
|
|
</view>
|
|
|
|
|
|
+ <u-collapse-item title="照片" name="img" ref="collapseHeight">
|
|
|
+ <!-- @afterRead="imgUploading" -->
|
|
|
+ <u-upload :fileList="fileList1" @afterRead="imgUploading" @delete="deletePic" name="1" multiple
|
|
|
+ :disabled="this.status376 == 6" :previewFullImage="true"></u-upload>
|
|
|
+
|
|
|
+ </u-collapse-item>
|
|
|
+
|
|
|
|
|
|
|
|
|
<u-collapse-item title="其他费用" name="cost breakdown">
|
|
|
@@ -197,14 +141,21 @@
|
|
|
<text style="color: #3c9cff;">{{ item.cname }}</text>
|
|
|
</view>
|
|
|
<view class="sum">
|
|
|
- <input class="value" :disabled="disabled" inputmode="decimal"
|
|
|
- @input="checkUnAmt(item.amt, index)" cursor-spacing="15" :adjust-position="true"
|
|
|
- v-model="item.amt" />
|
|
|
+ <!-- <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnAmt(item.amt, index)" cursor-spacing="15"
|
|
|
+ :adjust-position="true" v-model="item.amt" /> -->
|
|
|
+ <input class="value" selection-start="0" selection-end="9999" :disabled="disabled"
|
|
|
+ inputmode="decimal" @input="checkUnAmt(item.amt, index)" @click="inputHeight" cursor-spacing="30"
|
|
|
+ :always-embed="true" :adjust-position="true" v-model="item.amt" />
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-collapse-item>
|
|
|
</u-collapse>
|
|
|
+
|
|
|
+ <view class="input" :style="{'height':vHeight + 'rpx'}">
|
|
|
+
|
|
|
+ </view>
|
|
|
|
|
|
<view class="cushion">
|
|
|
|
|
|
@@ -219,6 +170,12 @@
|
|
|
|
|
|
<!-- 消息提示 -->
|
|
|
<u-toast ref="uToast"></u-toast>
|
|
|
+
|
|
|
+ <u-modal :show="deleteShow" title="提示" showCancelButton @confirm="deleteImg" @cancel="deleteShow = false">
|
|
|
+ <view class="slot-content">
|
|
|
+ <rich-text nodes="确定删除这张图片吗?"></rich-text>
|
|
|
+ </view>
|
|
|
+ </u-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -229,6 +186,14 @@
|
|
|
insertLoadFeeItems,
|
|
|
getLoadFeeItems
|
|
|
} from "@/api/reimbursement"
|
|
|
+
|
|
|
+ import {
|
|
|
+ getOrderBillsPlansByid,
|
|
|
+ putOrderBillsPlansByid,
|
|
|
+ insertTmsAttachMngs,
|
|
|
+ pictureUploading,
|
|
|
+ deleteTmsAttachMngs
|
|
|
+ } from "@/api/particulars"
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -252,7 +217,13 @@
|
|
|
numTwo: 0, //用于区分是否是重复选中
|
|
|
// 输入框禁用
|
|
|
disabled: false,
|
|
|
- status376: 0
|
|
|
+ status376: 0,
|
|
|
+ selectionLength: 0,
|
|
|
+ fileList1: [],
|
|
|
+ // 删除弹框
|
|
|
+ deleteShow: false,
|
|
|
+ event: {},
|
|
|
+ vHeight: 0
|
|
|
}
|
|
|
},
|
|
|
onUnload() {
|
|
|
@@ -281,15 +252,7 @@
|
|
|
this.formData = res.data;
|
|
|
var costBreakdownList = res.data.loadFeeItemsList;
|
|
|
this.itemsList = costBreakdownList;
|
|
|
- // for (var inex in this.itemsList) {
|
|
|
- // for (var inexs in costBreakdownList) {
|
|
|
- // // 金额赋值
|
|
|
- // if (this.itemsList[inex].itemId == costBreakdownList[inexs]
|
|
|
- // .itemId) {
|
|
|
- // this.itemsList[inex].amt = costBreakdownList[inexs].amt
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
+ this.fileList1 = res.data.fileList1;
|
|
|
this.loading = false;
|
|
|
})
|
|
|
})
|
|
|
@@ -308,36 +271,154 @@
|
|
|
})
|
|
|
} else if (this.status376 == 2) {
|
|
|
|
|
|
- this.loading = true;
|
|
|
- var list = [];
|
|
|
- for (var item in this.itemsList) {
|
|
|
- var amt = this.itemsList[item].amt;
|
|
|
- if (amt != null) {
|
|
|
- var items = this.itemsList[item];
|
|
|
- list.push(items);
|
|
|
+
|
|
|
+
|
|
|
+ if (this.formData.loadetc == null ||
|
|
|
+ this.formData.loadtoll == null ||
|
|
|
+ this.formData.oilhomeQty == null ||
|
|
|
+ this.formData.oilhomeAmt == null ||
|
|
|
+ this.formData.oilappoint1Qty == null ||
|
|
|
+ this.formData.oilappoint1Amt == null ||
|
|
|
+ this.formData.oilappoint2Qty == null ||
|
|
|
+ this.formData.oilappoint2Amt == null ||
|
|
|
+ this.formData.oilcash1Qty == null ||
|
|
|
+ this.formData.oilcash1Amt == null ||
|
|
|
+ this.formData.oilcardQty == null ||
|
|
|
+ this.formData.oilcardAmt == null
|
|
|
+ ) {
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'warning',
|
|
|
+ icon: false,
|
|
|
+ message: "请输入金额或升数!",
|
|
|
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/warning.png'
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.loading = true;
|
|
|
+ var list = [];
|
|
|
+ for (var item in this.itemsList) {
|
|
|
+ var amt = this.itemsList[item].amt;
|
|
|
+ if (amt != null) {
|
|
|
+ var items = this.itemsList[item];
|
|
|
+ list.push(items);
|
|
|
+ }
|
|
|
}
|
|
|
+ this.formData.itemsVoList = list;
|
|
|
+ insertLoadFeeItems(this.formData).then(res => {
|
|
|
+ this.loading = false;
|
|
|
+ if (res.code == 200) {
|
|
|
+ // 保存成功弹窗提示
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'success',
|
|
|
+ message: "保存成功!",
|
|
|
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/success.png'
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ // 保存失败消息
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ icon: false,
|
|
|
+ message: "保存失败请重试!",
|
|
|
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/error.png'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
- this.formData.itemsVoList = list;
|
|
|
- insertLoadFeeItems(this.formData).then(res => {
|
|
|
- this.loading = false;
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+
|
|
|
+ // 删除图片
|
|
|
+ deletePic(event) {
|
|
|
+ if (this.status376 == 6) {
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'warning',
|
|
|
+ icon: false,
|
|
|
+ message: "不允许修改!",
|
|
|
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/warning.png'
|
|
|
+ })
|
|
|
+ } else if (this.status376 == 2) {
|
|
|
+ this.event = event;
|
|
|
+ this.deleteShow = true;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ deleteImg() {
|
|
|
+ var event = this.event;
|
|
|
+ var url = event.file.url;
|
|
|
+ var index = url.lastIndexOf("\/");
|
|
|
+ var attachId = url.substring(index + 1, url.length);
|
|
|
+
|
|
|
+ deleteTmsAttachMngs(attachId).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this[`fileList${event.name}`].splice(event.index, 1)
|
|
|
+ // 删除成功消息
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'success',
|
|
|
+ message: "删除成功!",
|
|
|
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/success.png'
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ // 删除失败消息
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ icon: false,
|
|
|
+ message: "删除失败请重试!",
|
|
|
+ iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/error.png'
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+ this.event = {};
|
|
|
+ this.deleteShow = false;
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 新增图片
|
|
|
+ imgUploading(event) {
|
|
|
+
|
|
|
+ // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
|
|
|
+ let lists = [].concat(event.file)
|
|
|
+ let fileListLen = this[`fileList${event.name}`].length
|
|
|
+ lists.map((item) => {
|
|
|
+ this[`fileList${event.name}`].push({
|
|
|
+ ...item,
|
|
|
+ status: 'uploading',
|
|
|
+ message: '上传中'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ for (let i = 0; i < lists.length; i++) {
|
|
|
+ insertTmsAttachMngs(this.formData).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- // 保存成功弹窗提示
|
|
|
- this.$refs.uToast.show({
|
|
|
- type: 'success',
|
|
|
- message: "保存成功!",
|
|
|
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/success.png'
|
|
|
- })
|
|
|
- } else {
|
|
|
- // 保存失败消息
|
|
|
- this.$refs.uToast.show({
|
|
|
- icon: false,
|
|
|
- message: "保存失败请重试!",
|
|
|
- iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/error.png'
|
|
|
+ let data = {
|
|
|
+ name: 'avatarfile',
|
|
|
+ filePath: lists[i].url
|
|
|
+ }
|
|
|
+ let dataForm = {
|
|
|
+ attachId: res.data
|
|
|
+ }
|
|
|
+
|
|
|
+ pictureUploading(data, dataForm).then(res => {
|
|
|
+
|
|
|
+ let item = this[`fileList${event.name}`][fileListLen]
|
|
|
+ // console.log("item");
|
|
|
+ // console.log(item);
|
|
|
+ this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(
|
|
|
+ item, {
|
|
|
+ status: 'success',
|
|
|
+ message: '',
|
|
|
+ url: res.data.data
|
|
|
+ }))
|
|
|
+ fileListLen++
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ },
|
|
|
+ // 定点加油1清空
|
|
|
+ gasstation1Change() {
|
|
|
+ this.formData.oilappoint1Qty = 0;
|
|
|
+ this.formData.oilappoint1Amt = 0;
|
|
|
+ },
|
|
|
+ // 定点加油2清空
|
|
|
+ gasstation2Change() {
|
|
|
+ this.formData.oilappoint2Qty = 0;
|
|
|
+ this.formData.oilappoint2Amt = 0;
|
|
|
},
|
|
|
// 点击拨打电话
|
|
|
telFun() {
|
|
|
@@ -500,11 +581,19 @@
|
|
|
|
|
|
},
|
|
|
checkUnAmt(amt, index) {
|
|
|
+
|
|
|
var amt = (amt.match(/^\d*(\.?\d{0,2})/g)[0]) || null
|
|
|
//重新赋值给input
|
|
|
this.$nextTick(() => {
|
|
|
this.itemsList[index].amt = amt
|
|
|
})
|
|
|
+ },
|
|
|
+ inputHeight() {
|
|
|
+ // if (this.vHeight == 0) {
|
|
|
+ this.vHeight = 600;
|
|
|
+ // } else {
|
|
|
+ // this.vHeight = 0;
|
|
|
+ // }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -614,41 +703,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // .box {
|
|
|
-
|
|
|
- // color: #3b3b3b;
|
|
|
-
|
|
|
- // overflow: hidden;
|
|
|
- // height: 100rpx;
|
|
|
-
|
|
|
- // border-bottom: 2rpx solid #f0f0f0f0;
|
|
|
-
|
|
|
- // font-size: 30rpx;
|
|
|
-
|
|
|
- // display: flex;
|
|
|
- // align-items: center;
|
|
|
-
|
|
|
- // .data {
|
|
|
- // width: 50%;
|
|
|
- // height: 100%;
|
|
|
- // // background-color: pink;
|
|
|
- // display: flex;
|
|
|
- // align-items: center;
|
|
|
-
|
|
|
- // .key {
|
|
|
- // // background-color: indianred;
|
|
|
- // width: 80%;
|
|
|
- // }
|
|
|
-
|
|
|
- // .value {
|
|
|
- // color: #3b3b3b;
|
|
|
- // width: 45%;
|
|
|
- // margin-right: 20rpx;
|
|
|
- // border-bottom: 2rpx dotted #000;
|
|
|
- // }
|
|
|
- // }
|
|
|
- // }
|
|
|
-
|
|
|
.box {
|
|
|
|
|
|
color: #3b3b3b;
|
|
|
@@ -711,6 +765,40 @@
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .box-two {
|
|
|
+
|
|
|
+ color: #3b3b3b;
|
|
|
+
|
|
|
+ overflow: hidden;
|
|
|
+ height: 100rpx;
|
|
|
+
|
|
|
+ padding-left: 20rpx;
|
|
|
+ // margin-right: 20rpx;
|
|
|
+
|
|
|
+ font-size: 30rpx;
|
|
|
+
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .key {
|
|
|
+
|
|
|
+
|
|
|
+ display: inline-block;
|
|
|
+ width: 24%;
|
|
|
+ color: #3c9cff;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ .value {
|
|
|
+ margin-left: 20rpx;
|
|
|
+ width: calc(100% - 24%);
|
|
|
+ color: #3b3b3b;
|
|
|
+ // margin-right: 20rpx;
|
|
|
+ border-bottom: 2rpx dotted #000;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
.table {
|
|
|
margin-left: 20rpx;
|
|
|
@@ -761,6 +849,13 @@
|
|
|
background-color: #0b68ffff;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .input {
|
|
|
+ width: 100%;
|
|
|
+ // height: 100rpx;
|
|
|
+ // background-color: red;
|
|
|
+
|
|
|
+ }
|
|
|
|
|
|
.cushion {
|
|
|
width: 100%;
|