|
@@ -309,7 +309,7 @@
|
|
</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"
|
|
|
|
|
|
+ <ws-input :disabled="disabled2"
|
|
v-if="carInputStatus"
|
|
v-if="carInputStatus"
|
|
v-model="deptBudgetList.carNo" placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
v-model="deptBudgetList.carNo" placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
<el-select :disabled="disabled2"
|
|
<el-select :disabled="disabled2"
|
|
@@ -324,8 +324,9 @@
|
|
class="typeselect" @change="carChange($event, 1)">
|
|
class="typeselect" @change="carChange($event, 1)">
|
|
<el-option v-for="item in carNumberList" :key="item.id" :label="item.carNo" :value="item.carNo" />
|
|
<el-option v-for="item in carNumberList" :key="item.id" :label="item.carNo" :value="item.carNo" />
|
|
</el-select>
|
|
</el-select>
|
|
- <el-button @click="editcarStatus" type="text">{{ cartext }}</el-button> -->
|
|
|
|
- <ws-input :disabled="disabled2"
|
|
|
|
|
|
+ <el-button @click="editcarStatus" type="text">{{ cartext }}</el-button>
|
|
|
|
+
|
|
|
|
+ <!-- <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" />
|
|
<el-select :disabled="disabled2"
|
|
<el-select :disabled="disabled2"
|
|
@@ -340,7 +341,8 @@
|
|
v-model="deptBudgetList.carNo" placeholder="请选择车牌号" class="typeselect"
|
|
v-model="deptBudgetList.carNo" placeholder="请选择车牌号" class="typeselect"
|
|
@change="carChange($event, 0)">
|
|
@change="carChange($event, 0)">
|
|
<el-option v-for="item in options2" :key="item.constKey" :label="item.carNo" :value="item.carNo" />
|
|
<el-option v-for="item in options2" :key="item.constKey" :label="item.carNo" :value="item.carNo" />
|
|
- </el-select>
|
|
|
|
|
|
+ </el-select> -->
|
|
|
|
+
|
|
<!-- <el-select :disabled="disabled2" v-if="carNumberList.length > 0 && serviceManagementType == 3"
|
|
<!-- <el-select :disabled="disabled2" v-if="carNumberList.length > 0 && serviceManagementType == 3"
|
|
filterable clearable v-model="deptBudgetList.carNo"
|
|
filterable clearable v-model="deptBudgetList.carNo"
|
|
placeholder="请选择车牌号" class="typeselect" @change="carChange($event, 1)">
|
|
placeholder="请选择车牌号" class="typeselect" @change="carChange($event, 1)">
|
|
@@ -413,34 +415,6 @@
|
|
<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.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"
|
|
@@ -576,6 +550,46 @@
|
|
placeholder="请输入质量扣价" maxlength="40" size="small" />
|
|
placeholder="请输入质量扣价" maxlength="40" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
|
|
+ <ws-info-table>
|
|
|
|
+ <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 class='upload-address-wrap'>
|
|
|
|
+ <ws-form-item class='upload-address' label="污染附件" span="1" prop="titleNoOther"
|
|
|
|
+ v-if="compName=='辽宁佳屹农商贸有限公司'">
|
|
|
|
+ <ws-upload ref="upload" :tipstatus='false' :comp-id="compId" :appendix-ids="deptBudgetList.polluteUrl" :size-limit="size"
|
|
|
|
+ @onChange="onChange" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar" />
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ <ws-form-item class='upload-address' label="破损附件" span="1" prop="titleNoOther"
|
|
|
|
+ v-if="compName=='辽宁佳屹农商贸有限公司'">
|
|
|
|
+ <ws-upload ref="upload1" :tipstatus='false' :comp-id="compId" :appendix-ids="deptBudgetList.wornUrl" :size-limit="size"
|
|
|
|
+ @onChange="onChange1" accept=".jpg, .jpeg, .png, .pdf, .doc, .docx, .zip, .rar" />
|
|
|
|
+ </ws-form-item>
|
|
|
|
+ </ws-info-table>
|
|
|
|
+
|
|
<ws-info-table v-if="zjJurisdiction && statusTypetext == '初检' || statusTypetext != '初检'">
|
|
<ws-info-table v-if="zjJurisdiction && statusTypetext == '初检' || statusTypetext != '初检'">
|
|
<ws-form-item label="净重单价(元/公斤)" span="1" prop="tidalGrainPrice"
|
|
<ws-form-item label="净重单价(元/公斤)" span="1" prop="tidalGrainPrice"
|
|
v-if="deptBudgetList.type == '潮粮' && serviceManagementType == 3">
|
|
v-if="deptBudgetList.type == '潮粮' && serviceManagementType == 3">
|
|
@@ -587,6 +601,7 @@
|
|
<ws-input type="number" @mousewheel.native.prevent @input="pricechange"
|
|
<ws-input type="number" @mousewheel.native.prevent @input="pricechange"
|
|
v-model="deptBudgetList.dryGrainPrice" placeholder="请输入干粮单价" maxlength="10" size="small" />
|
|
v-model="deptBudgetList.dryGrainPrice" placeholder="请输入干粮单价" maxlength="10" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
|
|
+
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
<ws-info-table>
|
|
<ws-info-table>
|
|
<el-form-item class='rememo' v-if='statusTypetext != "初检"' label="备注" span="1" prop="imperfectGrain">
|
|
<el-form-item class='rememo' v-if='statusTypetext != "初检"' label="备注" span="1" prop="imperfectGrain">
|
|
@@ -654,6 +669,7 @@
|
|
<el-button type="primary" @click="printBig">打印单据</el-button>
|
|
<el-button type="primary" @click="printBig">打印单据</el-button>
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -691,9 +707,11 @@ import axios from 'axios'
|
|
import {
|
|
import {
|
|
getHp
|
|
getHp
|
|
} from '@/utils/getHasPermission'
|
|
} from '@/utils/getHasPermission'
|
|
|
|
+import WsUpload from '@/components/WsUpload'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
- inspectInfoPrint
|
|
|
|
|
|
+ inspectInfoPrint,
|
|
|
|
+ WsUpload
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
'$route'(to, from) {
|
|
'$route'(to, from) {
|
|
@@ -740,6 +758,7 @@ export default {
|
|
shipInfoList: [],
|
|
shipInfoList: [],
|
|
cost: '',
|
|
cost: '',
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
|
|
+ size:9,
|
|
cartext:'选择',
|
|
cartext:'选择',
|
|
carInputStatus:true,
|
|
carInputStatus:true,
|
|
isShowPrint: false,
|
|
isShowPrint: false,
|
|
@@ -882,7 +901,8 @@ export default {
|
|
qyJurisdiction: false,
|
|
qyJurisdiction: false,
|
|
zjJurisdiction: false,
|
|
zjJurisdiction: false,
|
|
fjJurisdiction: false,
|
|
fjJurisdiction: false,
|
|
- qrJurisdiction: false
|
|
|
|
|
|
+ qrJurisdiction: false,
|
|
|
|
+ compId: localStorage.getItem('ws-pf_compId'),
|
|
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -937,6 +957,28 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ onChange() {
|
|
|
|
+ this.$refs.upload
|
|
|
|
+ .handleSaveBill()
|
|
|
|
+ .then(async response => {
|
|
|
|
+ this.deptBudgetList.polluteUrl = response
|
|
|
|
+ })
|
|
|
|
+ .catch(res => {
|
|
|
|
+ EventBus.$emit('error', (JSON.parse(res) || {}).message)
|
|
|
|
+ this.$refs.upload.clearFiles()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ onChange1() {
|
|
|
|
+ this.$refs.upload1
|
|
|
|
+ .handleSaveBill()
|
|
|
|
+ .then(async response => {
|
|
|
|
+ this.deptBudgetList.wornUrl = response
|
|
|
|
+ })
|
|
|
|
+ .catch(res => {
|
|
|
|
+ EventBus.$emit('error', (JSON.parse(res) || {}).message)
|
|
|
|
+ this.$refs.upload1.clearFiles()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
editcarStatus(){
|
|
editcarStatus(){
|
|
if(this.deptBudgetList.inOutType!='移库入库'&&this.deptBudgetList.inOutType!='退库'){
|
|
if(this.deptBudgetList.inOutType!='移库入库'&&this.deptBudgetList.inOutType!='退库'){
|
|
if(this.cartext=='选择'){
|
|
if(this.cartext=='选择'){
|
|
@@ -4425,4 +4467,14 @@ export default {
|
|
/deep/.el-input.volumeofbusiness .el-input__inner {
|
|
/deep/.el-input.volumeofbusiness .el-input__inner {
|
|
color: red !important;
|
|
color: red !important;
|
|
}
|
|
}
|
|
|
|
+/deep/.upload-address-wrap .el-form-item .el-form-item__content{
|
|
|
|
+ height:300px;
|
|
|
|
+ align-items: flex-start;
|
|
|
|
+}
|
|
|
|
+/deep/.ws-upload{
|
|
|
|
+ overflow-x:scroll;
|
|
|
|
+}
|
|
|
|
+// /deep/.ws-info-table .upload-address.el-form-item .el-form-item__content{
|
|
|
|
+// overflow-y:scroll;
|
|
|
|
+// }
|
|
</style>
|
|
</style>
|