|
@@ -121,17 +121,7 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
</div>
|
|
</div>
|
|
- <!-- 运输单价按钮 -->
|
|
|
|
- <div class="materialDrawer">
|
|
|
|
- <el-form :inline="true" class="demo-form-inline" label-width="80px">
|
|
|
|
- <el-form-item label="运输单价"> </el-form-item>
|
|
|
|
- <el-form-item>
|
|
|
|
- <el-button type="primary" @click="onprice" class="truckBtn"
|
|
|
|
- >浏览</el-button
|
|
|
|
- >
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
- </div>
|
|
|
|
|
|
+
|
|
<!-- 物资和装卸点以及装卸货次序 -->
|
|
<!-- 物资和装卸点以及装卸货次序 -->
|
|
<div class="swtichTop">
|
|
<div class="swtichTop">
|
|
<span class="titile">点击浏览选择物资之前请选择物资单位!</span>
|
|
<span class="titile">点击浏览选择物资之前请选择物资单位!</span>
|
|
@@ -277,35 +267,6 @@
|
|
</div>
|
|
</div>
|
|
</el-drawer>
|
|
</el-drawer>
|
|
</div>
|
|
</div>
|
|
- <!-- 运输单价模态框 -->
|
|
|
|
- <el-drawer
|
|
|
|
- :visible.sync="drawerP"
|
|
|
|
- :direction="direction"
|
|
|
|
- close-on-press-escape
|
|
|
|
- modal
|
|
|
|
- wrapperClosable
|
|
|
|
- size="60%"
|
|
|
|
- >
|
|
|
|
- <div class="selectText">
|
|
|
|
- <el-input v-model="inputP" placeholder="请输入内容" style="width: 240px"></el-input>
|
|
|
|
- <el-button
|
|
|
|
- type="primary"
|
|
|
|
- @click="onpriceSelect"
|
|
|
|
- ><i class="el-icon-search"></i>查询</el-button
|
|
|
|
- >
|
|
|
|
- </div>
|
|
|
|
- <div class="LineTable">
|
|
|
|
- <vue-scroll :ops="ops" style="width:100%;height:100%">
|
|
|
|
- <dilTable
|
|
|
|
- v-bind.sync="priceOptions"
|
|
|
|
- :isKuang="isKuang"
|
|
|
|
- :loading="tableLoading"
|
|
|
|
- :drawer="PriceDrawer"
|
|
|
|
- @func="funcP"
|
|
|
|
- ></dilTable>
|
|
|
|
- </vue-scroll>
|
|
|
|
- </div>
|
|
|
|
- </el-drawer>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="button-box">
|
|
<div class="button-box">
|
|
<el-button type="primary" @click="makeSure">确认新增</el-button>
|
|
<el-button type="primary" @click="makeSure">确认新增</el-button>
|
|
@@ -324,15 +285,6 @@ export default {
|
|
components: { PageTitle },
|
|
components: { PageTitle },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
- //表格加载状态
|
|
|
|
- PriceDrawer:false,
|
|
|
|
- tableLoading: false,
|
|
|
|
- isKuang:false,
|
|
|
|
- priceOptions: {
|
|
|
|
- requestUrl: ""
|
|
|
|
- },
|
|
|
|
- inputP:"",
|
|
|
|
- drawerP:false,
|
|
|
|
aaadrawer: false,
|
|
aaadrawer: false,
|
|
disabled: false,
|
|
disabled: false,
|
|
options6: [
|
|
options6: [
|
|
@@ -934,6 +886,11 @@ export default {
|
|
DueTime = sjTime(this.DueTime);
|
|
DueTime = sjTime(this.DueTime);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ if(this.capacityTypeName == null || this.capacityTypeName == ""){
|
|
|
|
+ this.$message.error("请选择运力类型");
|
|
|
|
+ this.disabled = false;
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if (this.form.capacityType == undefined) {
|
|
if (this.form.capacityType == undefined) {
|
|
this.form.capacityType = "";
|
|
this.form.capacityType = "";
|
|
}
|
|
}
|