|
@@ -668,6 +668,7 @@ export default {
|
|
searchType: 0,
|
|
searchType: 0,
|
|
id: '',
|
|
id: '',
|
|
warehouseList: [],
|
|
warehouseList: [],
|
|
|
|
+ shipInfoList:[],
|
|
warehouseList1: [],
|
|
warehouseList1: [],
|
|
serviceManagementType: 1,
|
|
serviceManagementType: 1,
|
|
statusType: 1,
|
|
statusType: 1,
|
|
@@ -772,8 +773,8 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
shipInfoChange(e){
|
|
shipInfoChange(e){
|
|
for (let i = 0; i < this.shipInfoList.length; i++) {
|
|
for (let i = 0; i < this.shipInfoList.length; i++) {
|
|
- if(this.shipInfoList[i].shipName==this.weighingList.shipName){
|
|
|
|
- this.weighingList.shipNumber=this.shipInfoList[i].shipNo
|
|
|
|
|
|
+ if(this.shipInfoList[i].shipName==this.deptBudgetList.shipName){
|
|
|
|
+ this.deptBudgetList.shipNumber=this.shipInfoList[i].shipNo
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -1569,13 +1570,13 @@ export default {
|
|
// }
|
|
// }
|
|
console.log(this.serviceManagementType)
|
|
console.log(this.serviceManagementType)
|
|
if (this.serviceManagementType == 1) {
|
|
if (this.serviceManagementType == 1) {
|
|
- if (!this.deptBudgetList.cost) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '未获取到成本,请编辑后提交',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!this.deptBudgetList.cost) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '未获取到成本,请编辑后提交',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
this.deptBudgetList.dryGrainPrice = parseFloat(this.deptBudgetList.cost / 1000).toFixed(3)
|
|
this.deptBudgetList.dryGrainPrice = parseFloat(this.deptBudgetList.cost / 1000).toFixed(3)
|
|
if (
|
|
if (
|
|
this.deptBudgetList.cost < 0 ||
|
|
this.deptBudgetList.cost < 0 ||
|
|
@@ -2116,13 +2117,13 @@ export default {
|
|
}
|
|
}
|
|
console.log(this.serviceManagementType)
|
|
console.log(this.serviceManagementType)
|
|
if (this.serviceManagementType == 1) {
|
|
if (this.serviceManagementType == 1) {
|
|
- if (!this.deptBudgetList.cost) {
|
|
|
|
- this.$message({
|
|
|
|
- message: '未获取到成本,请编辑后提交',
|
|
|
|
- type: 'warning',
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+ // if (!this.deptBudgetList.cost) {
|
|
|
|
+ // this.$message({
|
|
|
|
+ // message: '未获取到成本,请编辑后提交',
|
|
|
|
+ // type: 'warning',
|
|
|
|
+ // })
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
this.deptBudgetList.dryGrainPrice = parseFloat(this.deptBudgetList.cost / 1000).toFixed(3)
|
|
this.deptBudgetList.dryGrainPrice = parseFloat(this.deptBudgetList.cost / 1000).toFixed(3)
|
|
if (
|
|
if (
|
|
this.deptBudgetList.cost < 0 ||
|
|
this.deptBudgetList.cost < 0 ||
|