|
@@ -28,76 +28,103 @@
|
|
|
:model="deptBudgetList"
|
|
|
>
|
|
|
<div class="small-title" style="font-size: 16px">任务详情</div>
|
|
|
- <h3>移库任务编号</h3>
|
|
|
- <ws-info-table>
|
|
|
- <!--出货库-->
|
|
|
- <div class="line">
|
|
|
- <ws-form-item label="出货库" span="1" prop="sendWarehouse">
|
|
|
- {{ deptBudgetList.sendWarehouse }}
|
|
|
+ <h3>移库任务编号:{{ this.moveTaskNo }}</h3>
|
|
|
+ <div v-for="(item, index) in moveLookData">
|
|
|
+ <ws-info-table class="inout" v-show="item.inOutType == '移库出库'">
|
|
|
+ <!--出货库-->
|
|
|
+ <div class="library">
|
|
|
+ <span style="margin-left: 14px"
|
|
|
+ >出货库:{{ item.sendWarehouse }}</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <!--出库经办人-->
|
|
|
+ <ws-form-item label="出库经办人:" span="1" prop="agent">
|
|
|
+ {{ item.agent }}
|
|
|
</ws-form-item>
|
|
|
- </div>
|
|
|
- <!--出库经办人-->
|
|
|
- <ws-form-item label="出库经办人" span="1" prop="agent">
|
|
|
- {{ deptBudgetList.agent }}
|
|
|
- </ws-form-item>
|
|
|
- <!--出库重量(吨)-->
|
|
|
- <ws-form-item label="出库重量(吨)" span="1" prop="deliveryVolume">
|
|
|
- {{ deptBudgetList.deliveryVolume }}
|
|
|
- </ws-form-item>
|
|
|
- <!--预计出库日期-->
|
|
|
- <ws-form-item label="预计出库日期" span="1" prop="predictDate">
|
|
|
- {{ deptBudgetList.predictDate }}
|
|
|
- </ws-form-item>
|
|
|
- <div class="line">
|
|
|
- <!--入货库-->
|
|
|
- <ws-form-item label="入货库" span="1" prop="receiveWarehouse">
|
|
|
- {{ deptBudgetList.receiveWarehouse }}
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
+ <!--出库重量(吨)-->
|
|
|
+ <ws-form-item label="出库重量(吨):" span="1" prop="deliveryVolume">
|
|
|
+ {{ item.deliveryVolume }}
|
|
|
</ws-form-item>
|
|
|
- </div>
|
|
|
- <!--入库经办人-->
|
|
|
- <ws-form-item label="入库经办人" span="1" prop="agent">
|
|
|
- {{ deptBudgetList.agent }}
|
|
|
- </ws-form-item>
|
|
|
- <!--入库重量(吨)-->
|
|
|
- <ws-form-item label="入库重量(吨)" span="1" prop="storageVolume">
|
|
|
- {{ deptBudgetList.storageVolume }}
|
|
|
- </ws-form-item>
|
|
|
- <!--预计入库日期-->
|
|
|
- <ws-form-item label="预计入库日期" span="1" prop="predictDate">
|
|
|
- {{ deptBudgetList.predictDate }}
|
|
|
- </ws-form-item>
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
+ <!--仓位-->
|
|
|
+ <ws-form-item label="仓位:" span="1" prop="deliveryVolume">
|
|
|
+ {{ item.binNumber }}
|
|
|
+ </ws-form-item>
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
+ <!--预计出库日期-->
|
|
|
+ <ws-form-item label="预计出库日期:" span="1" prop="predictDate">
|
|
|
+ {{ item.predictDate }}
|
|
|
+ </ws-form-item>
|
|
|
+ </ws-info-table>
|
|
|
+ <ws-info-table class="inout" v-show="item.inOutType == '移库入库'">
|
|
|
+ <div class="library">
|
|
|
+ <span style="margin-left: 14px">
|
|
|
+ 入货库:{{ item.receiveWarehouse }}</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ <!--入库经办人-->
|
|
|
+ <ws-form-item label="入库经办人:" span="1" prop="agent">
|
|
|
+ {{ item.agent }}
|
|
|
+ </ws-form-item>
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
+ <!--入库重量(吨)-->
|
|
|
+ <ws-form-item label="入库重量(吨):" span="1" prop="storageVolume">
|
|
|
+ {{ item.storageVolume }}
|
|
|
+ </ws-form-item>
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
+ <!-- 仓位 -->
|
|
|
+ <ws-form-item label="仓位:" span="1" prop="deliveryVolume">
|
|
|
+ {{ item.binNumber }}
|
|
|
+ </ws-form-item>
|
|
|
+ <el-divider direction="vertical" class="line"></el-divider>
|
|
|
+ <!--预计入库日期-->
|
|
|
+ <ws-form-item label="预计入库日期:" span="1" prop="predictDate">
|
|
|
+ {{ item.predictDate }}
|
|
|
+ </ws-form-item>
|
|
|
+ </ws-info-table>
|
|
|
+ </div>
|
|
|
+ <ws-info-table class="goods">
|
|
|
<!--货物信息-->
|
|
|
-
|
|
|
- <span style="line-height: 50px; text-align: center; color: #8890b1"
|
|
|
- >货物信息</span
|
|
|
- >
|
|
|
+ <div class="library">
|
|
|
+ <span style="line-height: 50px; color: #8890b1; margin-left: 14px"
|
|
|
+ >货物信息</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!--
|
|
|
+ > -->
|
|
|
<!-- <ws-form-item label="货物信息" span="1" prop="sendDetailedAddress">
|
|
|
</ws-form-item> -->
|
|
|
- <el-input placeholder="请输入内容" :disabled="true"> </el-input>
|
|
|
- <el-input placeholder="请输入内容" :disabled="true"> </el-input>
|
|
|
- <el-input placeholder="请输入内容" :disabled="true"> </el-input>
|
|
|
- <el-input placeholder="请输入内容" :disabled="true"> </el-input>
|
|
|
- <el-input placeholder="请输入内容" :disabled="true"> </el-input>
|
|
|
- <el-input placeholder="请输入内容" :disabled="true"> </el-input>
|
|
|
- <span style="line-height: 40px; text-align: center; color: #8890b1"
|
|
|
- >业务描述</span
|
|
|
- >
|
|
|
- <!--业务描述-->
|
|
|
- <ws-input
|
|
|
- v-model="deptBudgetList.remarks"
|
|
|
- type="textarea"
|
|
|
- row="3"
|
|
|
- placeholder="请输入备注信息,不超过200字"
|
|
|
- maxlength="200"
|
|
|
- />
|
|
|
-
|
|
|
+ <el-input placeholder="请输入内容" :disabled="true" v-model="this.moveLookData[0].goodsName"></el-input>
|
|
|
+ <el-divider direction="vertical" class="line1"></el-divider>
|
|
|
+ <el-input placeholder="请输入内容" :disabled="true" v-model="this.moveLookData[0].grade"></el-input>
|
|
|
+ <el-divider direction="vertical" class="line1"></el-divider>
|
|
|
+ <el-input placeholder="请输入内容" :disabled="true" v-model="this.moveLookData[0].bulkDensity "> </el-input>
|
|
|
+ <el-divider direction="vertical" class="line1"></el-divider>
|
|
|
+ <el-input placeholder="请输入内容" :disabled="true" v-model="this.moveLookData[0].waterContent"> </el-input>
|
|
|
+ <el-divider direction="vertical" class="line1"></el-divider>
|
|
|
+ <el-input placeholder="请输入内容" :disabled="true" v-model="this.moveLookData[0].weight"> </el-input>
|
|
|
+ <el-divider direction="vertical" class="line1"></el-divider>
|
|
|
+ <el-input placeholder="请输入内容" :disabled="true" v-model="this.moveLookData[0].unitPrice"> </el-input>
|
|
|
</ws-info-table>
|
|
|
+ <span style="line-height: 40px; text-align: center; color: #8890b1"
|
|
|
+ >业务描述:</span
|
|
|
+ >
|
|
|
+ <!--业务描述-->
|
|
|
+ <ws-input
|
|
|
+ v-model="this.moveLookData[0].businessDescribe"
|
|
|
+ type="textarea"
|
|
|
+ row="3"
|
|
|
+ placeholder="请输入备注信息,不超过200字"
|
|
|
+ maxlength="200"
|
|
|
+ />
|
|
|
|
|
|
<div class="small-title" style="font-size: 16px">实际流转数量</div>
|
|
|
|
|
|
- <ws-info-table>
|
|
|
+ <ws-info-table class="flow">
|
|
|
<!--累计出库量(吨)-->
|
|
|
- <ws-form-item label="累计出库量(吨)" span="1" prop="driver">
|
|
|
+ <!-- <ws-form-item label="累计出库量(吨)" span="1" prop="driver">
|
|
|
<ws-input
|
|
|
v-model="deptBudgetList.driverPhone"
|
|
|
readonly
|
|
@@ -106,9 +133,9 @@
|
|
|
maxlength="20"
|
|
|
size="small"
|
|
|
/>
|
|
|
- </ws-form-item>
|
|
|
+ </ws-form-item> -->
|
|
|
<!--累计入库量(吨)-->
|
|
|
- <ws-form-item label="累计入库量(吨)" span="1" prop="driverPhone">
|
|
|
+ <!-- <ws-form-item label="累计入库量(吨)" span="1" prop="driverPhone">
|
|
|
<ws-input
|
|
|
v-model="deptBudgetList.driverPhone"
|
|
|
readonly
|
|
@@ -117,9 +144,9 @@
|
|
|
maxlength="20"
|
|
|
size="small"
|
|
|
/>
|
|
|
- </ws-form-item>
|
|
|
+ </ws-form-item> -->
|
|
|
<!--累计运输损耗(吨)-->
|
|
|
- <ws-form-item label="累计运输损耗(吨)" span="1" prop="sendDateStart">
|
|
|
+ <!-- <ws-form-item label="累计运输损耗(吨)" span="1" prop="sendDateStart">
|
|
|
<ws-input
|
|
|
v-model="deptBudgetList.driverPhone"
|
|
|
readonly
|
|
@@ -128,8 +155,16 @@
|
|
|
maxlength="20"
|
|
|
size="small"
|
|
|
/>
|
|
|
- </ws-form-item>
|
|
|
- <!--累计退库量(吨)-->
|
|
|
+ </ws-form-item> -->
|
|
|
+ <el-table :data="tableData" height="100" border style="width: 100%">
|
|
|
+ <el-table-column prop="date" label="累计出库量(吨)" >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="name" label="累计入库量(吨)" >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="address" label="累计运输损耗(吨)">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <!-- 累计退库量(吨)
|
|
|
<ws-form-item label="累计退库量(吨)" span="1" prop="stockReturnCount">
|
|
|
<ws-input
|
|
|
v-model="deptBudgetList.stockReturnCount"
|
|
@@ -139,8 +174,16 @@
|
|
|
maxlength="20"
|
|
|
size="small"
|
|
|
/>
|
|
|
- </ws-form-item>
|
|
|
+ </ws-form-item> -->
|
|
|
+ <ws-info-table class="flow">
|
|
|
+ </ws-info-table >
|
|
|
+ <el-table :data="tableData" height="100" border style="width: 33%">
|
|
|
+ <el-table-column prop="date" label="累计退库量(吨)" >
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ </el-table>
|
|
|
</ws-info-table>
|
|
|
+
|
|
|
</ws-form>
|
|
|
|
|
|
<!-- 提交 -->
|
|
@@ -149,16 +192,14 @@
|
|
|
class="bg-bottom"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
- @click="submit(deptBudgetList)"
|
|
|
- >提交</el-button
|
|
|
+ @click="returnsales"
|
|
|
+ >关闭</el-button
|
|
|
>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
-import { regionData, CodeToText, TextToCode } from 'element-china-area-data'
|
|
|
-import { seeCat, dispatchCat, packList } from '@/model/transport/index'
|
|
|
-import { getstaff } from '@/model/warehouse/index'
|
|
|
+import { moveLook } from '@/model/tasksport/index'
|
|
|
import WsUpload from '@/components/WsUpload'
|
|
|
import mapDrag from '@/components/mapdrag/mapdrag'
|
|
|
export default {
|
|
@@ -180,19 +221,7 @@ export default {
|
|
|
deptBudgetList: {
|
|
|
totalStorage: 0,
|
|
|
},
|
|
|
- options_: regionData,
|
|
|
- heightData: '600px',
|
|
|
- zoom: 7,
|
|
|
- selectedOptions: [],
|
|
|
- center: [116.244694, 39.517344],
|
|
|
- window: '',
|
|
|
- radio: 1,
|
|
|
- personCharge: [],
|
|
|
- district: null,
|
|
|
- driverList: [],
|
|
|
listDate: { country: '中国', level: 'country', city: '' },
|
|
|
- citylist: [],
|
|
|
- compId: sessionStorage.getItem('ws-pf_compId'),
|
|
|
tranType: 2,
|
|
|
rules: {
|
|
|
warehouseName: [
|
|
@@ -211,69 +240,27 @@ export default {
|
|
|
},
|
|
|
appendixIdsAdd: '',
|
|
|
size: 10,
|
|
|
- value1: '',
|
|
|
unitList: [],
|
|
|
- freightspace: [
|
|
|
- // {
|
|
|
- // trainNo: '',
|
|
|
- // },
|
|
|
- ],
|
|
|
name: '',
|
|
|
- list: [],
|
|
|
- staffList: [],
|
|
|
- options: [],
|
|
|
- carModel: [],
|
|
|
- tranCarInfoList: {},
|
|
|
- arr: [],
|
|
|
+ moveLookData: [],
|
|
|
+ moveTaskNo: '',
|
|
|
}
|
|
|
},
|
|
|
- mounted() {
|
|
|
- this.deptBudgetList.id = this.$route.query.id
|
|
|
+
|
|
|
+ activated() {
|
|
|
+ this.moveTaskNo = this.$route.query.moveTaskNo
|
|
|
this.getList()
|
|
|
},
|
|
|
- computed: {
|
|
|
- totalStorage: function () {
|
|
|
- var maxStorage = 0
|
|
|
- for (var i = 0; i < this.freightspace.length; i++) {
|
|
|
- maxStorage += Number(this.freightspace[i].maxStorage)
|
|
|
- }
|
|
|
- return maxStorage
|
|
|
- },
|
|
|
+ mounted() {
|
|
|
+ this.moveTaskNo = this.$route.query.moveTaskNo
|
|
|
+ this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
- dataFilter(val) {
|
|
|
- this.deptBudgetList.personCharge = val
|
|
|
- if (val) {
|
|
|
- this.options = this.staffList.filter((item) => {
|
|
|
- if (
|
|
|
- !!~item.staffName.indexOf(val) ||
|
|
|
- !!~item.staffName.toUpperCase().indexOf(val.toUpperCase())
|
|
|
- ) {
|
|
|
- return true
|
|
|
- }
|
|
|
- })
|
|
|
- } else {
|
|
|
- this.options = this.staffList
|
|
|
- }
|
|
|
- },
|
|
|
- selectstaff(e) {
|
|
|
- for (var i = 0; i < this.staffList.length; i++) {
|
|
|
- if (this.staffList[i].staffName == e) {
|
|
|
- this.deptBudgetList.driverPhone = this.staffList[i].staffMobilePhone
|
|
|
- this.deptBudgetList.tranCarInfoList[0].driverPhone =
|
|
|
- this.staffList[i].staffMobilePhone
|
|
|
- this.deptBudgetList.personChargeKey = this.staffList[i].staffId
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
marker: function (item) {
|
|
|
this.deptBudgetList.warehousePositioning =
|
|
|
item.lnglat.lat + ',' + item.lnglat.lng
|
|
|
},
|
|
|
- selectedAddress(e) {
|
|
|
- this.deptBudgetList.warehousePositioning =
|
|
|
- e.center.lat + ',' + e.center.lng
|
|
|
- },
|
|
|
+
|
|
|
confirmPositioncity() {
|
|
|
this.listDate.level = 'city'
|
|
|
this.listDate.country = this.name
|
|
@@ -282,186 +269,26 @@ export default {
|
|
|
handleClose() {
|
|
|
this.dialogViewSpareMoney = false
|
|
|
},
|
|
|
- add() {
|
|
|
- this.freightspace.push({
|
|
|
- trainNo: '',
|
|
|
- })
|
|
|
- },
|
|
|
- del(index) {
|
|
|
- if (this.freightspace.length > 1) {
|
|
|
- this.freightspace.splice(index, 1)
|
|
|
- }
|
|
|
- },
|
|
|
- //下拉司机姓名改变事件
|
|
|
- selectdriver() {},
|
|
|
- handleChange(value) {
|
|
|
- this.selectedOptions = value
|
|
|
- },
|
|
|
returnsales() {
|
|
|
- this.deptBudgetList = {}
|
|
|
- this.freightspace = {}
|
|
|
- this.selectedOptions = ''
|
|
|
- this.$router.push({ path: 'tranManagementTransporTationFire' })
|
|
|
+ this.moveLookData = []
|
|
|
+ this.$router.go(-1)
|
|
|
},
|
|
|
- // confirmPosition() {
|
|
|
- // this.draggable = false
|
|
|
- // },
|
|
|
+
|
|
|
// 上传附件
|
|
|
uploadSuccess(data, files, url) {
|
|
|
console.log(data, files, url)
|
|
|
},
|
|
|
- submit() {
|
|
|
- for (var i = 0; i < this.deptBudgetList.tranCarInfoList.length; i++) {
|
|
|
- if (!this.deptBudgetList.tranCarInfoList[i].driver) {
|
|
|
- this.$message({
|
|
|
- message: '姓名不能为空!',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (!this.deptBudgetList.tranCarInfoList[i].driverPhone) {
|
|
|
- this.$message({
|
|
|
- message: '电话不能为空!',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (!this.deptBudgetList.tranCarInfoList[i].sendDateStart) {
|
|
|
- this.$message({
|
|
|
- message: '发车日期不能为空!',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (!this.deptBudgetList.tranCarInfoList[i].receiveDateEnd) {
|
|
|
- this.$message({
|
|
|
- message: '到站日期不能为空',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (
|
|
|
- new Date(
|
|
|
- this.deptBudgetList.tranCarInfoList[i].sendDateStart
|
|
|
- ).getTime() >
|
|
|
- new Date(
|
|
|
- this.deptBudgetList.tranCarInfoList[i].receiveDateEnd
|
|
|
- ).getTime()
|
|
|
- ) {
|
|
|
- this.$message({
|
|
|
- message: '发车时间不能大于到站时间!',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- if (!this.deptBudgetList.tranCarInfoList[i].carModel) {
|
|
|
- this.$message({
|
|
|
- message: '车型不能为空!',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
- for (var j = 0; j < this.freightspace.length; j++) {
|
|
|
- if (!this.freightspace[j].trainNo) {
|
|
|
- this.$message({
|
|
|
- message: '车厢号不能为空',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- this.$confirm(`提交成功后,任务将下发给相关人员,是否确定提交?`, {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning',
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.$refs.deptBudgetList.validate((valid) => {
|
|
|
- if (valid) {
|
|
|
- for (var i = 0; i < this.freightspace.length; i++) {
|
|
|
- var num = this.freightspace[i].trainNo
|
|
|
- this.arr.push(num)
|
|
|
- }
|
|
|
- this.deptBudgetList.totalStorage = this.totalStorage
|
|
|
- this.tranCarInfoList.driver = this.deptBudgetList.driver
|
|
|
- this.tranCarInfoList.driverPhone = this.deptBudgetList.driverPhone
|
|
|
- this.tranCarInfoList.sendDateStart =
|
|
|
- this.deptBudgetList.sendDateStart
|
|
|
- this.tranCarInfoList.receiveDateEnd =
|
|
|
- this.deptBudgetList.receiveDateEnd
|
|
|
- this.tranCarInfoList.carModel = this.deptBudgetList.carModel
|
|
|
- this.tranCarInfoList.id =
|
|
|
- this.deptBudgetList.tranCarInfoList[0].id
|
|
|
- this.tranCarInfoList.tranType = this.tranType
|
|
|
- this.tranCarInfoList.boxNo = this.arr.toString()
|
|
|
- var tranCarInfo = {}
|
|
|
- var tranList = [this.tranCarInfoList]
|
|
|
- tranCarInfo.id = this.deptBudgetList.id
|
|
|
- tranCarInfo.infoId = this.deptBudgetList.infoId
|
|
|
- tranCarInfo.tranCarInfoList = tranList
|
|
|
- // dispatchCat({tranCarInfo:{tranCarInfoList:[this.tranCarInfoList],id:this.deptBudgetList.id}
|
|
|
- dispatchCat(tranCarInfo)
|
|
|
- .toPromise()
|
|
|
- .then((response) => {
|
|
|
- this.$message.success('添加成功')
|
|
|
- this.deptBudgetList = {}
|
|
|
- this.freightspace = {}
|
|
|
- this.selectedOptions = ''
|
|
|
- this.$router.push({
|
|
|
- path: 'tranManagementTransporTationFire',
|
|
|
- })
|
|
|
- })
|
|
|
- } else {
|
|
|
- // EventBus.$emit('error', this.$t('showMessage.asteriskRequired'))
|
|
|
- return false
|
|
|
- }
|
|
|
- })
|
|
|
- })
|
|
|
- .catch(() => {
|
|
|
- return false
|
|
|
- })
|
|
|
- },
|
|
|
resetForm(deptBudgetList) {
|
|
|
this.$refs[deptBudgetList].resetFields()
|
|
|
},
|
|
|
|
|
|
getList() {
|
|
|
- seeCat({ id: this.deptBudgetList.id })
|
|
|
+ moveLook({ moveTaskNo: this.moveTaskNo })
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- this.deptBudgetList = response
|
|
|
- if (response.tranCarInfoList[0].boxNo) {
|
|
|
- this.list = response.tranCarInfoList[0].boxNo.split(',')
|
|
|
- for (var i = 0; i < this.list.length; i++) {
|
|
|
- var num = this.list[i]
|
|
|
- this.freightspace.push({
|
|
|
- trainNo: num,
|
|
|
- })
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- //司机姓名下拉
|
|
|
- getstaff({ compId: sessionStorage.getItem('ws-pf_compId') })
|
|
|
- .toPromise()
|
|
|
- .then((response) => {
|
|
|
- this.options = response
|
|
|
- this.staffList = response
|
|
|
- // this.deptBudgetList.tranCarInfoList.driverPhone = response
|
|
|
- })
|
|
|
- //车型
|
|
|
- packList({ constId: 'TRAN5' })
|
|
|
- .toPromise()
|
|
|
- .then((response) => {
|
|
|
- this.carModel = response
|
|
|
+ this.moveLookData = response
|
|
|
})
|
|
|
},
|
|
|
- handleExamine() {},
|
|
|
- approve() {},
|
|
|
- // returnsales() {
|
|
|
- // this.$router.push({ path: 'purchaseContract' })
|
|
|
- // },
|
|
|
selectChapterTwo(e) {
|
|
|
for (var i = 0; i < this.ChapterTwoList.length; i++) {
|
|
|
if (this.ChapterTwoList[i].constValue == e) {
|
|
@@ -497,36 +324,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- // 编辑
|
|
|
- editClick(item, index) {
|
|
|
- const map = JSON.parse(JSON.stringify(item))
|
|
|
- if (Object.is(item.id, 1)) {
|
|
|
- return
|
|
|
- }
|
|
|
- if (Object.is(this.unitList[index].flag, 'delete')) {
|
|
|
- map.flag = 'check'
|
|
|
- this.$set(this.unitList, index, map)
|
|
|
- } else {
|
|
|
- map.flag = 'delete'
|
|
|
- this.$set(this.unitList, index, map)
|
|
|
- }
|
|
|
- },
|
|
|
- // 删除
|
|
|
- deleteClick(item, index) {
|
|
|
- if (Object.is(item.constKey, 1)) {
|
|
|
- return
|
|
|
- }
|
|
|
- if (!item.constValue) {
|
|
|
- this.unitList.splice(index, 1)
|
|
|
- return
|
|
|
- }
|
|
|
- delxiala({ id: this.unitList[index].id })
|
|
|
- .toPromise()
|
|
|
- .then((response) => {
|
|
|
- this.getUnitList()
|
|
|
- this.pleaseChoose = ''
|
|
|
- })
|
|
|
- },
|
|
|
},
|
|
|
}
|
|
|
</script>
|
|
@@ -557,9 +354,7 @@ export default {
|
|
|
padding: 0 15%;
|
|
|
}
|
|
|
/deep/.ws-info-table .el-form-item {
|
|
|
- border-right: 1px solid transparent;
|
|
|
- border-bottom: 1px solid transparent;
|
|
|
- width: 33.333%;
|
|
|
+ width: 23%;
|
|
|
border: none;
|
|
|
height: 50px;
|
|
|
}
|
|
@@ -594,10 +389,11 @@ export default {
|
|
|
.el-col {
|
|
|
background: #f6f7fc;
|
|
|
}
|
|
|
+
|
|
|
/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
- padding: 0 25px;
|
|
|
- border-left: 1px solid transparent;
|
|
|
- background: #fff;
|
|
|
+ border: none;
|
|
|
+ font-size: 14px;
|
|
|
+ // color: #8890b1;
|
|
|
}
|
|
|
/deep/.ws-info-table .el-form-item .el-form-item__label {
|
|
|
width: 100px;
|
|
@@ -605,9 +401,9 @@ export default {
|
|
|
background: #fff;
|
|
|
font-size: 14px;
|
|
|
font-weight: 400;
|
|
|
- color: #8890b1;
|
|
|
+ // color: #8890b1;
|
|
|
line-height: 16px;
|
|
|
- width: 30%;
|
|
|
+ width: 40%;
|
|
|
}
|
|
|
|
|
|
.button-container {
|
|
@@ -775,33 +571,55 @@ export default {
|
|
|
border-top: 0px;
|
|
|
}
|
|
|
|
|
|
-/deep/.ws-info-table .el-form-item .el-form-item__content {
|
|
|
- background: #f5f7fa;
|
|
|
- border-radius: 4px;
|
|
|
- border: 1px solid #d8dce6;
|
|
|
- margin-bottom: 5px;
|
|
|
- font-size: 14px;
|
|
|
- font-weight: 400;
|
|
|
- color: #8890b1;
|
|
|
- line-height: 16px;
|
|
|
-}
|
|
|
//输入框
|
|
|
/deep/.el-input {
|
|
|
- width: 15%;
|
|
|
+ width: 14.4%;
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
/deep/.is-disabled .el-input__inner {
|
|
|
height: 40px;
|
|
|
- background: #f5f7fa;
|
|
|
- margin-left: 10px;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
-.line {
|
|
|
+.library {
|
|
|
width: 100%;
|
|
|
+ height: 50px;
|
|
|
+ border-bottom: 1px solid #d8dce6;
|
|
|
+ color: #232323;
|
|
|
+ line-height: 50px;
|
|
|
+}
|
|
|
+.line {
|
|
|
+ height: 50px;
|
|
|
+ left: -80px;
|
|
|
+}
|
|
|
+.line1 {
|
|
|
+ height: 50px;
|
|
|
}
|
|
|
-
|
|
|
//业务描述
|
|
|
/deep/.el-textarea {
|
|
|
width: 90%;
|
|
|
margin-left: 24px;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+.inout {
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid #d8dce6;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+.goods {
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid #d8dce6;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+.flow {
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid #d8dce6;
|
|
|
+ margin-top: 20px;
|
|
|
+}
|
|
|
+/deep/.flow .el-form-item {
|
|
|
+ display: inline-grid;
|
|
|
+ border-bottom: 1px solid #d8dce6;
|
|
|
+ width: 30%;
|
|
|
+ height: 50px;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
</style>
|