第一次提交

This commit is contained in:
caolc
2023-03-14 15:39:40 +08:00
parent d659190a9e
commit 0708de8d86
354 changed files with 15675 additions and 2683 deletions

View File

@@ -96,7 +96,7 @@ var components
try {
components = {
uniIcons: function() {
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 395))
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 448))
}
}
} catch (e) {
@@ -288,7 +288,6 @@ __webpack_require__.r(__webpack_exports__);
var _oilDistribution = _interopRequireDefault(__webpack_require__(/*! @/api/oilDistribution */ 295));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} //
@@ -420,8 +419,7 @@ var _oilDistribution = _interopRequireDefault(__webpack_require__(/*! @/api/oilD
//
//
//
//
var popup = function popup() {__webpack_require__.e(/*! require.ensure | components/customPopup */ "components/customPopup").then((function () {return resolve(__webpack_require__(/*! @/components/customPopup */ 388));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = { components: { popup: popup }, data: function data() {return { postData: { disCompanyId: '', disTagType: '', disType: '', customerId: '', companyId: '', disAmount: '' }, iShow: { seting: false }, sendData: null, receiveData: null, seleindex: 1, barIndex: 1, transition: { zIndex: '1', // height: '323rpx',
var popup = function popup() {__webpack_require__.e(/*! require.ensure | components/customPopup */ "components/customPopup").then((function () {return resolve(__webpack_require__(/*! @/components/customPopup */ 441));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = { components: { popup: popup }, data: function data() {return { postData: { disCompanyId: '', disTagType: '', disType: '', customerId: '', companyId: '', disAmount: '' }, iShow: { seting: false }, sendData: null, receiveData: null, seleindex: 1, barIndex: 1, transition: { zIndex: '1', // height: '323rpx',
// width: '397rpx',
transform: "scale(0.9)", backgroundColor: '#66AFFF' } };}, onLoad: function onLoad() {var that = this;uni.$on('driverfn', function (e) {console.log(e, '司机参数更新');that.receiveData = e;that.postData.customerId = e.id;that.postData.companyId = '';that.postData.disTagType = e.companyCustomerNature == 0 ? 'OUTSIDE' : 'ESELF_SUPPORT';});uni.$on('company', function (e) {console.log(e.type, e);that.receiveData = null;if (e.type == 'send') {that.sendData = e;that.postData.disCompanyId = e.id;} else if (e.type == 'receive') {that.receiveData = e;that.postData.companyId = e.id;that.postData.customerId = '';that.postData.disTagType = 'SUBCOMPANY';}console.log(e, '公司参数更新');});}, methods: { inputFn: function inputFn(e) {// this.postData.disAmount = Number(this.postData.disAmount).toFixed(2)
if (this.postData.disAmount.indexOf('.') != -1) {if (this.postData.disAmount.split('.')[1].length > 2) {uni.showToast({ title: '最多保留小数点后两位', icon: 'none' });this.$nextTick(function () {this.postData.disAmount = Number(this.postData.disAmount).toFixed(2);console.log(this.postData.disAmount);});}}}, confirmFn: function confirmFn() {var _this = this;if (this.barIndex == 2) {if (Number(this.receiveData.balance) == 0) {uni.showToast({ title: '圈回对象账户不能为零', icon: "none" });return;}if (Number(this.postData.disAmount) > Number(this.receiveData.balance)) {uni.showToast({ title: '输入金额不能大于圈回对象总余额', icon: "none" });return;}} else {if (Number(this.postData.disAmount) > Number(this.sendData.balance)) {uni.showToast({ title: '输入金额不能大于总余额', icon: "none" });return;}if (Number(this.sendData.balance) == 0) {uni.showToast({ title: '转账方金额不能为零', icon: "none" });return;}}if (Number(this.postData.disAmount) == 0) {uni.showToast({ title: '操作金额不能为零', icon: "none" });return;} // if (this.seleindex == 2 && this.sendData.id == this.receiveData) {
@@ -431,7 +429,8 @@ var popup = function popup() {__webpack_require__.e(/*! require.ensure | compone
// })
// return
// }
var that = this;this.postData.disType = this.barIndex == 1 ? 1 : -1;console.log(this.postData);_oilDistribution.default.oilDistributions(that.postData).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '操作成功', icon: 'none' });_this.iShow.seting = false;setTimeout(function () {uni.redirectTo({ url: '../index/index' });}, 500);});}, closeFn: function closeFn() {this.iShow.seting = false;console.log('取消');}, postFn: function postFn() {if (this.sendData == null || this.receiveData == null) {
var that = this;this.postData.disType = this.barIndex == 1 ? 1 : -1;console.log(this.postData);_oilDistribution.default.oilDistributions(that.postData).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '操作成功', icon: 'none' });_this.iShow.seting = false;setTimeout(function () {uni.redirectTo({ url: '../index/index' });}, 500);});}, closeFn: function closeFn() {this.iShow.seting = false;console.log('取消');}, postFn: function postFn() {
if (this.sendData == null || this.receiveData == null) {
return;
}
if (this.postData.disAmount == '' || this.postData.disAmount == 0) {

View File

@@ -96,10 +96,10 @@ var components
try {
components = {
uniEasyinput: function() {
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 475))
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 528))
},
uniIcons: function() {
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 395))
return Promise.all(/*! import() | uni_modules/uni-icons/components/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uni-icons/components/uni-icons/uni-icons.vue */ 448))
}
}
} catch (e) {
@@ -123,6 +123,14 @@ var render = function() {
var _vm = this
var _h = _vm.$createElement
var _c = _vm._self._c || _h
var m0 = _vm.typeBackground(_vm.seledata.auditMark)
var m1 = _vm.typeColor(_vm.seledata.auditMark)
var m2 = _vm.typeColor(_vm.seledata.auditMark)
var f0 = _vm._f("typeText")(_vm.seledata.auditMark)
var g0 = Number(_vm.seledata.disAmount).toFixed(2)
if (!_vm._isMounted) {
_vm.e0 = function($event) {
_vm.ejectOpen = false
@@ -140,6 +148,19 @@ var render = function() {
_vm.seleindex = index
}
}
_vm.$mp.data = Object.assign(
{},
{
$root: {
m0: m0,
m1: m1,
m2: m2,
f0: f0,
g0: g0
}
}
)
}
var recyclableRender = false
var staticRenderFns = []
@@ -285,6 +306,45 @@ __webpack_require__.r(__webpack_exports__);
@@ -438,7 +498,46 @@ var _oilDistribution = _interopRequireDefault(__webpack_require__(/*! @/api/oilD
//
//
//
var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | components/topbar */ "components/topbar").then((function () {return resolve(__webpack_require__(/*! @/components/topbar */ 381));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var popup = function popup() {__webpack_require__.e(/*! require.ensure | components/customPopup */ "components/customPopup").then((function () {return resolve(__webpack_require__(/*! @/components/customPopup */ 388));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = { components: { topBar: topBar, popup: popup }, data: function data() {return { animationData: null, seledata: {}, seachValue: '', butten: { colse: '不通过', confirm: '通过', coloseBg: '#EC4645', coloseColor: '#FFFFFF', confirmBg: '', confirmColor: '' }, iShow: { examine: false }, companyName: '', ejectOpen: false, letfText: '企业', candidate: ['企业', '个人'], getData: { pageSize: 15, currentPage: 1, params: { disType: '', companyName: '', nickName: '', auditMark: 2 }, sorted: { createTime: "desc" }, columns: [], totalCount: 1, totalPage: 1 }, styles: {}, seleindex: 0, navigation: [{ text: '全部', index: '' }, { text: '分油', index: 1 }, { text: '圈回', index: -1 }], listData: [] };}, onPullDownRefresh: function onPullDownRefresh() {//下拉的生命周期
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | components/topbar */ "components/topbar").then((function () {return resolve(__webpack_require__(/*! @/components/topbar */ 434));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var popup = function popup() {__webpack_require__.e(/*! require.ensure | components/customPopup */ "components/customPopup").then((function () {return resolve(__webpack_require__(/*! @/components/customPopup */ 441));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default = { components: { topBar: topBar, popup: popup }, data: function data() {return { showPopup: { img: false, footer: false }, animationData: null, seledata: {}, seachValue: '', butten: { colse: '不通过', confirm: '通过', coloseBg: '#EC4645', coloseColor: '#FFFFFF', confirmBg: '', confirmColor: '' }, iShow: { examine: false }, companyName: '', ejectOpen: false, letfText: '企业', candidate: ['企业', '个人'], getData: { pageSize: 15, currentPage: 1, params: { disType: '', companyName: '', nickName: '', auditMark: 2 }, sorted: { createTime: "desc" }, columns: [], totalCount: 1, totalPage: 1 }, styles: {}, seleindex: 0, navigation: [{ text: '全部', index: '' }, { text: '分油', index: 1 }, { text: '圈回', index: -1 }], listData: [] };}, onPullDownRefresh: function onPullDownRefresh() {//下拉的生命周期
this.getData.currentPage = 1;this.getList();console.log('下拉的生命周期');}, onLoad: function onLoad() {var that = this;this.styles = uni.getMenuButtonBoundingClientRect();uni.$on('company', function (e) {var routes = getCurrentPages();var routerIndex = routes[routes.length - 2].$page.fullPath.indexOf('?') != -1 ? routes[routes.length - 2].$page.fullPath.split('?')[0].split('/')[routes[routes.length - 2].$page.fullPath.split('?')[0].split('/').length - 1] : routes[routes.length - 2].$page.fullPath.split('/')[routes[routes.length - 2].$page.fullPath.split('/').length - 1];console.log(routes, routerIndex, '获取当前打开过的页面路由数组'); // if (routerIndex !== 'index') return
// if (e) {
// ({
@@ -450,7 +549,11 @@ var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | compo
// that.getData.params.companyId = ''
// that.companyName = ''
// }
});}, onShow: function onShow() {this.getList();}, methods: { animationFns: function animationFns() {console.log('恢复动画');var animation = uni.createAnimation({ duration: 0, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(0).step();this.animationData = this.animation.export();}, rotateFn: function rotateFn() {var _this = this;var animation = uni.createAnimation({ duration: 1000, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(360).step();this.animationData = this.animation.export();setTimeout(function () {_this.animationFns();}, 1000);}, confirmFn: function confirmFn() {var _this2 = this;var data = { id: this.seledata.id, auditMark: 1, auditSource: 'OMS-MINIAPP' };_oilDistribution.default.auditOms(data).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '审核成功', icon: 'none' });_this2.iShow.examine = false;_this2.seledata.auditMark = 1;});console.log('确定回掉');}, closeFn: function closeFn() {var _this3 = this;var data = { id: this.seledata.id, auditMark: -1, auditSource: 'OMS-MINIAPP' };_oilDistribution.default.auditOms(data).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '审核成功',
});}, onShow: function onShow() {this.getList();}, filters: { typeText: function typeText(e) {switch (Number(e)) {case 0:return '等待审核';case 1:return '审核通过';case -1:return '审核失败';default:return '---';}} }, methods: { typeColor: function typeColor(e) {console.log(e, '-----');switch (Number(e)) {case 0:return '#E8CD30';case 1:return '#17A00E';case -1:return '#EC4545';default:return '';}}, typeBackground: function typeBackground(e) {switch (Number(e)) {case 0:return '#E8CD3026';case 1:return '#17A00E26';case -1:return '#EC454526';default:return '';}}, animationFns: function animationFns() {console.log('恢复动画');var animation = uni.createAnimation({ duration: 0, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(0).step();this.animationData = this.animation.export();}, rotateFn: function rotateFn() {var _this = this;var animation = uni.createAnimation({ duration: 1000, timingFunction: 'ease' });this.animation = animation;this.animation.rotate(360).step();this.animationData = this.animation.export();setTimeout(function () {_this.animationFns();}, 1000);}, confirmFn: function confirmFn() {var _this2 = this;var data = { id: this.seledata.id, auditMark: 1, auditSource: 'OMS-MINIAPP' };_oilDistribution.default.auditOms(data).then(function (res) {if (res.code !== 20000) return;uni.showToast({ title: '审核成功', icon: 'none' });_this2.iShow.examine = false;_this2.seledata.auditMark = 1;});console.log('确定回掉');}, closeFn: function closeFn() {var _this3 = this;var data = { id: this.seledata.id, auditMark: -1, auditSource: 'OMS-MINIAPP' };
_oilDistribution.default.auditOms(data).then(function (res) {
if (res.code !== 20000) return;
uni.showToast({
title: '审核成功',
icon: 'none' });
_this3.iShow.examine = false;
@@ -505,9 +608,12 @@ var topBar = function topBar() {__webpack_require__.e(/*! require.ensure | compo
break;
case 1:
this.seledata = item;
this.iShow.examine = true;
if (item.auditMark == 0) {
this.seledata = item;
this.iShow.examine = true;
this.showPopup.footer = true;
} else {
this.showPopup.footer = false;
}
break;
case 2:

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,74 @@
.information_item_label{
color: #BBBBBB;
font-size: 28rpx;
}
.information_item_value{
font-size: 32rpx;
color: #666666;
}
.information_item{
margin: 20rpx 0;
}
.examine_popup_header{
width: 100%;
/* display: flex; */
color: #666666;
}
.examine_popup_header_title{
font-size: 32rpx;
}
.examine_popup_header_top{
display: flex;
justify-content: space-between;
align-items: center;
}
.examine_popup_orderType{
display: flex;
align-items: center;
border-bottom: dashed 1px #F0F0F0;
padding-bottom: 20rpx;
}
.examine_popup_orderType_text{
color: #666666;
font-size: 40rpx;
margin-left: 40rpx;
}
.information_item_other_label{
color: #BBBBBB;
font-size: 20rpx;
}
.information_item_other{
margin-bottom: 10rpx;
}
.information_item_other_value{
font-size: 24rpx;
color: #666666;
}
.listCard_header_Type{
background: rgba(232, 205, 48, 0.15);
border-radius: 40rpx;
color: #E8CD30;
/* padding: 10rpx 20rpx; */
font-size: 24rpx;
display: flex;
justify-content: center;
align-items: center;
Width :
180rpx;
Height:
54rpx;
}
.orderNumber{
color: #BBBBBB;
font-size: 24rpx;
}
.garden{
background-color: #E8CD30;
border-radius: 50%;
width: 20rpx;
height: 20rpx;
margin-right: 16rpx;
}
.icoon :active {
color: #007AFF;
}
@@ -228,7 +298,6 @@ page {
.uni-navbar--border {
border: 0px !important;
}
/* .header {
background-color: #007AFF;
color: white;

View File

@@ -96,7 +96,7 @@ var components
try {
components = {
uniEasyinput: function() {
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 475))
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 528))
}
}
} catch (e) {
@@ -223,7 +223,7 @@ __webpack_require__.r(__webpack_exports__);
var _driverManagement = _interopRequireDefault(__webpack_require__(/*! @/api/driverManagement */ 211));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};}var scroll = function scroll() {__webpack_require__.e(/*! require.ensure | components/scroll */ "components/scroll").then((function () {return resolve(__webpack_require__(/*! @/components/scroll */ 549));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _driverManagement = _interopRequireDefault(__webpack_require__(/*! @/api/driverManagement */ 211));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {try {var info = gen[key](arg);var value = info.value;} catch (error) {reject(error);return;}if (info.done) {resolve(value);} else {Promise.resolve(value).then(_next, _throw);}}function _asyncToGenerator(fn) {return function () {var self = this,args = arguments;return new Promise(function (resolve, reject) {var gen = fn.apply(self, args);function _next(value) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);}function _throw(err) {asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);}_next(undefined);});};}var scroll = function scroll() {__webpack_require__.e(/*! require.ensure | components/scroll */ "components/scroll").then((function () {return resolve(__webpack_require__(/*! @/components/scroll */ 602));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
{
components: {
scroll: scroll },

View File

@@ -96,7 +96,7 @@ var components
try {
components = {
uniEasyinput: function() {
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 475))
return __webpack_require__.e(/*! import() | uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput */ "uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(__webpack_require__.bind(null, /*! @/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue */ 528))
}
}
} catch (e) {
@@ -232,7 +232,7 @@ __webpack_require__.r(__webpack_exports__);
var _driverManagement = _interopRequireDefault(__webpack_require__(/*! @/api/driverManagement */ 211));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var scroll = function scroll() {__webpack_require__.e(/*! require.ensure | components/scroll */ "components/scroll").then((function () {return resolve(__webpack_require__(/*! @/components/scroll */ 549));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _driverManagement = _interopRequireDefault(__webpack_require__(/*! @/api/driverManagement */ 211));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}var scroll = function scroll() {__webpack_require__.e(/*! require.ensure | components/scroll */ "components/scroll").then((function () {return resolve(__webpack_require__(/*! @/components/scroll */ 602));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
{
components: {
scroll: scroll },