|
@@ -309,6 +309,22 @@
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item v-if="serviceManagementType == 1 && deptBudgetList.outType == '汽运'" label="车牌号" span="1"
|
|
<ws-form-item v-if="serviceManagementType == 1 && deptBudgetList.outType == '汽运'" label="车牌号" span="1"
|
|
prop="carNo">
|
|
prop="carNo">
|
|
|
|
+ <!-- <ws-input :disabled="disabled2"
|
|
|
|
+ v-if="carInputStatus"
|
|
|
|
+ v-model="deptBudgetList.carNo" placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
|
|
+ <el-select :disabled="disabled2"
|
|
|
|
+ v-if="!carInputStatus&&compName!='辽宁佳屹农商贸有限公司'"
|
|
|
|
+ filterable clearable v-model="deptBudgetList.carNo1" placeholder="请选择车牌号" class="typeselect"
|
|
|
|
+ @change="carChange($event, 0)">
|
|
|
|
+ <el-option v-for="(item, index) in options2" :key="index"
|
|
|
|
+ :label="item.carNo + '(' + item.tranCarNo + ')'" :value="index" />
|
|
|
|
+ </el-select>
|
|
|
|
+ <el-select :disabled="disabled2" v-if="!carInputStatus&&compName=='辽宁佳屹农商贸有限公司'"
|
|
|
|
+ filterable clearable :allow-create="true" v-model="deptBudgetList.carNo" placeholder="请选择车牌号"
|
|
|
|
+ class="typeselect" @change="carChange($event, 1)">
|
|
|
|
+ <el-option v-for="item in carNumberList" :key="item.id" :label="item.carNo" :value="item.carNo" />
|
|
|
|
+ </el-select>
|
|
|
|
+ <el-button @click="editcarStatus" type="text">{{ cartext }}</el-button> -->
|
|
<ws-input :disabled="disabled2"
|
|
<ws-input :disabled="disabled2"
|
|
v-if="options2.length == 0 && serviceManagementType == 1 && deptBudgetList.inOutType != '移库入库'&&deptBudgetList.inOutType != '退库' || statusTypetext != '初检'||deptBudgetList.inOutType == '退库'&&tranTaskFlag!=1"
|
|
v-if="options2.length == 0 && serviceManagementType == 1 && deptBudgetList.inOutType != '移库入库'&&deptBudgetList.inOutType != '退库' || statusTypetext != '初检'||deptBudgetList.inOutType == '退库'&&tranTaskFlag!=1"
|
|
v-model="deptBudgetList.carNo" placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
v-model="deptBudgetList.carNo" placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
@@ -397,7 +413,29 @@
|
|
<ws-input :disabled='recheck' v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
|
|
<ws-input :disabled='recheck' v-model="deptBudgetList.titleNoOther" placeholder="请输入封号" maxlength="20"
|
|
size="small" />
|
|
size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
-
|
|
|
|
|
|
+ <!-- <ws-form-item label="规格(公斤)" span="1" prop="boxNoOther"
|
|
|
|
+ v-if="compName=='辽宁佳屹农商贸有限公司'">
|
|
|
|
+ <el-select :disabled='recheck' filterable clearable v-model="deptBudgetList.specifications" placeholder="请选择规格"
|
|
|
|
+ class="typeselect" >
|
|
|
|
+ <el-option label="830" value="830" />
|
|
|
|
+ <el-option label="850" value="850" />
|
|
|
|
+ </el-select>
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="工厂" span="1" prop="titleNoOther"
|
|
|
|
+ v-if="compName=='辽宁佳屹农商贸有限公司'">
|
|
|
|
+ <ws-input :disabled='recheck' v-model="deptBudgetList.factory" placeholder="请输入工厂" maxlength="30"
|
|
|
|
+ size="small" />
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="污染件数" span="1" prop="titleNoOther"
|
|
|
|
+ v-if="compName=='辽宁佳屹农商贸有限公司'">
|
|
|
|
+ <ws-input :disabled='recheck' v-model="deptBudgetList.polluteNum" placeholder="请输入污染件数" maxlength="30"
|
|
|
|
+ size="small" />
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item label="破损件数" span="1" prop="titleNoOther"
|
|
|
|
+ v-if="compName=='辽宁佳屹农商贸有限公司'">
|
|
|
|
+ <ws-input :disabled='recheck' v-model="deptBudgetList.wornNum" placeholder="请输入破损件数" maxlength="30"
|
|
|
|
+ size="small" />
|
|
|
|
+ </ws-form-item> -->
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
|
|
|
|
<div class="title"
|
|
<div class="title"
|
|
@@ -697,6 +735,8 @@ export default {
|
|
shipInfoList: [],
|
|
shipInfoList: [],
|
|
cost: '',
|
|
cost: '',
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
|
+ cartext:'选择',
|
|
|
|
+ carInputStatus:true,
|
|
isShowPrint: false,
|
|
isShowPrint: false,
|
|
typeList: ['干粮', '潮粮'],
|
|
typeList: ['干粮', '潮粮'],
|
|
fireDirectionList: [],
|
|
fireDirectionList: [],
|
|
@@ -804,6 +844,7 @@ export default {
|
|
isGetCost: '',
|
|
isGetCost: '',
|
|
carstatus: false,
|
|
carstatus: false,
|
|
options2: [],
|
|
options2: [],
|
|
|
|
+ compName:localStorage.getItem('ws-pf_compName'),
|
|
tranCarInfoList: [],
|
|
tranCarInfoList: [],
|
|
gradeList: [],
|
|
gradeList: [],
|
|
deptBudgetTotal: 0,
|
|
deptBudgetTotal: 0,
|
|
@@ -891,6 +932,17 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ editcarStatus(){
|
|
|
|
+ if(this.deptBudgetList.inOutType!='移库入库'&&this.deptBudgetList.inOutType!='退库'){
|
|
|
|
+ if(this.cartext=='选择'){
|
|
|
|
+ this.cartext='手输'
|
|
|
|
+ this.carInputStatus=false
|
|
|
|
+ }else{
|
|
|
|
+ this.cartext='选择'
|
|
|
|
+ this.carInputStatus=true
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ },
|
|
priceblur(e, status) {
|
|
priceblur(e, status) {
|
|
if (status == 1) {
|
|
if (status == 1) {
|
|
if (this.deptBudgetList.waterPriceIncrease === '') {
|
|
if (this.deptBudgetList.waterPriceIncrease === '') {
|
|
@@ -3920,6 +3972,9 @@ export default {
|
|
this.deptBudgetList.goodsNameKey = this.outContractNo.goodsNameKey
|
|
this.deptBudgetList.goodsNameKey = this.outContractNo.goodsNameKey
|
|
}
|
|
}
|
|
this.goodsNameChange(this.deptBudgetList.goodsName)
|
|
this.goodsNameChange(this.deptBudgetList.goodsName)
|
|
|
|
+ // 初始化
|
|
|
|
+ this.cartext='选择'
|
|
|
|
+ this.carInputStatus=true
|
|
// this.deptBudgetList.grade = this.outContractNo.grade
|
|
// this.deptBudgetList.grade = this.outContractNo.grade
|
|
if (this.outContractNo.inOutType == '采购入库') {
|
|
if (this.outContractNo.inOutType == '采购入库') {
|
|
if (this.outContractNo.deliverType == 1) {
|
|
if (this.outContractNo.deliverType == 1) {
|
|
@@ -3947,7 +4002,10 @@ export default {
|
|
.unitContractPrice + '元/吨)'
|
|
.unitContractPrice + '元/吨)'
|
|
}
|
|
}
|
|
this.deptBudgetList.inOutTypeKey = 1
|
|
this.deptBudgetList.inOutTypeKey = 1
|
|
|
|
+
|
|
} else if (this.outContractNo.inOutType == '移库入库') {
|
|
} else if (this.outContractNo.inOutType == '移库入库') {
|
|
|
|
+ this.cartext='手输'
|
|
|
|
+ this.carInputStatus=false
|
|
this.customerName = localStorage.getItem('ws-pf_compName')
|
|
this.customerName = localStorage.getItem('ws-pf_compName')
|
|
this.warehouseTradeCount = '000' + (Number(this.warehouseTradeCount) + 1)
|
|
this.warehouseTradeCount = '000' + (Number(this.warehouseTradeCount) + 1)
|
|
// this.deptBudgetList.qualityNo = 'YKRK' + this.getTime() + this.warehouseNo + this.warehouseTradeCount
|
|
// this.deptBudgetList.qualityNo = 'YKRK' + this.getTime() + this.warehouseNo + this.warehouseTradeCount
|
|
@@ -3971,6 +4029,7 @@ export default {
|
|
this.deptBudgetList.inOutTypeKey = 5
|
|
this.deptBudgetList.inOutTypeKey = 5
|
|
}
|
|
}
|
|
else if (this.outContractNo.inOutType == '退库') {
|
|
else if (this.outContractNo.inOutType == '退库') {
|
|
|
|
+
|
|
if (this.outContractNo.contractNo) {
|
|
if (this.outContractNo.contractNo) {
|
|
this.deptBudgetList.tips = '买方' + this.outContractNo.buyer
|
|
this.deptBudgetList.tips = '买方' + this.outContractNo.buyer
|
|
} else {
|
|
} else {
|
|
@@ -3979,6 +4038,13 @@ export default {
|
|
this.deptBudgetList.inOutTypeKey = 6
|
|
this.deptBudgetList.inOutTypeKey = 6
|
|
//退库有无运输任务标识
|
|
//退库有无运输任务标识
|
|
this.tranTaskFlag=this.outContractNo.tranTaskFlag
|
|
this.tranTaskFlag=this.outContractNo.tranTaskFlag
|
|
|
|
+ if(this.tranTaskFlag!=1){
|
|
|
|
+ this.cartext='选择'
|
|
|
|
+ this.carInputStatus=true
|
|
|
|
+ }else{
|
|
|
|
+ this.cartext='手输'
|
|
|
|
+ this.carInputStatus=false
|
|
|
|
+ }
|
|
}
|
|
}
|
|
if(this.outContractNo.contractPrice){
|
|
if(this.outContractNo.contractPrice){
|
|
this.cost = this.outContractNo.contractPrice
|
|
this.cost = this.outContractNo.contractPrice
|