|
@@ -111,7 +111,6 @@
|
|
</div>
|
|
</div>
|
|
<!-- 选择物料 -->
|
|
<!-- 选择物料 -->
|
|
<productModal ref="product" :mulit="true" @confirm="confirmProduct" />
|
|
<productModal ref="product" :mulit="true" @confirm="confirmProduct" />
|
|
- <!-- <productDialog ref="product" :mulit="true" @confirm="confirmProduct" /> -->
|
|
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
@@ -121,6 +120,7 @@
|
|
import ForTab from "@/components/ForTab/index.vue";
|
|
import ForTab from "@/components/ForTab/index.vue";
|
|
import productModal from "../orderTask/components/productModal.vue";
|
|
import productModal from "../orderTask/components/productModal.vue";
|
|
import brandType from "./components/brandType.vue";
|
|
import brandType from "./components/brandType.vue";
|
|
|
|
+ import selectKin from "./components/selectKin.vue";
|
|
@Component({ components: { ForTab, productModal, brandType } })
|
|
@Component({ components: { ForTab, productModal, brandType } })
|
|
export default class productManagement extends Vue {
|
|
export default class productManagement extends Vue {
|
|
tagsData : any = [] // 标签值
|
|
tagsData : any = [] // 标签值
|
|
@@ -176,7 +176,7 @@
|
|
singleTable : any = {
|
|
singleTable : any = {
|
|
attr: {
|
|
attr: {
|
|
size: 'mini',
|
|
size: 'mini',
|
|
- align: 'center',
|
|
|
|
|
|
+ align: 'left',
|
|
},
|
|
},
|
|
columns: [
|
|
columns: [
|
|
{
|
|
{
|
|
@@ -215,6 +215,10 @@
|
|
},
|
|
},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ width: '55px',
|
|
|
|
+ component: selectKin
|
|
|
|
+ },
|
|
{
|
|
{
|
|
width: '140px',
|
|
width: '140px',
|
|
title: '财务编号',
|
|
title: '财务编号',
|
|
@@ -266,13 +270,13 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '90px',
|
|
|
|
|
|
+ width: '70px',
|
|
title: '库存',
|
|
title: '库存',
|
|
field: 'stock',
|
|
field: 'stock',
|
|
slot: true,
|
|
slot: true,
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '110px',
|
|
|
|
|
|
+ width: '100px',
|
|
title: '保质期(天)',
|
|
title: '保质期(天)',
|
|
field: 'shelfLife',
|
|
field: 'shelfLife',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
@@ -285,7 +289,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '90px',
|
|
|
|
|
|
+ width: '80px',
|
|
title: '重量/kg',
|
|
title: '重量/kg',
|
|
field: 'weight',
|
|
field: 'weight',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
@@ -298,7 +302,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '90px',
|
|
|
|
|
|
+ width: '80px',
|
|
title: '长/cm',
|
|
title: '长/cm',
|
|
field: 'length',
|
|
field: 'length',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
@@ -311,7 +315,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '90px',
|
|
|
|
|
|
+ width: '80px',
|
|
title: '宽/cm',
|
|
title: '宽/cm',
|
|
field: 'width',
|
|
field: 'width',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
@@ -324,7 +328,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '90px',
|
|
|
|
|
|
+ width: '80px',
|
|
title: '高/cm',
|
|
title: '高/cm',
|
|
field: 'height',
|
|
field: 'height',
|
|
component: 'by-input',
|
|
component: 'by-input',
|
|
@@ -337,7 +341,7 @@
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- width: '90px',
|
|
|
|
|
|
+ width: '80px',
|
|
title: '体积/cm³',
|
|
title: '体积/cm³',
|
|
field: 'volume',
|
|
field: 'volume',
|
|
},
|
|
},
|
|
@@ -385,6 +389,10 @@
|
|
},
|
|
},
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ width: '55px',
|
|
|
|
+ component: selectKin
|
|
|
|
+ },
|
|
{
|
|
{
|
|
width: '140px',
|
|
width: '140px',
|
|
title: '财务编号',
|
|
title: '财务编号',
|