| | |
| | | @click.stop="openOut(item)"> |
| | | 发货状态 |
| | | </u-button> |
| | | <!-- <u-button class="detail-button" |
| | | <u-button class="detail-button" |
| | | size="small" |
| | | type="primary" |
| | | @click.stop="handleInfo('edit', item)"> |
| | |
| | | </u-button> |
| | | <u-button class="detail-button" |
| | | size="small" |
| | | type="primary" |
| | | plain |
| | | @click.stop="openOut(item)"> |
| | | 发货状态 |
| | | </u-button> --> |
| | | <!-- <u-button class="detail-button" |
| | | size="small" |
| | | type="error" |
| | | plain |
| | | @click.stop="handleDelete(item)"> |
| | | 删除 |
| | | </u-button> --> |
| | | @click.stop="openDetail(item)"> |
| | | 详情 |
| | | </u-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <text>暂无销售台账数据</text> |
| | | </view> |
| | | <!-- 浮动操作按钮 --> |
| | | <!-- <view class="fab-button" |
| | | <view class="fab-button" |
| | | @click="handleInfo('add')"> |
| | | <up-icon name="plus" |
| | | size="24" |
| | | color="#ffffff"></up-icon> |
| | | </view> --> |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | }); |
| | | }; |
| | | |
| | | // 只读详情:view.vue 会按 id 重新拉一遍完整台账,列表行只作占位 |
| | | const openDetail = item => { |
| | | uni.setStorageSync("editData", JSON.stringify(item)); |
| | | uni.navigateTo({ |
| | | url: "/pages/sales/salesAccount/view", |
| | | }); |
| | | }; |
| | | |
| | | // 删除单条销售台账 |
| | | const handleDelete = async row => { |
| | | if (!row || !row.id) return; |