| | |
| | | <span v-else>{{ row.productName || '-' }}</span> |
| | | </template> |
| | | <template #needProduction="{ row }"> |
| | | <Select |
| | | v-if="!disabled" |
| | | v-model:value="row.needProduction" |
| | | :options="[ |
| | | { label: '是', value: 1 }, |
| | | { label: '否', value: 0 }, |
| | | ]" |
| | | class="w-full" |
| | | placeholder="请选择" |
| | | @change="handleRowChange(row)" |
| | | /> |
| | | <Tag v-else-if="row.needProduction === 1" color="success">是</Tag> |
| | | <!-- 销售端不再让业务员判断是否需要生产,统一按"需要生产"处理, |
| | | 由生产车间根据实际库存情况在生产环节自行判断/调整 --> |
| | | <Tag v-if="row.needProduction === 1" color="success">是</Tag> |
| | | <Tag v-else color="default">否</Tag> |
| | | </template> |
| | | <template #count="{ row }"> |