|
|
@ -106,6 +106,16 @@ |
|
|
|
> |
|
|
|
> |
|
|
|
取消登记 |
|
|
|
取消登记 |
|
|
|
</el-button> |
|
|
|
</el-button> |
|
|
|
|
|
|
|
<el-button |
|
|
|
|
|
|
|
type="primary" |
|
|
|
|
|
|
|
class="mr-10px" |
|
|
|
|
|
|
|
link |
|
|
|
|
|
|
|
style="padding: 0; margin-left: 0" |
|
|
|
|
|
|
|
v-hasPermi="['clue:order:add-product']" |
|
|
|
|
|
|
|
@click="handleAddProduct(scope.row)" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
添加产品 |
|
|
|
|
|
|
|
</el-button> |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
</el-table> |
|
|
@ -161,6 +171,7 @@ |
|
|
|
<script setup name="ClueOrderList"> |
|
|
|
<script setup name="ClueOrderList"> |
|
|
|
import { getSimpleFieldList } from '@/api/clue/orderField' |
|
|
|
import { getSimpleFieldList } from '@/api/clue/orderField' |
|
|
|
import * as SignApi from '@/api/clue/sign' |
|
|
|
import * as SignApi from '@/api/clue/sign' |
|
|
|
|
|
|
|
import { getSimpleProductList } from '@/api/mall/product' |
|
|
|
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user' |
|
|
|
import { getSimpleUserList as getUserOption, getAllUserList } from '@/api/system/user' |
|
|
|
|
|
|
|
|
|
|
|
import DialogFeeback from './DialogFeeback.vue' |
|
|
|
import DialogFeeback from './DialogFeeback.vue' |
|
|
@ -309,6 +320,11 @@ async function getOptions() { |
|
|
|
userOptions.value = await getUserOption() |
|
|
|
userOptions.value = await getUserOption() |
|
|
|
allUserOptions.value = await getAllUserList() |
|
|
|
allUserOptions.value = await getAllUserList() |
|
|
|
getCurdSchemas() |
|
|
|
getCurdSchemas() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 产品 |
|
|
|
|
|
|
|
getSimpleProductList().then((data) => { |
|
|
|
|
|
|
|
prodOptions.value = data |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const batchIds = ref([]) |
|
|
|
const batchIds = ref([]) |
|
|
@ -393,6 +409,12 @@ function summaryMethod({ columns }) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const expendRows = ref([]) |
|
|
|
const expendRows = ref([]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const addProductDialog = ref() |
|
|
|
|
|
|
|
const prodOptions = ref([]) |
|
|
|
|
|
|
|
function handleAddProduct(row) { |
|
|
|
|
|
|
|
addProductDialog.value.open(row.signId, prodOptions.value) |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped></style> |
|
|
|
<style lang="scss" scoped></style> |
|
|
|