Browse Source

1.去除多余form

dev-warehouse
0.0 2 years ago
parent
commit
df18cd6539
  1. 20
      src/views/basicdata/driverArtery/basicdataDriverArtery.vue
  2. 64
      src/views/distribution/deliverylist/distributionDeliveryList.vue
  3. 62
      src/views/distribution/deliverylist/distributionDeliveryList2.vue
  4. 62
      src/views/distribution/deliverylist/distributionDeliveryList3.vue

20
src/views/basicdata/driverArtery/basicdataDriverArtery.vue

@ -184,16 +184,16 @@
}, },
}, },
{ // {
label: "姓名", // label: "",
prop: "name", // prop: "name",
type: "input", // type: "input",
search: true, // search: true,
labelWidth:'150', // labelWidth:'150',
width:"100px", // width:"100px",
align:'center', // align:'center',
span:11, // span:11,
}, // },
{ {
label: "手机号码", label: "手机号码",
prop: "phone", prop: "phone",

64
src/views/distribution/deliverylist/distributionDeliveryList.vue

@ -83,64 +83,6 @@
</div> </div>
</el-row> </el-row>
<!-- 表单模块 --> <!-- 表单模块 -->
<el-dialog :title="title"
v-model="box"
width="50%"
:before-close="beforeClose"
append-to-body>
<el-form :disabled="view" ref="form" :model="form" label-width="80px">
<!-- 表单字段 -->
<el-form-item label="车次" prop="trainNumber">
<el-input v-model="form.trainNumber" placeholder="请输入车次"/>
</el-form-item>
<el-form-item label="仓库" prop="warehouse">
<el-input v-model="form.warehouse" placeholder="请输入仓库"/>
</el-form-item>
<el-form-item label="配送类型;1-自主配送,2-三方配送" prop="type">
<el-input v-model="form.type" placeholder="请输入配送类型;1-自主配送,2-三方配送"/>
</el-form-item>
<el-form-item label="配送种类;1-市配,2-商配" prop="kind">
<el-input v-model="form.kind" placeholder="请输入配送种类;1-市配,2-商配"/>
</el-form-item>
<el-form-item label="配送车辆" prop="vehicleName">
<el-input v-model="form.vehicle" placeholder="请输入配送车辆"/>
</el-form-item>
<el-form-item label="配送司机" prop="driverName">
<el-input v-model="form.driver" placeholder="请输入配送司机"/>
</el-form-item>
<el-form-item label="配送公司;1-货拉拉,2-京东" prop="distributionCompany">
<el-input v-model="form.distributionCompany" placeholder="请输入配送公司;1-货拉拉,2-京东"/>
</el-form-item>
<el-form-item label="配送状态;1-配送中,2-已完成" prop="state">
<el-input v-model="form.state" placeholder="请输入配送状态;1-配送中,2-已完成"/>
</el-form-item>
<el-form-item label="配送客户数" prop="customersNumber">
<el-input v-model="form.customersNumber" placeholder="请输入配送客户数"/>
</el-form-item>
<el-form-item label="配送价格" prop="price">
<el-input v-model="form.price" placeholder="请输入配送价格"/>
</el-form-item>
<el-form-item label="订单总数" prop="orderNumber">
<el-input v-model="form.orderNumber" placeholder="请输入订单总数"/>
</el-form-item>
<el-form-item label="配送件数" prop="deliveryNumber">
<el-input v-model="form.deliveryNumber" placeholder="请输入配送件数"/>
</el-form-item>
<el-form-item label="扫描件数" prop="scannedNumber">
<el-input v-model="form.scannedNumber" placeholder="请输入扫描件数"/>
</el-form-item>
<el-form-item label="装卸班组" prop="loadingTeamName">
<el-input v-model="form.loadingTeam" placeholder="请输入装卸班组"/>
</el-form-item>
</el-form>
<!-- 表单按钮 -->
<template #footer>
<span v-if="!view" class="dialog-footer">
<el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit"> </el-button>
<el-button icon="el-icon-circle-close" @click="box = false"> </el-button>
</span>
</template>
</el-dialog>
</div> </div>
</basic-container> </basic-container>
</template> </template>
@ -381,9 +323,9 @@ export default {
getstatistics(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getstatistics(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.statistics = res.data.data this.statistics = res.data.data
}); });
getDetail(row.id).then(res => { // getDetail(row.id).then(res => {
this.form = res.data.data; // this.form = res.data.data;
}); // });
} }
} }
}; };

62
src/views/distribution/deliverylist/distributionDeliveryList2.vue

