|
@@ -149,7 +149,18 @@
|
|
class="table_td"
|
|
class="table_td"
|
|
prop="lossWeight"
|
|
prop="lossWeight"
|
|
label="损耗(吨)"
|
|
label="损耗(吨)"
|
|
- ></el-table-column>
|
|
|
|
|
|
+ ><template slot-scope="scope">
|
|
|
|
+ <span v-if="scope.row.unloadingWeight == '未卸车'">--</span>
|
|
|
|
+ <span
|
|
|
|
+ v-if="
|
|
|
|
+ scope.row.lossWeight > 0 &&
|
|
|
|
+ scope.row.lossWeight > scope.row.loadingWeight / 1000
|
|
|
|
+ "
|
|
|
|
+ style="color: #f10404; font-weight: 600"
|
|
|
|
+ >{{ scope.row.lossWeight }}</span
|
|
|
|
+ >
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column
|
|
<el-table-column
|
|
width="120"
|
|
width="120"
|
|
class="table_td"
|
|
class="table_td"
|
|
@@ -274,9 +285,7 @@
|
|
><template slot-scope="scope">
|
|
><template slot-scope="scope">
|
|
{{ scope.row.alreadyInvoice }}
|
|
{{ scope.row.alreadyInvoice }}
|
|
<img
|
|
<img
|
|
- v-if="
|
|
|
|
- scope.row.amountEdPayable > 0
|
|
|
|
- "
|
|
|
|
|
|
+ v-if="scope.row.amountEdPayable > 0"
|
|
width="17"
|
|
width="17"
|
|
height="18"
|
|
height="18"
|
|
style="vertical-align: text-top; position: relative; top: -1px"
|
|
style="vertical-align: text-top; position: relative; top: -1px"
|
|
@@ -394,7 +403,9 @@
|
|
</el-form>
|
|
</el-form>
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button @click="dialogFormVisible2 = false">取 消</el-button>
|
|
<el-button @click="dialogFormVisible2 = false">取 消</el-button>
|
|
- <el-button type="primary" @click="submitBatchInvoice()">提 交</el-button>
|
|
|
|
|
|
+ <el-button type="primary" @click="submitBatchInvoice()"
|
|
|
|
+ >提 交</el-button
|
|
|
|
+ >
|
|
</div>
|
|
</div>
|
|
</el-dialog>
|
|
</el-dialog>
|
|
<!-- 开发票 -->
|
|
<!-- 开发票 -->
|
|
@@ -424,13 +435,18 @@
|
|
<!--账户-->
|
|
<!--账户-->
|
|
<el-dialog
|
|
<el-dialog
|
|
width="30%"
|
|
width="30%"
|
|
- title="的账户"
|
|
|
|
|
|
+ title="账户信息"
|
|
:visible.sync="dialogFormVisible8"
|
|
:visible.sync="dialogFormVisible8"
|
|
:append-to-body="true"
|
|
:append-to-body="true"
|
|
>
|
|
>
|
|
- <span>账户-1</span>
|
|
|
|
|
|
+ <h3 style="margin-left: 30px">{{ customerlist.name }}的账户</h3>
|
|
|
|
+ <!-- <div v-for="(item, index) in item" :key="index"> -->
|
|
|
|
+ <h4 style="margin-left: 30px">账户-</h4>
|
|
|
|
+ <div class="anniu">
|
|
|
|
+ <el-radio v-model="radio" label="1">本次收款账户</el-radio>
|
|
|
|
+ </div>
|
|
<el-form class="customer" :model="form">
|
|
<el-form class="customer" :model="form">
|
|
- <el-form-item label="账户类型" :label-width="formLabelWidth" >
|
|
|
|
|
|
+ <el-form-item label="账户类型" :label-width="formLabelWidth">
|
|
{{ customerlist.accountType }}
|
|
{{ customerlist.accountType }}
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label="银行卡号" :label-width="formLabelWidth">
|
|
<el-form-item label="银行卡号" :label-width="formLabelWidth">
|
|
@@ -464,6 +480,7 @@
|
|
{{ customerlist.compName }}
|
|
{{ customerlist.compName }}
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
|
|
+ <!-- </div> -->
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
<el-button @click="dialogFormVisible8 = false">取 消</el-button>
|
|
<el-button @click="dialogFormVisible8 = false">取 消</el-button>
|
|
</div>
|
|
</div>
|
|
@@ -478,7 +495,6 @@ import {
|
|
autocontract,
|
|
autocontract,
|
|
autopaymoney,
|
|
autopaymoney,
|
|
openinvoicelist,
|
|
openinvoicelist,
|
|
- // getorder,
|
|
|
|
// postaudit,
|
|
// postaudit,
|
|
// getselectctcontractno,
|
|
// getselectctcontractno,
|
|
} from '@/model/statisticalReport/index'
|
|
} from '@/model/statisticalReport/index'
|
|
@@ -548,7 +564,8 @@ export default {
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
pageSize: 10,
|
|
pageSize: 10,
|
|
searchType: '1',
|
|
searchType: '1',
|
|
- manualFlag:'',
|
|
|
|
|
|
+ manualFlag: '',
|
|
|
|
+ radio: '1',
|
|
searchTypeText: '未完成',
|
|
searchTypeText: '未完成',
|
|
searchKeyWord: '',
|
|
searchKeyWord: '',
|
|
customerlist: {},
|
|
customerlist: {},
|
|
@@ -671,8 +688,7 @@ export default {
|
|
handlepayment() {
|
|
handlepayment() {
|
|
this.amountNotPayable = 0
|
|
this.amountNotPayable = 0
|
|
this.money = this.money
|
|
this.money = this.money
|
|
- this.autoSettlementList =
|
|
|
|
- this.warehouseList.records[0].autoSettlementList
|
|
|
|
|
|
+ this.autoSettlementList = this.warehouseList.records[0].autoSettlementList
|
|
this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
|
|
this.amountEdPayable = this.warehouseList.records[0].amountEdPayable
|
|
this.paymentDate = this.paymentDate
|
|
this.paymentDate = this.paymentDate
|
|
if (this.modification.length == 0) {
|
|
if (this.modification.length == 0) {
|
|
@@ -837,8 +853,7 @@ export default {
|
|
//批量开发票
|
|
//批量开发票
|
|
handleninvoice() {
|
|
handleninvoice() {
|
|
this.amountEdPayable = 0
|
|
this.amountEdPayable = 0
|
|
- this.autoSettlementList =
|
|
|
|
- this.warehouseList.records[0].autoSettlementList
|
|
|
|
|
|
+ this.autoSettlementList = this.warehouseList.records[0].autoSettlementList
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
for (var i = 0; i < this.modification.length; i++) {
|
|
this.amountEdPayable += this.modification[i].amountEdPayable
|
|
this.amountEdPayable += this.modification[i].amountEdPayable
|
|
}
|
|
}
|
|
@@ -884,13 +899,17 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if (
|
|
if (
|
|
- this.settlementWeight&&String(this.settlementWeight).indexOf('.') != -1 &&
|
|
|
|
|
|
+ (this.settlementWeight &&
|
|
|
|
+ String(this.settlementWeight).indexOf('.') != -1 &&
|
|
String(this.settlementWeight).length -
|
|
String(this.settlementWeight).length -
|
|
(String(this.settlementWeight).indexOf('.') + 1) >
|
|
(String(this.settlementWeight).indexOf('.') + 1) >
|
|
- 2||this.settlementWeight&&this.settlementWeight>100||this.settlementWeight&&this.settlementWeight<1) {
|
|
|
|
|
|
+ 2) ||
|
|
|
|
+ (this.settlementWeight && this.settlementWeight > 100) ||
|
|
|
|
+ (this.settlementWeight && this.settlementWeight < 1)
|
|
|
|
+ ) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '结算重量输入错误',
|
|
message: '结算重量输入错误',
|
|
- type: 'warning'
|
|
|
|
|
|
+ type: 'warning',
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -922,13 +941,17 @@ export default {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
if (
|
|
if (
|
|
- this.deductionAmount&&String(this.deductionAmount).indexOf('.') != -1 &&
|
|
|
|
|
|
+ (this.deductionAmount &&
|
|
|
|
+ String(this.deductionAmount).indexOf('.') != -1 &&
|
|
String(this.deductionAmount).length -
|
|
String(this.deductionAmount).length -
|
|
(String(this.deductionAmount).indexOf('.') + 1) >
|
|
(String(this.deductionAmount).indexOf('.') + 1) >
|
|
- 2||this.deductionAmount&&this.deductionAmount>100000||this.deductionAmount&&this.deductionAmount<1) {
|
|
|
|
|
|
+ 2) ||
|
|
|
|
+ (this.deductionAmount && this.deductionAmount > 100000) ||
|
|
|
|
+ (this.deductionAmount && this.deductionAmount < 1)
|
|
|
|
+ ) {
|
|
this.$message({
|
|
this.$message({
|
|
message: '扣款金额输入错误',
|
|
message: '扣款金额输入错误',
|
|
- type: 'warning'
|
|
|
|
|
|
+ type: 'warning',
|
|
})
|
|
})
|
|
return
|
|
return
|
|
}
|
|
}
|
|
@@ -1043,15 +1066,6 @@ export default {
|
|
},
|
|
},
|
|
contractchange(e) {
|
|
contractchange(e) {
|
|
this.contractNo = e
|
|
this.contractNo = e
|
|
- getorder({
|
|
|
|
- contractNo: this.contractNo,
|
|
|
|
- })
|
|
|
|
- .toPromise()
|
|
|
|
- .then((response) => {
|
|
|
|
- if (response != null) {
|
|
|
|
- this.orderList = response
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
updated() {
|
|
updated() {
|
|
@@ -1099,7 +1113,7 @@ export default {
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
searchType: this.searchType,
|
|
searchType: this.searchType,
|
|
contractNo: this.contractNo,
|
|
contractNo: this.contractNo,
|
|
- manualFlag: this. manualFlag,
|
|
|
|
|
|
+ manualFlag: this.manualFlag,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -1120,7 +1134,7 @@ export default {
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
compId: sessionStorage.getItem('ws-pf_compId'),
|
|
currentPage: this.currentPage,
|
|
currentPage: this.currentPage,
|
|
pageSize: this.pageSize,
|
|
pageSize: this.pageSize,
|
|
- roleFlag: this.roleFlag,
|
|
|
|
|
|
+ // roleFlag: this.roleFlag,
|
|
})
|
|
})
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
@@ -1319,6 +1333,11 @@ export default {
|
|
height: 12px;
|
|
height: 12px;
|
|
background: #e9ecf7;
|
|
background: #e9ecf7;
|
|
}
|
|
}
|
|
|
|
+.anniu {
|
|
|
|
+ margin-left: 40%;
|
|
|
|
+ margin-top: -7%;
|
|
|
|
+ margin-bottom: 6%;
|
|
|
|
+}
|
|
// .el-row{
|
|
// .el-row{
|
|
// height: 150px;
|
|
// height: 150px;
|
|
// }
|
|
// }
|