|
|
@@ -25,6 +25,14 @@
|
|
|
<i class="el-icon-success" style="color:green;font-size:18px;"></i>
|
|
|
</span>
|
|
|
</template>
|
|
|
+
|
|
|
+ <template #table-column-stock="{scope}">
|
|
|
+ <span v-if="scope.row.switchOrder==1">{{ scope.row.stock }}</span>
|
|
|
+ <span v-else>
|
|
|
+ <span v-if="Number(scope.row.stock)>Number(scope.row.itemNum)">{{ scope.row.stock }}</span>
|
|
|
+ <span v-else style="font-weight:bold;color:blue;font-size:20px;">{{ scope.row.stock }}</span>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
|
|
|
<template #table-column-printOrder="{scope}">
|
|
|
<span v-if="scope.row.printOrder==0" @click="printA4(scope.row)" style="cursor: pointer;">
|
|
|
@@ -276,6 +284,12 @@ export default {
|
|
|
align: 'center',
|
|
|
width: '100'
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'itemAmount',
|
|
|
+ label: '金额',
|
|
|
+ align: 'center',
|
|
|
+ width: '100'
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'itemNum',
|
|
|
label: '花材数',
|
|
|
@@ -283,8 +297,8 @@ export default {
|
|
|
width: '100'
|
|
|
},
|
|
|
{
|
|
|
- prop: 'itemAmount',
|
|
|
- label: '金额',
|
|
|
+ prop: 'stock',
|
|
|
+ label: '库存',
|
|
|
align: 'center',
|
|
|
width: '100'
|
|
|
},
|
|
|
@@ -298,7 +312,7 @@ export default {
|
|
|
prop: 'staffName',
|
|
|
label: '开单人',
|
|
|
align: 'center',
|
|
|
- width: '120'
|
|
|
+ width: '110'
|
|
|
},
|
|
|
{
|
|
|
prop: 'printOrder',
|
|
|
@@ -335,7 +349,7 @@ export default {
|
|
|
op: {
|
|
|
visible: true,
|
|
|
props: {
|
|
|
- width: 240,
|
|
|
+ width: 150,
|
|
|
align: 'center',
|
|
|
fixed: 'right',
|
|
|
label: '操作'
|