|
@@ -1601,7 +1601,6 @@
|
|
return year + '' + mouth + '' + datetime
|
|
return year + '' + mouth + '' + datetime
|
|
},
|
|
},
|
|
submit() {
|
|
submit() {
|
|
- debugger
|
|
|
|
if (this.typevalue == 3) {
|
|
if (this.typevalue == 3) {
|
|
if (this.outType) {
|
|
if (this.outType) {
|
|
this.gridList.outType = this.outType
|
|
this.gridList.outType = this.outType
|
|
@@ -1738,9 +1737,9 @@
|
|
if (res.confirm) {
|
|
if (res.confirm) {
|
|
that.gridList.serviceManagementType = that.typevalue
|
|
that.gridList.serviceManagementType = that.typevalue
|
|
if (that.typevalue == 3) {
|
|
if (that.typevalue == 3) {
|
|
-
|
|
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
- title:"加载中"
|
|
|
|
|
|
+ title: '加载中',
|
|
|
|
+ mask: true
|
|
})
|
|
})
|
|
that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
compId: uni.getStorageSync('pcUserInfo').compId,
|
|
compId: uni.getStorageSync('pcUserInfo').compId,
|
|
@@ -1778,6 +1777,8 @@
|
|
'/warehouseInOutInfo/InOutWarehouse',
|
|
'/warehouseInOutInfo/InOutWarehouse',
|
|
that.gridList)
|
|
that.gridList)
|
|
.then(res => {
|
|
.then(res => {
|
|
|
|
+ if (res.data.code ==
|
|
|
|
+ 200) {
|
|
if (that.utils.getCurrectRoles(
|
|
if (that.utils.getCurrectRoles(
|
|
'acquisitionQuality.qview'
|
|
'acquisitionQuality.qview'
|
|
)) {
|
|
)) {
|
|
@@ -1840,7 +1841,9 @@
|
|
'提交失败')
|
|
'提交失败')
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ }
|
|
})
|
|
})
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1848,7 +1851,8 @@
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
- title:"加载中"
|
|
|
|
|
|
+ title: '加载中',
|
|
|
|
+ mask: true
|
|
})
|
|
})
|
|
that.gridList.inOutFlag = 2
|
|
that.gridList.inOutFlag = 2
|
|
that.$api.doRequest('post',
|
|
that.$api.doRequest('post',
|
|
@@ -1911,6 +1915,10 @@
|
|
if (res.confirm) {
|
|
if (res.confirm) {
|
|
that.gridList.serviceManagementType = that.typevalue
|
|
that.gridList.serviceManagementType = that.typevalue
|
|
if (that.typevalue == 3) {
|
|
if (that.typevalue == 3) {
|
|
|
|
+ uni.showLoading({
|
|
|
|
+ title: '加载中',
|
|
|
|
+ mask: true
|
|
|
|
+ })
|
|
that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
that.$api.doRequest('get', '/paymentManagement/cumulant', {
|
|
compId: uni.getStorageSync('pcUserInfo')
|
|
compId: uni.getStorageSync('pcUserInfo')
|
|
.compId,
|
|
.compId,
|
|
@@ -1947,6 +1955,7 @@
|
|
.toFixed(2) +
|
|
.toFixed(2) +
|
|
'吨,还可售粮' +
|
|
'吨,还可售粮' +
|
|
count + '吨', )
|
|
count + '吨', )
|
|
|
|
+ uni.hideLoading()
|
|
|
|
|
|
} else {
|
|
} else {
|
|
that.gridList.inOutFlag = 2
|
|
that.gridList.inOutFlag = 2
|
|
@@ -1979,6 +1988,7 @@
|
|
that.gridList)
|
|
that.gridList)
|
|
.then(res => {
|
|
.then(res => {
|
|
that.printId=res.data.data
|
|
that.printId=res.data.data
|
|
|
|
+ uni.hideLoading()
|
|
if (res
|
|
if (res
|
|
.data
|
|
.data
|
|
.code ==
|
|
.code ==
|
|
@@ -2037,6 +2047,10 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
|
|
+ uni.showLoading({
|
|
|
|
+ title: '加载中',
|
|
|
|
+ mask: true
|
|
|
|
+ })
|
|
|
|
|
|
that.gridList.inOutFlag = 2
|
|
that.gridList.inOutFlag = 2
|
|
that.$api.doRequest('post',
|
|
that.$api.doRequest('post',
|
|
@@ -2050,6 +2064,7 @@
|
|
that.gridList)
|
|
that.gridList)
|
|
.then(res => {
|
|
.then(res => {
|
|
that.printId=res.data.data
|
|
that.printId=res.data.data
|
|
|
|
+ uni.hideLoading()
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
that.$api.msg('提交成功')
|
|
that.$api.msg('提交成功')
|
|
that.gridList.warehouseId =
|
|
that.gridList.warehouseId =
|