物流管理-关闭物流传参错误问题,

master
17600048398 2023-03-14 09:10:18 +08:00
parent f4ddeaa5c5
commit b51040c73e
3 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@
<InputNumber :min="1" :max="365" style="width:100px;" v-model="form.distributionDay"></InputNumber>
</FormItem>
<FormItem label="分销结算天数" prop="cashDay">
<InputNumber :min="1" :max="365" style="width:100px;" v-model="form.cashDay"></InputNumber>
<InputNumber :min="0" :max="365" style="width:100px;" v-model="form.cashDay"></InputNumber>
</FormItem>
<FormItem>
<Button type="primary" @click="submit"></Button>

View File

@ -33,7 +33,7 @@
</div>
</div>
<div class="nav-con">
<div class="all-categories">全部商品分类</div>
<div class="all-categories">全部商品分类11</div>
<ul class="nav-item">
<li v-for="(item, index) in navList.list" :key="index">
<a href="#">{{ item.name }}</a>

View File

@ -139,7 +139,7 @@ export default {
minWidth: 120,
sortable: true,
render: (h, params) => {
if (params.row.selected === null || params.row.selected === "") {
if (!params.row.selected) {
return h("div", [h("tag", {props: {color: "volcano"}}, "关闭")]);
} else {
return h("div", [h("tag", {props: {color: "green"}}, "开启")]);
@ -152,7 +152,7 @@ export default {
align: "center",
width: 200,
render: (h, params) => {
if (params.row.selected === null) {
if (!params.row.selected) {
return h("div", [
h(
"Button",
@ -301,7 +301,7 @@ export default {
},
submit() {
if ( this.row.selected === null || this.row.selected === "") {
if ( !this.row.selected) {
API_Shop.logisticsChecked(
this.row.logisticsId,
this.faceSheetForm