|
@@ -140,7 +140,7 @@
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '集装箱船'
|
|
weighingList.outType == '集装箱船'
|
|
">
|
|
">
|
|
- <ws-input v-if="!carstatus || carjudge" :disabled="tpyeNo == 2" v-model="weighingList.carNo"
|
|
|
|
|
|
+ <ws-input v-if="!carstatus || carjudge" v-model="weighingList.carNo"
|
|
placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
placeholder="请输入车牌号" maxlength="7" size="small" />
|
|
<el-select v-else filterable clearable v-model="weighingList.carNo" placeholder="请选择车牌号"
|
|
<el-select v-else filterable clearable v-model="weighingList.carNo" placeholder="请选择车牌号"
|
|
class="typeselect" @change="carChange">
|
|
class="typeselect" @change="carChange">
|
|
@@ -153,36 +153,36 @@
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '集装箱船'
|
|
weighingList.outType == '集装箱船'
|
|
">
|
|
">
|
|
- <ws-input :disabled="tpyeNo == 2" v-model="weighingList.boxNo" placeholder="请输入箱号"
|
|
|
|
|
|
+ <ws-input v-model="weighingList.boxNo" placeholder="请输入箱号"
|
|
maxlength="20" size="small" />
|
|
maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="箱号-2" span="1" prop="boxNoOther" v-if="
|
|
<ws-form-item label="箱号-2" span="1" prop="boxNoOther" v-if="
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '集装箱船'
|
|
weighingList.outType == '集装箱船'
|
|
">
|
|
">
|
|
- <ws-input :disabled="tpyeNo == 2" v-model="weighingList.boxNoOther" placeholder="请输入箱号"
|
|
|
|
|
|
+ <ws-input v-model="weighingList.boxNoOther" placeholder="请输入箱号"
|
|
maxlength="20" size="small" />
|
|
maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="封号-1" span="1" prop="titleNo" v-if="
|
|
<ws-form-item label="封号-1" span="1" prop="titleNo" v-if="
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '集装箱船'
|
|
weighingList.outType == '集装箱船'
|
|
">
|
|
">
|
|
- <ws-input :disabled="tpyeNo == 2" v-model="weighingList.titleNo" placeholder="请输入封号"
|
|
|
|
|
|
+ <ws-input v-model="weighingList.titleNo" placeholder="请输入封号"
|
|
maxlength="20" size="small" />
|
|
maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="封号-2" span="1" prop="titleNoOther" v-if="
|
|
<ws-form-item label="封号-2" span="1" prop="titleNoOther" v-if="
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '汽运' ||
|
|
weighingList.outType == '集装箱船'
|
|
weighingList.outType == '集装箱船'
|
|
">
|
|
">
|
|
- <ws-input :disabled="tpyeNo == 2" v-model="weighingList.titleNoOther" placeholder="请输入封号"
|
|
|
|
|
|
+ <ws-input v-model="weighingList.titleNoOther" placeholder="请输入封号"
|
|
maxlength="20" size="small" />
|
|
maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="车厢号-1" span="1" prop="wingNumber" v-if="weighingList.outType == '火运'">
|
|
<ws-form-item label="车厢号-1" span="1" prop="wingNumber" v-if="weighingList.outType == '火运'">
|
|
- <ws-input :disabled="tpyeNo == 2" v-model="weighingList.wingNumber" placeholder="请输入车厢号"
|
|
|
|
|
|
+ <ws-input v-model="weighingList.wingNumber" placeholder="请输入车厢号"
|
|
maxlength="20" size="small" />
|
|
maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="车厢号-2" span="1" prop="wingNumberOther" v-if="weighingList.outType == '火运'">
|
|
<ws-form-item label="车厢号-2" span="1" prop="wingNumberOther" v-if="weighingList.outType == '火运'">
|
|
- <ws-input :disabled="tpyeNo == 2" v-model="weighingList.wingNumberOther" placeholder="请输入车厢号"
|
|
|
|
|
|
+ <ws-input v-model="weighingList.wingNumberOther" placeholder="请输入车厢号"
|
|
maxlength="20" size="small" />
|
|
maxlength="20" size="small" />
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<ws-form-item label="船名" span="1" prop="shipName" v-if="weighingList.outType == '散船'">
|
|
<ws-form-item label="船名" span="1" prop="shipName" v-if="weighingList.outType == '散船'">
|
|
@@ -800,13 +800,13 @@
|
|
this.$refs.weightChild.openPort()
|
|
this.$refs.weightChild.openPort()
|
|
},
|
|
},
|
|
|
|
|
|
- listclick(row) {debugger
|
|
|
|
|
|
+ listclick(row) {
|
|
this.id = row.id
|
|
this.id = row.id
|
|
getweighing({
|
|
getweighing({
|
|
id: row.id,
|
|
id: row.id,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
- .then((response) => {debugger
|
|
|
|
|
|
+ .then((response) => {
|
|
this.weighingList = response
|
|
this.weighingList = response
|
|
// this.weighingList.grossWeight = this.weighingList.grossWeight * 1000
|
|
// this.weighingList.grossWeight = this.weighingList.grossWeight * 1000
|
|
// this.weighingList.tare = this.weighingList.tare * 1000
|
|
// this.weighingList.tare = this.weighingList.tare * 1000
|
|
@@ -913,6 +913,12 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
print() {
|
|
print() {
|
|
|
|
+ // if(this.tpyeNo==2){
|
|
|
|
+ // if(this.weighingList.qualityInspectionManagement.status != '已质检'){
|
|
|
|
+ // this.$message.error("该条信息未质检!")
|
|
|
|
+ // return
|
|
|
|
+ // }
|
|
|
|
+ // }
|
|
this.weighingList.carNumber = this.weighingList.carNo
|
|
this.weighingList.carNumber = this.weighingList.carNo
|
|
if (this.types == 1 || this.types == 2) {
|
|
if (this.types == 1 || this.types == 2) {
|
|
if (!this.weighingList.contractNo) {
|
|
if (!this.weighingList.contractNo) {
|
|
@@ -1599,9 +1605,13 @@
|
|
},
|
|
},
|
|
contractNoChange(e) {
|
|
contractNoChange(e) {
|
|
this.warehouseCount = this.warehouseCount1
|
|
this.warehouseCount = this.warehouseCount1
|
|
- console.log(this.warehouseCount)
|
|
|
|
for (let i = 0; i < this.taskNolist.length; i++) {
|
|
for (let i = 0; i < this.taskNolist.length; i++) {
|
|
if (this.taskNolist[i].inOutTaskNo == e) {
|
|
if (this.taskNolist[i].inOutTaskNo == e) {
|
|
|
|
+ // this.weighingList.number = this.taskNolist[i].inOutTaskNo
|
|
|
|
+ this.warehouseCount = '000' + (Number(this.warehouseCount) + 1)
|
|
|
|
+ this.weighingList.number = 'XSCK' + this.getTime() + this.warehouseNo + this.warehouseCount.substring(this.warehouseCount.length - 4)
|
|
|
|
+ this.weighingList.goodsName = this.taskNolist[i].goodsName
|
|
|
|
+ this.weighingList.tips = this.taskNolist[i].businessDescribe
|
|
var data = this.taskNolist[i]
|
|
var data = this.taskNolist[i]
|
|
if (this.taskNolist[i].contractNo) {
|
|
if (this.taskNolist[i].contractNo) {
|
|
// console.log(this.taskNolist[i])
|
|
// console.log(this.taskNolist[i])
|
|
@@ -1625,11 +1635,7 @@
|
|
this.weighingList.inOutType = this.outContractNo[i].inOutType
|
|
this.weighingList.inOutType = this.outContractNo[i].inOutType
|
|
if (this.outContractNo[i].inOutType == '销售出库') {
|
|
if (this.outContractNo[i].inOutType == '销售出库') {
|
|
this.warehouseCount = '000' + (Number(this.warehouseCount) + 1)
|
|
this.warehouseCount = '000' + (Number(this.warehouseCount) + 1)
|
|
- this.weighingList.number =
|
|
|
|
- 'XSCK' +
|
|
|
|
- this.getTime() +
|
|
|
|
- this.warehouseNo +
|
|
|
|
- this.warehouseCount.substring(this.warehouseCount.length - 4)
|
|
|
|
|
|
+ this.weighingList.number = 'XSCK' + this.getTime() + this.warehouseNo + this.warehouseCount.substring(this.warehouseCount.length - 4)
|
|
this.weighingList.buyer = this.outContractNo[i].buyer
|
|
this.weighingList.buyer = this.outContractNo[i].buyer
|
|
this.weighingList.seller = localStorage.getItem('ws-pf_compName')
|
|
this.weighingList.seller = localStorage.getItem('ws-pf_compName')
|
|
if (!this.outContractNo[i].unitContractPrice) {
|
|
if (!this.outContractNo[i].unitContractPrice) {
|