|
@@ -1235,7 +1235,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
}else{
|
|
|
- if(this.deptBudgetList.inOutType=="收购入库"){ //收购入库 价格取至合同
|
|
|
+ if(this.deptBudgetList.inOutType=='收购入库'){ //收购入库 价格取至合同
|
|
|
return
|
|
|
}else{
|
|
|
getinspectLookUnitPrice({
|
|
@@ -3735,8 +3735,8 @@ export default {
|
|
|
this.deptBudgetList.contractNo = this.taskNolist[i].contractNo
|
|
|
this.deptBudgetList.inOutType == this.taskNolist[i].inOutType
|
|
|
this.deptBudgetList.goodsName = this.taskNolist[i].goodsName
|
|
|
- if(this.taskNolist[i].goodsName.indexOf("潮粮") != -1){ //收购从合同中带出货名 单价等信息 用货名是否带有潮粮字符来判断干潮类型
|
|
|
- this.deptBudgetList.type = "潮粮"
|
|
|
+ if(this.taskNolist[i].goodsName.indexOf('潮粮') != -1){ //收购从合同中带出货名 单价等信息 用货名是否带有潮粮字符来判断干潮类型
|
|
|
+ this.deptBudgetList.type = '潮粮'
|
|
|
this.deptBudgetList.grade = this.gradeList[1].constValue
|
|
|
this.deptBudgetList.gradeKey = this.gradeList[1].constKey
|
|
|
this.deptBudgetList.imperfectGrain=8
|
|
@@ -3744,7 +3744,7 @@ export default {
|
|
|
this.deptBudgetList.mildewGrain=2
|
|
|
this.deptBudgetList.jiaorenli=0
|
|
|
}else{
|
|
|
- this.deptBudgetList.type = "干粮"
|
|
|
+ this.deptBudgetList.type = '干粮'
|
|
|
this.deptBudgetList.grade = this.gradeList[1].constValue
|
|
|
this.deptBudgetList.gradeKey = this.gradeList[1].constKey
|
|
|
this.deptBudgetList.imperfectGrain=8
|
|
@@ -3765,8 +3765,8 @@ export default {
|
|
|
if (!data) return
|
|
|
var response=await getcontract({contractNo:this.deptBudgetList.contractNo,compId:localStorage.getItem('ws-pf_compId')}).toPromise()
|
|
|
this.outContractNo=response
|
|
|
- if(this.outContractNo.priceType == "定价收购"){
|
|
|
- if( this.deptBudgetList.type == "潮粮"){
|
|
|
+ if(this.outContractNo.priceType == '定价收购'){
|
|
|
+ if( this.deptBudgetList.type == '潮粮'){
|
|
|
this.deptBudgetList.tidalGrainPrice = Number(this.outContractNo.unitContractPrice/1000).toFixed(2)
|
|
|
this.tidalGrainPrice = Number(this.outContractNo.unitContractPrice/1000).toFixed(2)
|
|
|
}else{
|
|
@@ -3782,7 +3782,7 @@ export default {
|
|
|
this.deptBudgetList.goodsName = this.outContractNo.goodsName
|
|
|
this.deptBudgetList.goodsNameKey = this.outContractNo.goodsNameKey
|
|
|
}else{
|
|
|
- if(this.deptBudgetList.inOutType!="收购入库"){
|
|
|
+ if(this.deptBudgetList.inOutType!='收购入库'){
|
|
|
this.deptBudgetList.goodsName=''
|
|
|
this.deptBudgetList.goodsNameKey=''
|
|
|
this.$message({
|
|
@@ -4081,14 +4081,16 @@ export default {
|
|
|
// }
|
|
|
// }
|
|
|
})
|
|
|
- getinspectLookGoods({
|
|
|
- warehouseId: this.cangid
|
|
|
- })
|
|
|
+ if(this.serviceManagementType == 3){
|
|
|
+ getinspectLookGoods({
|
|
|
+ warehouseId: this.cangid
|
|
|
+ })
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
this.goodnameList = response
|
|
|
this.purchasePriceList = response
|
|
|
})
|
|
|
+ }
|
|
|
getshippinginfo({
|
|
|
compId: localStorage.getItem('ws-pf_compId'),
|
|
|
warehouseName: this.warehouseName
|