@ -87,64 +87,6 @@
</div> </div>
</el-row> </el-row>
<!-- 表单模块 --> <!-- 表单模块 -->
<el-dialog :title="title"
v-model="box"
width="50%"
:before-close="beforeClose"
append-to-body>
<el-form :disabled="view" ref="form" :model="form" label-width="80px">
<!-- 表单字段 -->
<el-form-item label="车次" prop="trainNumber">
<el-input v-model="form.trainNumber" placeholder="请输入车次"/>
</el-form-item>
<el-form-item label="仓库" prop="warehouse">
<el-input v-model="form.warehouse" placeholder="请输入仓库"/>
</el-form-item>
<el-form-item label="配送类型;1-自主配送,2-三方配送" prop="type">
<el-input v-model="form.type" placeholder="请输入配送类型;1-自主配送,2-三方配送"/>
</el-form-item>
<el-form-item label="配送种类;1-市配,2-商配" prop="kind">
<el-input v-model="form.kind" placeholder="请输入配送种类;1-市配,2-商配"/>
</el-form-item>
<el-form-item label="配送车辆" prop="vehicle">
<el-input v-model="form.vehicle" placeholder="请输入配送车辆"/>
</el-form-item>
<el-form-item label="配送司机" prop="driver">
<el-input v-model="form.driver" placeholder="请输入配送司机"/>
</el-form-item>
<el-form-item label="配送公司;1-货拉拉,2-京东" prop="distributionCompany">
<el-input v-model="form.distributionCompany" placeholder="请输入配送公司;1-货拉拉,2-京东"/>
</el-form-item>
<el-form-item label="配送状态;1-配送中,2-已完成" prop="state">
<el-input v-model="form.state" placeholder="请输入配送状态;1-配送中,2-已完成"/>
</el-form-item>
<el-form-item label="配送客户数" prop="customersNumber">
<el-input v-model="form.customersNumber" placeholder="请输入配送客户数"/>
</el-form-item>
<el-form-item label="配送价格" prop="price">
<el-input v-model="form.price" placeholder="请输入配送价格"/>
</el-form-item>
<el-form-item label="订单总数" prop="orderNumber">
<el-input v-model="form.orderNumber" placeholder="请输入订单总数"/>
</el-form-item>
<el-form-item label="配送件数" prop="deliveryNumber">
<el-input v-model="form.deliveryNumber" placeholder="请输入配送件数"/>
</el-form-item>
<el-form-item label="扫描件数" prop="scannedNumber">
<el-input v-model="form.scannedNumber" placeholder="请输入扫描件数"/>
</el-form-item>
<el-form-item label="装卸班组" prop="loadingTeam">
<el-input v-model="form.loadingTeam" placeholder="请输入装卸班组"/>
</el-form-item>
</el-form>
<!-- 表单按钮 -->
<template #footer>
<span v-if="!view" class="dialog-footer">
<el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit"> </el-button>
<el-button icon="el-icon-circle-close" @click="box = false"> </el-button>
</span>
</template>
</el-dialog>
</div> </div>
</basic-container> </basic-container>
</template> </template>
@ -386,9 +328,7 @@ export default {
getstatistics(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getstatistics(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.statistics = res.data.data this.statistics = res.data.data
}); });
getDetail(row.id).then(res => {
this.form = res.data.data;
});
} }
} }
}; };

62
src/views/distribution/deliverylist/distributionDeliveryList3.vue

@ -85,64 +85,6 @@
</div> </div>
</el-row> </el-row>
<!-- 表单模块 --> <!-- 表单模块 -->
<el-dialog :title="title"
v-model="box"
width="50%"
:before-close="beforeClose"
append-to-body>
<el-form :disabled="view" ref="form" :model="form" label-width="80px">
<!-- 表单字段 -->
<el-form-item label="车次" prop="trainNumber">
<el-input v-model="form.trainNumber" placeholder="请输入车次"/>
</el-form-item>
<el-form-item label="仓库" prop="warehouse">
<el-input v-model="form.warehouse" placeholder="请输入仓库"/>
</el-form-item>
<el-form-item label="配送类型;1-自主配送,2-三方配送" prop="type">
<el-input v-model="form.type" placeholder="请输入配送类型;1-自主配送,2-三方配送"/>
</el-form-item>
<el-form-item label="配送种类;1-市配,2-商配" prop="kind">
<el-input v-model="form.kind" placeholder="请输入配送种类;1-市配,2-商配"/>
</el-form-item>
<el-form-item label="配送车辆" prop="vehicle">
<el-input v-model="form.vehicle" placeholder="请输入配送车辆"/>
</el-form-item>
<el-form-item label="配送司机" prop="driver">
<el-input v-model="form.driver" placeholder="请输入配送司机"/>
</el-form-item>
<el-form-item label="配送公司;1-货拉拉,2-京东" prop="distributionCompany">
<el-input v-model="form.distributionCompany" placeholder="请输入配送公司;1-货拉拉,2-京东"/>
</el-form-item>
<el-form-item label="配送状态;1-配送中,2-已完成" prop="state">
<el-input v-model="form.state" placeholder="请输入配送状态;1-配送中,2-已完成"/>
</el-form-item>
<el-form-item label="配送客户数" prop="customersNumber">
<el-input v-model="form.customersNumber" placeholder="请输入配送客户数"/>
</el-form-item>
<el-form-item label="配送价格" prop="price">
<el-input v-model="form.price" placeholder="请输入配送价格"/>
</el-form-item>
<el-form-item label="订单总数" prop="orderNumber">
<el-input v-model="form.orderNumber" placeholder="请输入订单总数"/>
</el-form-item>
<el-form-item label="配送件数" prop="deliveryNumber">
<el-input v-model="form.deliveryNumber" placeholder="请输入配送件数"/>
</el-form-item>
<el-form-item label="扫描件数" prop="scannedNumber">
<el-input v-model="form.scannedNumber" placeholder="请输入扫描件数"/>
</el-form-item>
<el-form-item label="装卸班组" prop="loadingTeam">
<el-input v-model="form.loadingTeam" placeholder="请输入装卸班组"/>
</el-form-item>
</el-form>
<!-- 表单按钮 -->
<template #footer>
<span v-if="!view" class="dialog-footer">
<el-button type="primary" icon="el-icon-circle-check" @click="handleSubmit"> </el-button>
<el-button icon="el-icon-circle-close" @click="box = false"> </el-button>
</span>
</template>
</el-dialog>
</div> </div>
</basic-container> </basic-container>
</template> </template>
@ -384,9 +326,7 @@ export default {
getstatistics(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { getstatistics(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => {
this.statistics = res.data.data this.statistics = res.data.data
}); });
getDetail(row.id).then(res => {
this.form = res.data.data;
});
} }
} }
}; };

Loading…
Cancel
Save