|
@@ -133,24 +133,36 @@
|
|
</ws-form-item>
|
|
</ws-form-item>
|
|
<!--磅单-->
|
|
<!--磅单-->
|
|
<ws-form-item label="磅单:" span="1" prop="loadPoundImg">
|
|
<ws-form-item label="磅单:" span="1" prop="loadPoundImg">
|
|
- <template slot-scope="scope">
|
|
|
|
- <img
|
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
+ <el-upload
|
|
|
|
+ action="https://www.zthymaoyi.com/upload/admin"
|
|
|
|
+ :show-file-list="false"
|
|
|
|
+ :on-success="
|
|
|
|
+ (res, file) => {
|
|
|
|
+ uploadSuccessHandle1(index, res, file)
|
|
|
|
+ }
|
|
|
|
+ "
|
|
|
|
+ class="avatar-uploader"
|
|
|
|
+ accept=".jpg, .jpeg, .png, .gif"
|
|
|
|
+ ><img
|
|
width="18"
|
|
width="18"
|
|
height="20"
|
|
height="20"
|
|
style="
|
|
style="
|
|
- vertical-align: text-top;
|
|
|
|
- position: relative;
|
|
|
|
- top: -1px;
|
|
|
|
- "
|
|
|
|
|
|
+ vertical-align: text-top;
|
|
|
|
+ position: relative;
|
|
|
|
+ "
|
|
src="../../../public/img/fujian.png"
|
|
src="../../../public/img/fujian.png"
|
|
- @click="fujian(scope.row)"
|
|
|
|
- alt
|
|
|
|
|
|
+ alt=""
|
|
/>
|
|
/>
|
|
- <span
|
|
|
|
- v-if="scope.row.loadPoundImgArray.length >0"
|
|
|
|
- >{{scope.row.loadPoundImgArray.length}}</span>
|
|
|
|
- </template>
|
|
|
|
- </ws-form-item>
|
|
|
|
|
|
+ </el-upload>
|
|
|
|
+ <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '未签合同'" class="signStatus">
|
|
|
|
+ {{ item.signStatus }}
|
|
|
|
+ </div>
|
|
|
|
+ <div v-show="item.temporaryDriverFlag == 0 && item.signStatus == '已签合同'" class="signStatus1">
|
|
|
|
+ {{ item.signStatus }}
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </ws-form-item>
|
|
</ws-info-table>
|
|
</ws-info-table>
|
|
</div>
|
|
</div>
|
|
<div
|
|
<div
|
|
@@ -167,7 +179,7 @@
|
|
<script>
|
|
<script>
|
|
import Pagination from '@/components/Pagination'
|
|
import Pagination from '@/components/Pagination'
|
|
import WsUpload from '@/components/WsUpload'
|
|
import WsUpload from '@/components/WsUpload'
|
|
-import { seeCat, packList, feedback } from '@/model/transport/index'
|
|
|
|
|
|
+import { seeCat, packList, feedback,getbank } from '@/model/transport/index'
|
|
// import { dayjs, fmoney, EventBus } from 'base-core-lib'
|
|
// import { dayjs, fmoney, EventBus } from 'base-core-lib'
|
|
import { dayjs, EventBus } from 'base-core-lib'
|
|
import { dayjs, EventBus } from 'base-core-lib'
|
|
export default {
|
|
export default {
|
|
@@ -235,7 +247,7 @@ export default {
|
|
total: function() {
|
|
total: function() {
|
|
var maxStorage = 0
|
|
var maxStorage = 0
|
|
for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
- maxStorage == Number(this.deptBudgetList.tranCarInfoList[i].loadWeight)
|
|
|
|
|
|
+ maxStorage += Number(this.deptBudgetList.tranCarInfoList[i].unloadNetWeight)
|
|
}
|
|
}
|
|
return maxStorage
|
|
return maxStorage
|
|
}
|
|
}
|
|
@@ -254,15 +266,21 @@ export default {
|
|
this.deptBudgetList.tranCarInfoList.splice(index, 1)
|
|
this.deptBudgetList.tranCarInfoList.splice(index, 1)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- fujian(row) {
|
|
|
|
- if (row.loadPoundImg === null || row.loadPoundImg === '') {
|
|
|
|
- EventBus.$emit(
|
|
|
|
- 'warning',
|
|
|
|
- this.$t('system.noticeCircular.NoInformation')
|
|
|
|
- )
|
|
|
|
- } else {
|
|
|
|
- this.accessoryTFs = true
|
|
|
|
- }
|
|
|
|
|
|
+ uploadSuccessHandle1(index, e, fileList) {
|
|
|
|
+ const that = this
|
|
|
|
+ getbank({ bankImg: e.url })
|
|
|
|
+ .toPromise()
|
|
|
|
+ .then((response) => {
|
|
|
|
+ for (var i = 0; i < this.freightspace1.length; i++) {
|
|
|
|
+ if (i == index) {
|
|
|
|
+ this.freightspace1[i].payeeAddressUrl = e.url
|
|
|
|
+ this.freightspace1[i].bankCard = response.bankNo
|
|
|
|
+ this.freightspace1[i].bankDeposit = response.bankName
|
|
|
|
+ this.freightspace1[i].bankDepositBranchList =
|
|
|
|
+ response.bankNameZhihang
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ })
|
|
},
|
|
},
|
|
selectwaterContent() {},
|
|
selectwaterContent() {},
|
|
//提交按钮
|
|
//提交按钮
|
|
@@ -294,6 +312,7 @@ export default {
|
|
this.tranCarInfoList.loadNetWeight = this.deptBudgetList.loadNetWeight
|
|
this.tranCarInfoList.loadNetWeight = this.deptBudgetList.loadNetWeight
|
|
this.tranCarInfoList.tranType = this.tranType
|
|
this.tranCarInfoList.tranType = this.tranType
|
|
this.tranCarInfoList.loadPoundImg = this.deptBudgetList.loadPoundImg
|
|
this.tranCarInfoList.loadPoundImg = this.deptBudgetList.loadPoundImg
|
|
|
|
+ this.tranCarInfoList.unloadNetWeight = this.deptBudgetList.unloadNetWeight
|
|
for (var i = 0; i < this.tranCarInfoList.length; i++) {
|
|
for (var i = 0; i < this.tranCarInfoList.length; i++) {
|
|
this.tranCarInfoList[i].id = this.freightspace[i].id
|
|
this.tranCarInfoList[i].id = this.freightspace[i].id
|
|
if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
|
|
if (this.tranCarInfoList[i].temporaryDriverFlag != 0) {
|